axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-805) namespace of generated WSDL
Date Thu, 05 Oct 2006 04:46:21 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-805?page=all ]

Deepal Jayasinghe resolved AXIS2-805.
-------------------------------------

    Resolution: Fixed

Fixed in current SVN

> 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


Mime
View raw message