• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Exception while invoking Web Service in WAS 5

 
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I have deployed a Web Service Application in WAS 5 and trying to invoke the Web Service.Iam getting the following Exception while trying to invoke the webservice from another application.

It works fine when Iam testing the Webservice using "Test with Web Service Explorer".

Any help on this is appreciated.

Thanks and Regards
Shiv

Following is the Stack Trace of the application.
--------------------------------------------------------------
[11/06/07 12:19:31:857 BST] 3fe8888e SystemErr R WebServicesFault
faultCode: Server.generalException
faultString: java.lang.VerifyError: (class: sax/SAX2DocumentEntityParserBase, method: resolveExternalEntity signature: (Lcom/ibm/xml/b2b/util/entity/EntityInputSource Z) Incompatible object argument for function call
faultActor: null
faultDetail:
stackTrace: WebServicesFault
faultCode: Server.generalException
faultString: java.lang.VerifyError: (class: sax/SAX2DocumentEntityParserBase, method: resolveExternalEntity signature: (Lcom/ibm/xml/b2b/util/entity/EntityInputSource Z) Incompatible object argument for function call
faultActor: null
faultDetail:

java.lang.VerifyError: (class: sax/SAX2DocumentEntityParserBase, method: resolveExternalEntity signature: (Lcom/ibm/xml/b2b/util/entity/EntityInputSource Z) Incompatible object argument for function call
at com.ibm.ws.webservices.engine.xmlsoap.builders.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:227)
at com.ibm.ws.webservices.engine.xmlsoap.builders.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:155)
at com.ibm.ws.webservices.engine.events.P2DConverter.endElement(P2DConverter.java:405)
at sax.SAX2DocumentEntityParserBase.endElementAction(Unknown Source)
at util.DocumentEntityParserBase.endElementEvent(Unknown Source)
at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanEndElement(Unknown Source)
at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanContent(Unknown Source)
at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanDocument(Unknown Source)
at sax.latin.LatinWFCSAX2DocumentEntityParser.scanDocument(Unknown Source)
at util.DocumentEntityParserBase.parse(Unknown Source)
at sax.SAX2DocumentEntityParserBase.parseEntity(Unknown Source)
at sax.SAX2DocumentEntityParserBase.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at com.ibm.ws.webservices.engine.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:256)
at com.ibm.ws.webservices.engine.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:698)
at com.ibm.ws.webservices.engine.Message.getSOAPEnvelope(Message.java:440)
at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:700)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:604)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:434)
at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:666)
at com.statestr.cda.ejb.facade.EntitlementServiceSoapBindingStub.getClientEntitlement(EntitlementServiceSoapBindingStub.java:209)
at com.str.entitlement.action.EntitlementAction.execute(EntitlementAction.java:65)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:431)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)


[11/06/07 12:19:31:857 BST] 3fe8888e SystemErr R java.lang.VerifyError: (class: sax/SAX2DocumentEntityParserBase, method: resolveExternalEntity signature: (Lcom/ibm/xml/b2b/util/entity/EntityInputSource Z) Incompatible object argument for function call
[11/06/07 12:19:31:857 BST] 3fe8888e SystemErr R at com.ibm.ws.webservices.engine.xmlsoap.builders.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:227)
[11/06/07 12:19:31:857 BST] 3fe8888e SystemErr R at com.ibm.ws.webservices.engine.xmlsoap.builders.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:155)
[11/06/07 12:19:31:857 BST] 3fe8888e SystemErr R at com.ibm.ws.webservices.engine.events.P2DConverter.endElement(P2DConverter.java:405)
[11/06/07 12:19:31:857 BST] 3fe8888e SystemErr R at sax.SAX2DocumentEntityParserBase.endElementAction(Unknown Source)
[11/06/07 12:19:31:889 BST] 3fe8888e SystemErr R at util.DocumentEntityParserBase.endElementEvent(Unknown Source)
[11/06/07 12:19:31:889 BST] 3fe8888e SystemErr R at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanEndElement(Unknown Source)
[11/06/07 12:19:31:889 BST] 3fe8888e SystemErr R at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanContent(Unknown Source)
[11/06/07 12:19:31:889 BST] 3fe8888e SystemErr R at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanDocument(Unknown Source)
[11/06/07 12:19:31:889 BST] 3fe8888e SystemErr R at sax.latin.LatinWFCSAX2DocumentEntityParser.scanDocument(Unknown Source)
[11/06/07 12:19:31:889 BST] 3fe8888e SystemErr R at util.DocumentEntityParserBase.parse(Unknown Source)
[11/06/07 12:19:31:889 BST] 3fe8888e SystemErr R at sax.SAX2DocumentEntityParserBase.parseEntity(Unknown Source)
[11/06/07 12:19:31:889 BST] 3fe8888e SystemErr R at sax.SAX2DocumentEntityParserBase.parse(Unknown Source)
[11/06/07 12:19:31:889 BST] 3fe8888e SystemErr R at javax.xml.parsers.SAXParser.parse(Unknown Source)
[11/06/07 12:19:31:889 BST] 3fe8888e SystemErr R at com.ibm.ws.webservices.engine.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:256)
[11/06/07 12:19:31:889 BST] 3fe8888e SystemErr R at com.ibm.ws.webservices.engine.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:698)
[11/06/07 12:19:31:889 BST] 3fe8888e SystemErr R at com.ibm.ws.webservices.engine.Message.getSOAPEnvelope(Message.java:440)
[11/06/07 12:19:31:889 BST] 3fe8888e SystemErr R at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:700)
[11/06/07 12:19:31:889 BST] 3fe8888e SystemErr R at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:604)
[11/06/07 12:19:31:889 BST] 3fe8888e SystemErr R at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:434)
[11/06/07 12:19:31:889 BST] 3fe8888e SystemErr R at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:666)
[11/06/07 12:19:31:889 BST] 3fe8888e SystemErr R at com.statestr.cda.ejb.facade.EntitlementServiceSoapBindingStub.getClientEntitlement(EntitlementServiceSoapBindingStub.java:209)
[11/06/07 12:19:31:889 BST] 3fe8888e SystemErr R at com.str.entitlement.action.EntitlementAction.execute(EntitlementAction.java:65)
[11/06/07 12:19:31:889 BST] 3fe8888e SystemErr R at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
[11/06/07 12:19:31:889 BST] 3fe8888e SystemErr R at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:431)
[11/06/07 12:19:31:904 BST] 3fe8888e SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)


---------------------------------------------------------------
 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Shiv

Looking at the stack trace faultstring it seems like that the method invocation across the 2 applications is giving problems.
check the argument type on both the sides and have you done proper conversion for arguments for methods in your Facade/Delegate class.
I guess that may be the problem.

Regards
Vikeng
 
ShivPrakash Srivastava
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Vikram

Thanks for your quick response.

I think the argument type is not a problem.Iam passing Strings as input parameter and getting the output as an array of the VO Object(which generally has getter and setter methods.).Moreover is works fine with the "Test with WebService Explorer".I wonder if its related to any jar file missing on the application server but no idea abt which jar file.

Thanks and Regards
Shiv
 
Why am I so drawn to cherry pie? I can't seem to stop. Save me tiny ad!
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic