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 "Cristian Malinescu (JIRA)" <ji...@apache.org> on 2007/02/01 18:13:05 UTC

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

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
            Priority: Blocker


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


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

Posted by "Cristian Malinescu (JIRA)" <ji...@apache.org>.
    [ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


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

Posted by "Cristian Malinescu (JIRA)" <ji...@apache.org>.
    [ 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="${package.prefix}.@{artifact}.stubs"
                         namespaceToPackages="XMPieWSAPI=${package.prefix}.@{artifact}.model"
                         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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


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

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469668 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-2075:
-----------------------------------------------------

Can you please attach your wsdl (skelton and test class) and tell us the parameters you used to generate the code. further can you describe the steps you did to produce this bug?

> 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
>            Priority: Blocker
>
> 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


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

Posted by "Stefan Lischke (JIRA)" <ji...@apache.org>.
    [ 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


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

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Priority: Minor  (was: Blocker)

reduce the priorty of the issue since it seems to be an user problem

> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


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

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489078 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-2075:
-----------------------------------------------------

Can you explain the exact steps you followed?

Are you generating the code for two different locations and load all the classes to the same class loader in the client side? Does it work properly if you use the code which is generated by only one wsdl?




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


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

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484745 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-2075:
-----------------------------------------------------

hi,
Sorry for late reply.
In your stack race you have this line
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 

I think you have generate to code for two wsdls to the same place. here GetPropertyResponseDocument in 
*document* package try to access the GetPropertyResponseDocumentImpl in *account* package. I am not clear how this has happed. 

So this should not definitely be a blocker(even this may not be an axis issue). Please try to access the service by generating the code only for one wsdl.

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


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

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi reassigned AXIS2-2075:
---------------------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

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


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

Posted by "Cristian Malinescu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cristian Malinescu updated AXIS2-2075:
--------------------------------------

    Priority: Blocker  (was: Minor)

this is classpath issue because of the same namespace into multiple wsdl files. the generated stubs must be visible in the same classloader so has nothing to do with the filesystem location property of the generator.

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


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

Posted by "PRABAHARAN (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

PRABAHARAN updated AXIS2-2075:
------------------------------

    Comment: was deleted

(was: Hi,
I am having 2 wsdl files with the same web method name and having the same namespace.I am using Axis 1.4.1.Any solution for this issue?)

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


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

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Ajish Cherian (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719028#action_12719028 ] 

Deepal Jayasinghe commented on AXIS2-2075:
------------------------------------------

Amila,

Are we there yet?

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


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

Posted by "PRABAHARAN (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12789363#action_12789363 ] 

PRABAHARAN commented on AXIS2-2075:
-----------------------------------

Hi,
I am having 2 wsdl files with the same web method name and having the same namespace.I am using Axis 1.4.1.Any solution for this issue?

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


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

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12483411 ] 

Deepal Jayasinghe commented on AXIS2-2075:
------------------------------------------

Amila , can we reduce the priority of this issue ?

Thanks
Deepal

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