Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem with SOAP sender

Hi,

I'm trying to get a simple SOAP sender adaptor to work using PI 7.1 version. Interface is SOAP sender -> XI -> RFC; synchronous (Best Effort).

The scenario uses a simple one-value data type input. I've configured HTTP sender -> XI -> RFC with same design objects and that is working fine.

I have generated the WSDL for the SOAP sender and loaded it into Altova's XML Spy. I use XML Spy to generate the SOAP message (envelope and body) and I edit in the data value.

When validating the generated SOAP message in XML Spy, it complains: "Unable to locate a reference to a supported schema type (DTD, W3C Schema) within this document instance." However, the schema references look the same as in documentation I have consulted, so not sure why this is not valid.

When the SOAP message is sent, I get back a 500 error with a Java stack trace attached as CDATA. The stack trace shows the MessageServlet.doPost() call. It next shows $Proxy2675.process(Unknown Source). Some time later it shows a call to getQualityOfServiceAsString() throwing a NullPointerException.

Does anyone know what is causing this problem?

Most relevant documentation and posts that I have seen suggest to use XML Spy to test SOAP sender scenarios, but it seems the generated SOAP message might not be valid.

Could the problem be with the WSDL generated by XI? (I will post another scenario in a following thread where XI appears to generate invalid WSDL).

Thanks for any help with this.

Not what you were looking for? View more on this topic or Ask a question