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
1 answer

Soap Call to http automatically tries to connect via https

When making a SOAP call to a http:// address it is automatically trying to connect via https:// I need to force SOAP to only connect via http:// is there a way to do this? I have ensured MultiViews is not enabled in Apache. I have even tried to do…
djfordz
  • 101
  • 2
0
votes
0 answers

SOAP Fault no namespace

I have several custom faults and one of them when received in response is as follows :
Kaliyug Antagonist
  • 3,512
  • 9
  • 51
  • 103
0
votes
1 answer

how to handle soap fault in wso2 out sequence

I can't transform a SoapFault to JSON in my out sequence, please help. This is the Soap response:
0
votes
0 answers

How to get SOAPHandler handleFault method to distinguish request and response

I am trying to use SOAPHandler to intercept the service call and I need to distinguish between request and response inside the handleFault method. The problem is that when either request or response is invalid and the handleFault method is called, I…
Dilini Rajapaksha
  • 2,610
  • 4
  • 30
  • 41
0
votes
3 answers

WCF with UPS RateWS Service FaultException.Detail always an empty array

I'm having a problem getting the soap 1.1 fault detail element using a .NET 4.5 WCF client for UPS RateWS service. The issue is that while the faultcode and faultstring elements are coming back fine as .Code and .Message properties on the exception.…
Brian Reiter
  • 1,339
  • 1
  • 10
  • 16
0
votes
0 answers

SOAP fault, deserialization failed

jonathonh
  • 153
  • 2
  • 16
0
votes
1 answer

Timeout error while using KSOAP2 in android

I have created a client server application in android and asp.net. I have done the web service access using ksoap2. The application works fine. But sometimes when I try to connect the server using the Ksoap2, then an error arises out. The error log…
njnjnj
  • 978
  • 4
  • 23
  • 58
0
votes
1 answer

Axis2 with MTOM: Unexpected end of stream while reading a SOAP fault

I'm trying to read a soap fault from an axis2 client, with mtom enabled. Axis2 version is 1.6.2, both for client and server. The wsdl part related to the fault: .....
Francesca Merighi
  • 317
  • 1
  • 3
  • 10
0
votes
2 answers

WCF Client Catching SoapException from asmx webservice

I have a WCF service that calls an asmx web service. That web service throws an enxception that looks like this: soap:Server
Gratzy
  • 9,164
  • 4
  • 30
  • 45
0
votes
0 answers

reasons of SoapFault exception: [Client] looks like we got no XML document

I have tried to find where is the problem over three days. Does any one knows the main reason of this error SoapFault exception: [Client] looks like we got no XML document Stack trace: [10:00:31] (10049) #0…
bee1t
  • 21
  • 1
  • 1
  • 5
0
votes
2 answers

How to get faultstring in SoapFault?

I am calling Soap API in android and i get the below error, SoapFault - faultcode: '2' faultstring: 'Access denied.' faultactor: 'null' detail: null at…
Jayesh
  • 3,661
  • 10
  • 46
  • 76
0
votes
1 answer

WCF SOAP Fault incorrect type

First of all, here is my setup: .Net 4.0 ASP.Net application WCF service, with basicHttpBinding (soap 1.1) The reference class was generated using svcutil, with the options /useSerializerForFaults; the WSDL defines all operations, and provides…
Borissov
  • 101
  • 1
  • 6
0
votes
1 answer

mblox soap api - php soap Payment Request not working

mblox soap api - php soap Payment Request not working and gives error. I use as below code in subscribe.php file... $client = new SoapClient("https://ngp.us.mblox.com/client-gateway/services?wsdl", array('trace' => 1, 'encoding' => 'UTF-8',…
Kiran
  • 1,176
  • 2
  • 14
  • 27
0
votes
0 answers

HTTP timeout when calling soap method

I have a .net web service and it is not accessible since a week ago from some countries, also the strange issue is that the clients in that country can send http calls to my site successfully, any issue?
ehsandotnet
  • 1,050
  • 3
  • 16
  • 26
0
votes
2 answers

WCF EntLib Validation - change default SOAP Fault Reason text

I'm using the Enterprise Library Validation Application Block for my WCF service. All is fine, and .Net consumers can catch the FaultException exception to get a collection of human-readable business errors. However, it doesn't look…
Graham Clark
  • 12,886
  • 8
  • 50
  • 82
1 2 3
9
10