Namespace handling is not commutative
-------------------------------------

                 Key: XFIRE-800
                 URL: http://jira.codehaus.org/browse/XFIRE-800
             Project: XFire
          Issue Type: Bug
    Affects Versions: 1.2.3
            Reporter: Terry
         Assigned To: Dan Diephouse


The algorithm used to generate a package name from a namespace is different to 
that used to generate a namespace from a package name therefore a generated web 
service never matches the original WSDL.

For example:

Given a namespace http://www.foo.com/ws/bar in the original WSDL

A package is generated as com.foo.www.ws.bar (note partial reversal)

and the generated web service has a new WSDL with namespace 
http://bar.ws.www.foo.com which is incorrect.

The same problem occurs with both SOAP and XSD namespaces.

In addition, another problem occurs if the namespace includes version numbers:

Original namespace: http://www.foo.com/xsd/1

package becomes com.foo.www.xsd._1

and regenerated namespace is http://_1.xsd.www.foo.com


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

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to