Questions tagged [soapfault]

The SOAP Fault element is defined as part of the W3C SOAP specification. The SOAP Fault element is used to carry error information within a SOAP message.

The SOAP Fault element defines the following four subelements:

faultcode
The faultcode element is intended for use by software to provide an algorithmic mechanism for identifying the fault. The faultcode MUST be present in a SOAP Fault element and the faultcode value MUST be a qualified name.

faultstring
The faultstring element is intended to provide a human readable explanation of the fault and is not intended for algorithmic processing. The faultstring element is similar to the 'Reason-Phrase' defined by HTTP. It MUST be present in a SOAP Fault element and SHOULD provide at least some information explaining the nature of the fault.

faultactor
The faultactor element is intended to provide information about who caused the fault to happen within the message path. It is similar to the SOAP actor attribute but instead it indicates the source of the fault. The value of the faultactor attribute is a URI identifying the source.

detail
The detail element is intended for carrying application specific error information related to the Body element. It MUST be present if the contents of the Body element could not be successfully processed.

Refer to the W3C Simple Object Access Protocol (SOAP) specification (Section 4.4) for additional information: http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383507

139 questions
0
votes
0 answers

How the ServerSOAPFaultException has to be handled? how it is different from handling SOAPFaultException?

While consuming the 3rd party WebServices I am able to handle the SOAPFaultException for example to handle sessiontimeout But Sometimes the same webservices are resulting ServerSOAPFaultException. Can someone explain me how it is different from…
Sagar Pudi
  • 4,634
  • 3
  • 32
  • 51
0
votes
0 answers

Soap Client decorator doesn't throw SoapFault

I hope this is an easy one. I have a Client class that extends \SoapClient (I use a custom Client because I want to log every soap call):
Mauro
  • 189
  • 2
  • 14
0
votes
1 answer

SOAP Fault ; unable to handle

I've got error: Unable to handle request without a valid action parameter. I want to just login by SOAP server. My wsdl is here: https://demo.krd.pl/Siddin/2.1/Import.asmx?WSDL and my code is like: $client = new…
rafaluf
  • 19
  • 1
  • 3
0
votes
2 answers

Akamai CCU SOAP API in soapUI

Has anyone been able to successfully use the Akamai CCU SOAP API? I'm trying to use it with soapUI with the following (Java) WSDL: https://ccuapi.akamai.com/ccuapi-axis.wsdl. When I run the sample request in soapUI with proper login credentials,…
pthesis
  • 336
  • 3
  • 16
0
votes
0 answers

Is it possible/valid to qualify a node's value with a namespace?

I've just come across this soap fault example, and I'm curious about the presence of the namespace in the value part, in an apparent attempt to reinforce the idea that the value present there corresponds to a certain namespace/domain.
drakorg
  • 404
  • 4
  • 14
0
votes
0 answers

Soap error parsing wsdl couldn't load from entity Not working in PHP7

My Project Migrated from PHP 5.6 to PHP7 Soap Working fine up to PHP 5.6, when we migrated to PHP7 suddenly we are getting Error Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from…
user2959644
  • 29
  • 1
  • 3
0
votes
1 answer

SOAP Fault when Using DocuSign API with Salesforce for Creating Envelope with Templates

I am using Salesforce with DocuSign to try and create an envelope via templates. DocuSignAPI.EnvelopeTemplates templates = soapService.requestTemplates(accountId, false); String templateId =…
C Stock
  • 1
  • 4
0
votes
1 answer

Throw SOAP Fault not mentioned in WSDL

I am using contract first approach to publish a web service using JAX-WS. There are no SOAP fault in the WSDL, but the existing web service throws fault exceptions appropriately. I am unable to throw similar fault exception as the service method I…
0
votes
1 answer

CXF webservice : interceptor not triggered

We currently have a problem with CXF 2.7.3 on Jboss EAP 6.2 with a custom SoapFault exception. The Subcode and its value is not displayed when we send a custom SoapFault: Here is what we want from cxf:
Sid
  • 331
  • 2
  • 10
0
votes
2 answers

How to handle SoapClient Fault In PHP

I am calling a third party web service to get the user detail by the supplied credential. Below is my Soap Client Request. $client = new \SoapClient($url, array("exception" => 0)); $auth = '
MANOJ
  • 177
  • 5
  • 14
0
votes
2 answers

Internal Server Error in CreateItem operation of EWS

I'm using CreateItem Operation to save message in the Draft folder using EWS with gSOAP toolkit, but when i run the code I've response XML as follows:
Tushar Soni
  • 115
  • 1
  • 12
0
votes
2 answers

gSoap EWS "Error Schema Validation"

I have some problems with ews(gSoap) for GetServerTimeZones operation. my client code is: //request ews__GetServerTimeZonesType *zoneReq = new ews__GetServerTimeZonesType(); zoneReq->Ids = new…
Tushar Soni
  • 115
  • 1
  • 12
0
votes
2 answers

Adding soap faults without changing WSDL file?

I would like to add some SOAP Faults to my JAX-WS web service, but I would like not to change content of WSDL schema. As far as I read I would have to use annotation @WebFault to define SOAP Fault and it automatically causes changes in WSDL during…
ctomek
  • 1,696
  • 16
  • 35
0
votes
1 answer

WCF Soap Faults: How to get Fault code on cilent

I am just wondering if I can have an example of handling a Soap Fault on the cilent side and mainly how I can capture the Fault code? This is what I have for my fault in the WCF side Throw New FaultException(Of String)("Value to large", New…
user3428422
  • 4,300
  • 12
  • 55
  • 119
0
votes
0 answers

SoapFault Exception When Calling NAV Webservice

How may I get rid of the following error : javax.xml.ws.soap.SOAPFaultException: The Element is expected by Min Occurs value: Once. Element received: . The method call I make is…