[
https://issues.apache.org/jira/browse/AXIS2-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484894
]
Cristian Malinescu commented on AXIS2-2075:
-------------------------------------------
There is nothing wrong with the client-code. We need to generate the stubs from
multiple wsdl(generated from Micrososft .NET) files but the problem is that all
wsdl files contain the same namespace signature, so the Account.wsdl and
Document.wsdl both have the same defining namespace.
> 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
> Priority: Minor
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]