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 "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org> on 2005/08/03 11:52:35 UTC

[jira] Commented: (AXIS2-116) element namespaces mistaken in the generated artifacts.

    [ http://issues.apache.org/jira/browse/AXIS2-116?page=comments#action_12317496 ] 

Ajith Harshana Ranabahu commented on AXIS2-116:
-----------------------------------------------

The problem seems to be with XMLBeans. I have to run a few tests to verify this but since the schema compilation is completely handled by XMLBeans, it seems to be in the XMLBeans side :(

> element namespaces mistaken in the generated artifacts.
> -------------------------------------------------------
>
>          Key: AXIS2-116
>          URL: http://issues.apache.org/jira/browse/AXIS2-116
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: databinding
>     Reporter: Jayachandra Sekhara Rao Sunkara
>     Assignee: Ajith Harshana Ranabahu
>  Attachments: Axis2Bug116.zip
>
> In the artifacts that wsdl2java generated out of the SimpleTest.wsdl (attached below inside the zip), a look at the EchoStringDocumentImpl.java shows that the element "echoString" is properly identified to be of the targetnamespace specified in the wsdl i..e "http://SimpleTest.org/xsd" but the element "inputString" that is contained inside this "echoString" element was inappropriately mapped to empty namespace "". This should also be mapped to the targetNamespace of the wsdl. Because of this, NPEs are arising while running an end to end testing of the stub based invocation.
> I'm attaching a zip of all the files that got generated and also am including inside a readme.txt that points to the exact problem I'm talking about.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira