File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Incompatible object argument for function call Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Incompatible object argument for function call" Watch "Incompatible object argument for function call" New topic
Author

Incompatible object argument for function call

ShivPrakash Srivastava
Ranch Hand

Joined: Mar 24, 2005
Posts: 88
Hi,

I have deployed WebService on WAS 5 and trying to access them from another application and getting the exception for "Incompatible object argument for function call".I have no idea abt this issue.The WebService deployed is up and running and I can view the default page by entering the Webservice url.Any help to resolve this issue is appreciated.

Thanks and Regards
Shiv

Following is the stack trace of the exception
-------------------------------------------------------------------------------
[12/06/07 12:01:35:725 BST] 53fd6d58 SystemErr R WebServicesFault
faultCode: Server.generalException
faultString: java.lang.VerifyError: (class: sax/SAX2DocumentEntityParserBase, method: resolveExternalEntity signature: (Lcom/ibm/xml/b2b/util/entity/EntityInputSourceZ) 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/EntityInputSourceZ) Incompatible object argument for function call
faultActor: null
faultDetail:

java.lang.VerifyError: (class: sax/SAX2DocumentEntityParserBase, method: resolveExternalEntity signature: (Lcom/ibm/xml/b2b/util/entity/EntityInputSourceZ) 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)


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

-------------------------------------------------------------------------------
ShivPrakash Srivastava
Ranch Hand

Joined: Mar 24, 2005
Posts: 88
Hi All,
Iam still struggling with this issue.If anyone know what causes this exception to be thrown pls reply.

Thanks in advance.

Regards
Shiv
 
 
subject: Incompatible object argument for function call
 
Similar Threads
WSDL - how to connect to webservice
NoSuchAlgorithmException
Incompatible object argument for method call
Exception while invoking Web Service in WAS 5
login error using WSAD5.1 & Oracle