You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2007/04/19 09:44:18 UTC

[jira] Updated: (AXIS2-2075) WSDL2Java generated stub with XMLBeans loads wrong *ResponseDocumentImpl for the expected interface *ResponseDocument

     [ https://issues.apache.org/jira/browse/AXIS2-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi updated AXIS2-2075:
------------------------------------------------

    Priority: Major  (was: Blocker)

Thie error occures when load jars generated with 2 wsdls to same class loader. And this seems to be an xmlbeans problem rather than axis2 problem. Reduce the priority of the issue. (this is a rare issue as well)

> WSDL2Java generated stub with XMLBeans loads wrong *ResponseDocumentImpl for the expected interface *ResponseDocument
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2075
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2075
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.1.1
>         Environment: Windows XP Pro SP2, SUN SDK 1.5.0_10, ANT 1.7.0, AXIS 1.1.1, Intel Xeon HT 3.6 GHz, 2GB RAM
>            Reporter: Cristian Malinescu
>         Assigned To: Amila Chinthaka Suriarachchi
>         Attachments: account_SSP.wsdl, document_SSP.wsdl, SuiteRunner.java, XMPie-document-ws-client-src.jar
>
>
> See the title and the stack trace:
> 2007-02-01 11:50:16,426 DEBUG [org.apache.axiom.om.impl.builder.StAXOMBuilder] - <START_ELEMENT: {XMPieWSAPI}GetPropertyResult:GetPropertyResult>
> 2007-02-01 11:50:16,426 DEBUG [org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder] - <Build the OMElelment GetPropertyResultBy the StaxSOAPModelBuilder>
> 2007-02-01 11:50:16,457 ERROR [com.capitalC.Kenna.xTalker.services.XMPie.axis.DocumentFactory] - <java.lang.ClassCastException: com.capitalc.kenna.xtalker.xmpie.account.model.impl.GetPropertyResponseDocumentImpl incompatible with com.capitalc.kenna.xtalker.xmpie.document.model.GetPropertyResponseDocument
> 	at com.capitalc.kenna.xtalker.xmpie.document.model.GetPropertyResponseDocument$Factory.parse(GetPropertyResponseDocument.java:128)
> 	at com.capitalc.kenna.xtalker.xmpie.document.stubs.Document_SSPStub.fromOM(Document_SSPStub.java:5472)
> 	at com.capitalc.kenna.xtalker.xmpie.document.stubs.Document_SSPStub.GetProperty(Document_SSPStub.java:4013)
> 	at com.capitalC.Kenna.xTalker.services.XMPie.axis.DocumentFactory.getProperty(DocumentFactory.java:199)
> 	at com.capitalC.Kenna.xTalker.services.XMPie.axis.DocumentFactory.getPlanID(DocumentFactory.java:219)
> 	at com.capitalC.Kenna.xTalker.services.XMPie.SuiteRunner.document(SuiteRunner.java:55)
> 	at com.capitalC.Kenna.xTalker.services.XMPie.SuiteRunner.main(SuiteRunner.java:102)
> >
> 2007-02-01 11:50:16,457 ERROR [com.capitalC.Kenna.xTalker.services.XMPie.SuiteRunner] - <java.lang.NullPointerException
> 	at com.capitalC.Kenna.xTalker.services.XMPie.axis.DocumentFactory.getProperty(DocumentFactory.java:206)
> 	at com.capitalC.Kenna.xTalker.services.XMPie.axis.DocumentFactory.getPlanID(DocumentFactory.java:219)
> 	at com.capitalC.Kenna.xTalker.services.XMPie.SuiteRunner.document(SuiteRunner.java:55)
> 	at com.capitalC.Kenna.xTalker.services.XMPie.SuiteRunner.main(SuiteRunner.java:102)
> >

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org