[
https://issues.apache.org/jira/browse/AXIS2-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470228
]
Cristian Malinescu commented on AXIS2-2075:
-------------------------------------------
This is the ant macro used for generator
<macrodef name="Axis2.Gen"
description="Generates the artifact content(stubs, model etc.)">
<attribute name="artifact"/>
<attribute name="marker"/>
<sequential>
<echo>Artifact is @{artifact}</echo>
<echo>Marker is @{marker}</echo>
<mkdir
dir="tmp/@{marker}/src/java/generated/axis2/xtalker/xmpie/@{artifact}"/>
<Axis2.Wsdl2Java
wsdlFilename="src/xTalker/wsdl/xmpie/@{artifact}_SSP.wsdl"
output="tmp/@{marker}/src/java/generated/axis2/xtalker/xmpie/@{artifact}"
packageName="[EMAIL PROTECTED]"
namespaceToPackages="[EMAIL PROTECTED]"
databindingName="xmlbeans"
language="java"
unpackclasses="true"/>
</sequential>
</macrodef>
> 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: Blocker
> Attachments: 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]