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 "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2006/09/29 16:19:50 UTC

[jira] Reopened: (AXIS2-805) namespace of generated WSDL

     [ http://issues.apache.org/jira/browse/AXIS2-805?page=all ]

Davanum Srinivas reopened AXIS2-805:
------------------------------------

             

> namespace of generated WSDL
> ---------------------------
>
>                 Key: AXIS2-805
>                 URL: http://issues.apache.org/jira/browse/AXIS2-805
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.0
>         Environment: JDK1.4.2, Windows XP, Tomcat5.0
>            Reporter: Kinichiro Inoguchi
>         Assigned To: Deepal Jayasinghe
>            Priority: Blocker
>         Attachments: AXIS2-805-aar_s.zip, AXIS2-805-src.zip, Wsdls.zip
>
>
> I tested this with Axis2 current SVN build.
> I created java class that returns array of java beans, 
> then made it web service with RPCMessageReceiver.
> And I checked the namespace of generated WSDL.
> There are 4 issues.
> - namespace as "ns1" never used in generated WSDL.
> - namespace as "ns0" and "ns" are the same.
> - namespace as "stn_x" seems wrong. I think "ns" should be used.
> - import namespace="/xsd" needed ?
> I checked these issues by 4 different services.xml.
> (1) no namespace is defined in services.xml
>     http://localhost:8080/axis2/services/WsdlTest0?wsdl
>     <wsdl:definitions> has,
>     targetNamespace="http://ws.apache.org/axis2"
>     xmlns:axis2="http://ws.apache.org/axis2"
>     xmlns:ns0="http://ws.apache.org/axis2/xsd" 
>     xmlns:ns1="http://org.apache.axis2/xsd"
>     <xs:schema> has,
>     targetNamespace="http://ws.apache.org/axis2/xsd" 
>     xmlns:ns="http://ws.apache.org/axis2/xsd" 
>     xmlns:stn_4="/xsd" 
>     <xs:import namespace="/xsd" /> contained in WSDL.
>     # prefix used in WSDL
>     axis2
>     ns0, ns, stn_4
> (2) service namespace is defined in services.xml
>     <wsdl:definitions> has,
>     targetNamespace="http://ws.aaa.bbb"
>     xmlns:axis2="http://ws.aaa.bbb"
>     xmlns:ns0="http://ws.apache.org/axis2/xsd"
>     xmlns:ns1="http://org.apache.axis2/xsd"
>     <xs:schema> has,
>     targetNamespace="http://ws.apache.org/axis2/xsd"
>     xmlns:stn_6="/xsd"
>     xmlns:ns="http://ws.apache.org/axis2/xsd"
>     <xs:import namespace="/xsd" /> contained in WSDL.
>     # prefix used in WSDL
>     axis2
>     ns0, ns, stn_6
> (3) schema namespace is defined in services.xml
>     <wsdl:definitions> has,
>     targetNamespace="http://ws.apache.org/axis2"
>     xmlns:axis2="http://ws.apache.org/axis2"
>     xmlns:ns0="http://ws.aaa.bbb/types"
>     xmlns:ns1="http://org.apache.axis2/xsd"
>     <xs:schema> has,
>     targetNamespace="http://ws.aaa.bbb/types"
>     xmlns:ns="http://ws.aaa.bbb/types" 
>     xmlns:stn_8="/xsd" 
>     <xs:import namespace="/xsd" /> contained in WSDL.
>     # prefix used in WSDL
>     axis2
>     ns0, ns, stn_8
> (4) service and schema namespace is defined in services.xml
>     <wsdl:definitions> has,
>     targetNamespace="http://ws.aaa.bbb"
>     xmlns:axis2="http://ws.aaa.bbb"
>     xmlns:ns0="http://ws.aaa.bbb/types"
>     xmlns:ns1="http://org.apache.axis2/xsd"
>     <xs:schema> has,
>     targetNamespace="http://ws.aaa.bbb/types"
>     xmlns:ns="http://ws.aaa.bbb/types" 
>     xmlns:stn_10="/xsd" 
>     <xs:import namespace="/xsd" /> contained in WSDL.
>     # prefix used in WSDL
>     axis2
>     ns0, ns, stn_10
> Thanks.

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org