Exception: Soap HTTP fails wM 6.5

Hi All,

I am getting following error while trying to call a wM web service from wM web service connector.

 <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="[URL="http://schemas.xmlsoap.org/soap/envelope/"]http://schemas.xmlsoap.org/soap/envelope/[/URL]" xmlns:xsi="[URL="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/URL]" xmlns:xsd="[URL="http://www.w3.org/2001/XMLSchema"]http://www.w3.org/2001/XMLSchema[/URL]">
  <SOAP-ENV:Body>
   <SOAP-ENV:Fault>
    <faultcode>SOAP\-ENV:Client</faultcode>
    <faultstring>[ISS.0088.9112] An Exception was thrown in the server</faultstring>
    <faultactor>http://<server name>:<port>/soap</faultactor>
    <detail xmlns:webM="[URL="http://www.webMethods.com/2001/10/soap/encoding"]http://www.webMethods.com/2001/10/soap/encoding[/URL]">
        <webM:exception>
            <webM:className>java.lang.NoSuchMethodError</webM:className>
            <webM:message xml:lang="">javax.xml.soap.SOAPMessage.getSOAPBody()Ljavax/xml/soap/SOAPBody;</webM:message>
            <webM:stackTrace xml:lang="">java.lang.NoSuchMethodError: javax.xml.soap.SOAPMessage.getSOAPBody()Ljavax/xml/soap/SOAPBody; at com.webmethods.fabric.integration.is.SnetHTTPSOAPHandler.getServicenetHandler(SnetHTTPSOAPHandler.java:964) at com.webmethods.fabric.integration.is.SnetHTTPSOAPHandler.handleSOAPRequest(SnetHTTPSOAPHandler.java:806) at com.webmethods.fabric.integration.is.SnetHTTPSOAPHandler._process(SnetHTTPSOAPHandler.java:404) at com.webmethods.fabric.integration.is.SnetHTTPSOAPHandler.process(SnetHTTPSOAPHandler.java:209) at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:298) at com.wm.util.pool.PooledThread.run(PooledThread.java:105) at java.lang.Thread.run(Thread.java:534)</webM:stackTrace>
        </webM:exception>
    </detail>
   </SOAP-ENV:Fault>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Timely help will be appreciated
Thanks in advance
Regards
nshvr

Looks like you are using ServiceNet 6.5, right? Can you provide a bit more information on how you exposed your IS Flow service as a web service? What SOAP client are you attempting to use to consume the web service operation? What role is SN playing?

Mark

Mark,

Thanks for the prompt reply.
We are using servicenet 6.5. We have created a flow service and registered it in Servicenet 6.5. We then created a client using web services connector ( using servicenet web service option). When the client was run we got the error.

The same error was got when we simulated webservices without the use of servicenet.

Thanks and regards

When you created your Flow service did you populate the Universal Name properties (localName and namespaceName)? When you “registered” your service with SN, did you specify soap-rpc or soap-msg?

Mark

Mark,
We have populated the namespace and localname fields. While registering in SN we have selected soap rpc

I’m afraid I can’t provide additional help since I don’t have SN 6.5 and the related SP’s for IS 6.5 installed any longer. Suggest opening an SR with WM Support on this.

Mark

Hi Mark,

we have found a solution for the error.

We need to place saaj-api.jar at

wM_Installation_directory/IntegrationServer/lib/jars folder

Thanks for the support extended.

Have a nice day

regards,
nshvr