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 "Stefan Lischke (JIRA)" <ji...@apache.org> on 2007/08/01 16:39:52 UTC

[jira] Commented: (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:comment-tabpanel#action_12516986 ] 

Stefan Lischke commented on AXIS2-2075:
---------------------------------------

that sounds like an issue i found while working on bug AXIS2-3036. If there are two xsd's or wsdl's with the same namespace like your "XMPieWSAPI" the Axis2EntityResolver.resolveEntity returns the first file if you want to have the second one. If an entity was not found by sourceURI, there is a lookup for namespace.

So i think Axis2 is not able to handle multiple xsd's or wsdl's with the same namespace at all. 

> 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
>            Assignee: 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