Skip to content

SOAP Exception #13

@hemawst

Description

@hemawst

Hi, i use your very good project in my source. I call a soap services, the response give me an error.
The exception is "The remote server returned an error: (500) ."
SOAPUI show we, that is a soap fault:

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Body>
      <S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope">
         <faultcode>S:Server</faultcode>
         <faultstring>No open Order</faultstring>
         <detail>
            <Result:Result xmlns:Result="http://example.com/AkkordlohnWS" xmlns="http://example.com/AkkordlohnWS">
               <messageCode xmlns:ns7="http://example.com/AkkordlohnWS" xmlns="">-12</messageCode>
               <messageType xmlns:ns7="http://example.com/AkkordlohnWS" xmlns="">Error</messageType>
               <messageText xmlns:ns7="http://example.com/AkkordlohnWS" xmlns="">No open Order</messageText>
               <messageSource xmlns:ns7="http://example.com/AkkordlohnWS" xmlns="">Application</messageSource>
               <MessageDetails xmlns:ns7="http://example.com/AkkordlohnWS" xmlns="">
                  <Message>
                     <messageCode>-12</messageCode>
                     <messageType>Error</messageType>
                     <messageText>Identifiers: BundleopBarcode=</messageText>
                     <messageSource>Application</messageSource>
                  </Message>
                  <Message>
                     <messageCode>tlbctstgen</messageCode>
                     <messageType>Information</messageType>
                     <messageText>Error occurred in Method 'registerAkkordlohn' on component 'AkkordlohnWS' of Object 'amweb200 AkkordlohnWS'.</messageText>
                     <messageSource>Protected Layer</messageSource>
                  </Message>
               </MessageDetails>
            </Result:Result>
         </detail>
      </S:Fault>
   </S:Body>
</S:Envelope> 

But in my application i can only get the error code "The remote server returned an error: (500) ."
Is there a way to evaluate the soap fault in my application?

For a quick reply, I thank you in advance.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions