Questions tagged [soapexception]

45 questions
1
vote
2 answers

Throw timeout exception from SOAPException

I am trying to throw a timeout exception in the code below. I tried a simple condition but it's not the proper way. My question is how can I distinct the timeout exception from SOAPException? URL endpoint = new URL(null, urlStr, new…
pik4
  • 1,283
  • 3
  • 21
  • 56
1
vote
1 answer

How to capture soap error response for an Invalid data in request?

I am able to successfully log request and response for a valid soap request(class generated through wsimport) but couldn't capture the xml content when an exception is thrown(when a node in the request is filled with invalid data). I could get the…
1
vote
1 answer

'Cast object of type' error - resolved by IIS recycle

3rd party ASP.Net web site and web service installed. The code appears not to log errors to server log or custom error log. User receives the following critical untrapped error message: "System.Web.Services.Protocols.SoapException: Unable to cast…
Klaptrap
  • 311
  • 3
  • 19
1
vote
0 answers

SharePoint Designer 2013 -> REST Service Connection -> SoapException

Hy In SharePoint Designer 2013: I'm adding a REST Service Connection to a REST Service hosted in my Intranet, which has Basic Authentication. When I use this Data Connection as a DataList (for example on my SharePoint HomePage), i get the…
1
vote
1 answer

Cannot find SoapException error code in c#

I am trying to catch specific SoapExceptions but cannot find a error code to use. I have tried getting the error code using; catch(SoapException e) { // Get error code int ErrorCode =…
Bobby
  • 2,830
  • 3
  • 19
  • 36
1
vote
0 answers

Uncaught SoapFault exception: Server was unable to process request. ---> System.ApplicationException

Till yesterday my php code was working fine until today. I started to get this error. I did not change my code and having no idea how it happen. Fatal error: Uncaught SoapFault exception: [soap:Server] System.Web.Services.Protocols.SoapException:…
Zeeshan Ajmal
  • 880
  • 1
  • 16
  • 29
1
vote
2 answers

SoapException not caught in a ComVisible class

I am developing a ComVisible library in .NET which is then called in an old VB6 class. What I basically do in the class is calling a web service, parsing the response and returning an object with necessary data. The web service is designed so that…
Azimuth
  • 2,599
  • 4
  • 26
  • 33
1
vote
0 answers

How to retry a SOAP call using a WebService Extension (at the server, not client)

I have developed a SOAP service that accesses a finicky back-end across a WAN. I want to implement retry logic to save the consumer apps from implementing retry logic. Cleanest way to write retry logic? has some interesting ideas, but I would like…
jlo
  • 256
  • 1
  • 2
  • 11
1
vote
1 answer

How do I handle multiple SOAP Faults during php Soap Client request?

I am interested in making a soap call via php’s soapClient to a web service to get the water level from a monitoring station. I want to handle two soapfaults that have occured during the execution. The first fault is as follows : SoapFault…
Ishan Patel
  • 61
  • 1
  • 6
1
vote
2 answers

How to accept a SoapException on the client side

I was getting the dreaded "client found response content type of "text/html" but expected "test/xml" error, but after some googling I found this post about how to return a SoapException. So I went ahead and implemented that, but now I'm still…
ganders
  • 7,285
  • 17
  • 66
  • 114
0
votes
3 answers

How do I debug mangled soap requests?

Lately, we've been seeing exceptions like this in our .NET (.asmx) webservices: System.Web.Services.Protocols.SoapException: Server was unable to read request. ---> System.InvalidOperationException: There is an error in XML document (868, -3932).…
Bob King
  • 25,372
  • 6
  • 54
  • 66
0
votes
0 answers

How to extend SoapException

I am stuck trying to extend SoapException in order to add two additional string attributes. I have a Web-Service method that should throw CustomSoapException derived from SoapException and I want to catch that CustomSoapException in web service…
Tomato Guy
  • 33
  • 7
0
votes
2 answers

java.lang.NoClassDefFoundError: javax/xml/soap/SOAPException

My system got a Java update recently from jre 1.8_331 to jre 1.8_341 and from then on, I face troubles with my workspace. This is the exception I get when I try to run my application. SEVERE: java.lang.NoClassDefFoundError:…
0
votes
1 answer

SoapException In Web Service

I have a tab control. 1st tab has a grid, one of the columns is a checkbox. The user selects it and clicks "Next" under the tab, then goes to next tab. I'm using a web reference to get the values. When the page loads for first time, the reference…
kubilay
  • 5,047
  • 7
  • 48
  • 66
0
votes
1 answer

System.Web.Services.Protocols.SoapException: has not been properly Initialized

We are having the following setup: A custom DLL (VB.Net) has a web reference to a custom web service (ASP.Net, let's call it WebService0). This custom DLL is instantiated by custom .Net EXE program, which make use of the exposed functions in the…
Carlos
  • 11
  • 1