I got a WSDL URL from source team. I consumed it, invoked it by passing data from my Test Server. When I passed some fields empty got error message saying fields are empty. After this I have passed all the fields needed to webService resulted to below error message. I didn’t change any thing as part of WSDL URL. I have tested URl by soap by passing same data which I had given to webServie from webMethods which is proper response. Kindly help to get rid of it.
<webM:flow>Test.test1_.connectors:EMCCertificateResult_SendCertificateResult</webM:flow>
</webM:serviceStackTrace>
<webM:exception>
<webM:className>java.lang.NullPointerException</webM:className>
<webM:message xml:lang=""></webM:message>
<webM:stackTrace xml:lang="">java.lang.NullPointerException
at javax.xml.soap.SOAPException.<init>(SOAPException.java:92)
at com.wm.app.b2b.server.saaj.MessageFactory.createMessage(MessageFactory.java:81)
at wm.server.ws.getJAXRPCHandler(ws.java:5805)
at wm.server.ws.wsHTTP(ws.java:4275)
at pub.clientimpl.soapClient(clientimpl.java:1978)
at sun.reflect.GeneratedMethodAccessor326.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:443)
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:643)
:171)
at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:276)
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30)
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:363)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:547)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:386)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:234)
at com.wm.app.b2b.server.comm.DefaultServerRequestHandler.handleMessage(DefaultServerRequestHandler.java:119)
at com.wm.app.b2b.server.HTTPMessageHandler.process(HTTPMessageHandler.java:160)
at com.wm.app.b2b.server.HTTPDispatch.handleRequest(HTTPDispatch.java:186)
at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:366)
at com.wm.util.pool.PooledThread.run(PooledThread.java:131)
at java.lang.Thread.run(Thread.java:662)
I copied the webService into my local Tomcat Server. From my local webMethods server I am able to send the data to webService which is sending me response but the same WebService is giving below error:
<webM:flow>webServiceMethods</webM:flow>
</webM:serviceStackTrace>
<webM:exception>
<webM:className>java.lang.NullPointerException</webM:className>
<webM:message xml:lang=""></webM:message>
<webM:stackTrace xml:lang="">java.lang.NullPointerException
at javax.xml.soap.SOAPException.<init>(SOAPException.java:92)
at com.wm.app.b2b.server.saaj.MessageFactory.createMessage(MessageFactory.java:81)
at wm.server.ws.getJAXRPCHandler(ws.java:5805)
at wm.server.ws.wsHTTP(ws.java:4275)
at pub.clientimpl.soapClient(clientimpl.java:1978)
at sun.reflect.GeneratedMethodAccessor326.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:443)
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:643)
at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:41)
at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:243)
at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:51)
at com.wm.app.b2b.server.invoke.PipelineProcessor.process(PipelineProcessor.java:171)
at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:276)
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30)
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:363)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:547)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:386)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:234)
at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:194)
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:324)
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:584)
at com.wm.lang.flow.FlowState.step(FlowState.java:444)
at com.wm.lang.flow.FlowState.invoke(FlowState.java:409)
at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1063)
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:643)
at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:41)
at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:243)
at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:51)
at com.wm.app.b2b.server.invoke.PipelineProcessor.process(PipelineProcessor.java:171)
at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:276)
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30)
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:363)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:547)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:386)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:234)
at com.wm.app.b2b.server.comm.DefaultServerRequestHandler.handleMessage(DefaultServerRequestHandler.java:119)
at com.wm.app.b2b.server.HTTPMessageHandler.process(HTTPMessageHandler.java:160)
at com.wm.app.b2b.server.HTTPDispatch.handleRequest(HTTPDispatch.java:186)
at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:366)
at com.wm.util.pool.PooledThread.run(PooledThread.java:131)
at java.lang.Thread.run(Thread.java:662)
can you provide the error mesages from the error log as well as a snippet from the WSDL related to these error messages?
This might have to with how the fields are declared in the WSDL.
Can you test the WSDL with SoapUi? Thsi will give you a prepared request with dummy content and some comments about cardinality of certain fields/lists.
I don’t have access to Unix box to provide you logs. I don’t have any clue to get it as no one knows who is maintaining it. If I get a chance I will provide you. The error messages which have listed earlier are found in IS when I ran the connector webService. When I tested the URL from Soap it is giving proper response. Also I got the same (correct) response in local webMethods. But when I connected to SIT and ran the connector I am getting these errors. More over webService I have in my local. I don’t think there is an access issue from Test server to my local as same webService throwing error when I didn’t pass some of the input parameters to it saying parameter is mandatory.
Hi All,
Additionally I can see below info in server logs:
Exception → [ISS.0088.9431] Handler processing failed on the consumer: {0}
[ISC.0088.0001E] SOAPException: [ISS.0088.9431] Handler processing failed on the consumer: {0}
[ISC.0088.0001E] SOAPException: [ISS.0088.9155] this SOAPMessage does not contain a valid Envelope object
@Holger: If it is not a valid message then from soap tool why i am getting correct response and also from local wM too I am getting proper response. Issue is facing in Test wM.
@Rankesh: Will set the settings provided by you, will test and let you know the results.
Are you sure that the messages from SoapUI is the same as the orignal one?
SoapUI generates a valid request (including a SOAP-Envelope and a SOAP-Body) when you allow it to generate a sample request (fields are filled with a question mark).
This request should lead to validation errors (depends on the declarations in the WSDL).
From the error message you have provided I can see that the SOAP-Envelope seems to be missing.
Can you provide us a sample message which is causing this issue to occur?
This might help us to assist in a more convenient way.
I have observed one more thing: I created a addInt flow service in my local webMethods, created provider of it. I created a consumer in my Test wM server and when I try to hit, it is throwing same error which I stated earlier. I kept savePipeline service as part of addInt flow service and didn’t see any inputs from consumerTest service. It means request itself not going from Test Server to others in terms of webServices. Any thoughts around this.
Exception → [ISS.0088.9431] Handler processing failed on the consumer: {0}
[ISC.0088.0001E] SOAPException: [ISS.0088.9431] Handler processing failed on the consumer: {0}
[ISC.0088.0001E] SOAPException: [ISS.0088.9155] this SOAPMessage does not contain a valid Envelope object
<webM:flow>Abc.Tests.toXyz_.connectors:TestResult_SendTestResult</webM:flow>
</webM:serviceStackTrace>
<webM:exception>
<webM:className>java.lang.NullPointerException</webM:className>
<webM:message xml:lang=""></webM:message>
<webM:stackTrace xml:lang="">java.lang.NullPointerException
at javax.xml.soap.SOAPException.<init>(SOAPException.java:92)
at com.wm.app.b2b.server.saaj.MessageFactory.createMessage(MessageFactory.java:81)
at wm.server.ws.getJAXRPCHandler(ws.java:5805)
at wm.server.ws.wsHTTP(ws.java:4275)
at pub.clientimpl.soapClient(clientimpl.java:1978)
at sun.reflect.GeneratedMethodAccessor280.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:443)
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:643)
at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:41)
at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:243)
at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:51)
at com.wm.app.b2b.server.invoke.PipelineProcessor.process(PipelineProcessor.java:171)
at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:276)
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30)
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:363)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:547)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:386)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:234)
at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:194)
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:324)
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:584)
at com.wm.lang.flow.FlowState.step(FlowState.java:444)
at com.wm.lang.flow.FlowState.invoke(FlowState.java:409)
at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1063)
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:643)
at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:41)
at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:243)
at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:51)
at com.wm.app.b2b.server.invoke.PipelineProcessor.process(PipelineProcessor.java:171)
at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:276)
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30)
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:363)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:547)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:386)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:234)
at com.wm.app.b2b.server.comm.DefaultServerRequestHandler.handleMessage(DefaultServerRequestHandler.java:119)
at com.wm.app.b2b.server.HTTPMessageHandler.process(HTTPMessageHandler.java:160)
at com.wm.app.b2b.server.HTTPDispatch.handleRequest(HTTPDispatch.java:186)
at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:366)
at com.wm.util.pool.PooledThread.run(PooledThread.java:131)
at java.lang.Thread.run(Thread.java:662)