[ 
https://issues.apache.org/jira/browse/AXIS2-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804391#action_12804391
 ] 

Ajish Cherian commented on AXIS2-2075:
--------------------------------------

I am facing the same issue in my project where the wrong response document impl 
is being loaded for the response document. 
I need to know whether there is any work around for this issue other than 
changing the namespace or the method name of the hosted services. 
am stuck uo with this appreciate if you could help me out.


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

Reply via email to