Quantcast
Channel: SCN: Message List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 7329

Re: Issue related to webservice

$
0
0

Hi Bruce,

 

I am able to overcome the first list issue by using XmlSerializerFormat.Now the service attribute of my  webservice is as below.

 

[XmlSerializerFormat]

[ServiceBehavior]

[ServiceContract(Name="n_customnonvisual",Namespace="http://tempurl.org")]

 

Now i am able to use datetime and integer parameter as input parameter.

 

But now new issue is coming , while checking this webservice in sopa UI , after passing the parameter

it is showing the error

 

s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">

   <s:Body>

      <s:Fault>

         <faultcode xmlns:a="http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher">a:InternalServiceFault</faultcode>

         <faultstring xml:lang="en-US">The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the &lt;serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.</faultstring>

      </s:Fault>

   </s:Body>

</s:Envelope>

 

I have changed the IncludeExceptionDetailInFaults value to true.But still also got the error. Please help.From last 4 days i am stuck here

 

Otherwise if you have some solid example /video how to create a webservice using pb.net which is returing more than 1 row , please send me on the below id.So that i can go through and try to resolve the issue.

 

Thanks for your help!!!

 

Regards

Subrat


Viewing all articles
Browse latest Browse all 7329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>