Unable to call 'pub.soap.processor:processMessage'

Hi,

I am facing an issue with soapMessageProcessor.

We are on IS7.1.1 with IS_7-1-1_Core_Fix1 and IS_7-1-1_SrvPrtcl_Fix1
and soapProcessor is:custom soap Processor which inturn invokes pub.soap.processor:processMessage, style=doc-literal

Issue:
1)If the request message has all elements without ‘namespace prefix’ I am getting NullPointer exception.

Example: ABCDE

If the request message has all elements with ‘namespace prefix’ then it works fine.

Example: ns:contactNameABCDE</ns:contactName>

  1. I am getting this error in only one environment, remaining environments [those are identical to the current environment] works fine.

What I did:

1)From soapUI-- used the request without prefix and got the below error.

<SOAP-ENV:Envelope xmlns:SOAP-ENV=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=“http://www.w3.org/2001/XMLSchema”>
SOAP-ENV:Body
SOAP-ENV:Fault
SOAP-ENV:Server
[ISS.0088.9112] An Exception was thrown in the server
http://localhost:5555/soap/msg

webM:exception
webM:classNamecom.wm.app.b2b.server.ServiceException</webM:className>
<webM:message xml:lang="">java.lang.NullPointerException</webM:message>
</webM:exception>

</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

  1. From webMethods Developer - -

a) directly called the webservice and it worked( as the request didn’t go through the soapProcessor, it worked).

b) called the ‘pub.soap.processor:processMessage’, and got NullPointerException.

Did anybody see this kind of error Or am I missing anything?

Thanks,
Yarkar

ABCDE is not the same variable as ns:contactNameABCDE</ns:contactName>. Thus a reference to ns:contactName in your service when you only pass in contactName will give you a null reference.

What is the error that is recorded in the server log? That will indicate exactly which service encountered the null pointer.

Hi,
thanks for the response. We are facing this in only one environment, in other envrionments it looks fine.
Below are the err and server log details

Error Log:
pub.soap.processor:processMessage com.wm.app.b2b.server.ServiceException: java.lang.NullPointerException
wm.server.soap:envelope java.lang.NullPointerException
ServerLog:
[ISC.0088.0001E] SOAPException: [ISS.0088.9112] An Exception was thrown in the server

Thanks,
Yarkar

Sounds like it’s time for a service request to wM tech support.