cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice action block response

former_member209133
Participant
0 Kudos

Hello,

I would require help to understand the behavior of webservice action block of SAP MII workbench.

There is an webservice/wsdl when I execute through directly from SOAP UI, I get the below detailed response when there is an error

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema">

                     <SOAP-ENV:Body>

                        <SOAP-ENV:Fault>

                           <faultcode>SOAP-ENV:Server</faultcode>

                           <faultstring>Workplace does not exist.</faultstring>

                           <detail>

                              <WorkPackageLoadFault xmlns="http://abc.com/sfcpom/me">

                                 <Message>Workplace does not exist.</Message>

                              </WorkPackageLoadFault>

                           </detail>

                        </SOAP-ENV:Fault>

                     </SOAP-ENV:Body>

                  </SOAP-ENV:Envelope>

Where as if I use webservice action block in SAP MII transaction, in case of error I get value only in lastErrorMessage field i.e. "Workplace does not exist." whereas I want complete XML structure of fault as it contains other information to as higlighted above.

Please provide your feedback.

Regards,

Kshitiz

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member209133
Participant
0 Kudos

Hello,

It seems webservice action block suppress the response and doesn't include <detail> part.

Please help, let me know if there is any settings to get a full soap fault response.

Best Regards,

Kshitiz