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 "Kinichiro Inoguchi (JIRA)" <ji...@apache.org> on 2006/06/05 16:30:46 UTC

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

namespace of generated WSDL
---------------------------

         Key: AXIS2-805
         URL: http://issues.apache.org/jira/browse/AXIS2-805
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug

  Components: wsdl  
    Versions: 1.0    
 Environment: JDK1.4.2, Windows XP, Tomcat5.0
    Reporter: Kinichiro Inoguchi


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


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

Posted by "Kinichiro Inoguchi (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-805?page=comments#action_12442956 ] 
            
Kinichiro Inoguchi commented on AXIS2-805:
------------------------------------------

I found that I could map namespace to package of javabeans 
in services.xml, like this.

<service>
 <schema>
  <mapping namespace="http://xml.apache.org/xml-soap" package="javax.activation"></mapping>
 </schema>
 ...
</service>

With Java2WSDL, -p2n option is the same. (see AXIS2-1252)

This feature added by r464816 .
http://marc.theaimsgroup.com/?l=axis-dev&m=116106357922076&w=2

I checked this with latest nightly axis2-1.1-SNAPSHOT.war 17-Oct-2006 08:04

> 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


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

Posted by "Kinichiro Inoguchi (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-805?page=comments#action_12439825 ] 
            
Kinichiro Inoguchi commented on AXIS2-805:
------------------------------------------

Yes, I found that 4 test services shows WSDL as what I claimed before.

BTW, does this fixing keep consistency with AXIS2-1252 ?
Venkat said Java2WSDL generates WSDL like these rules.

2) the types that define the arguments and return values used in your service methods. Now, the targetn namespace for the xsd that includes these types, will be derived from the package name of the type and appended with '/xsd'. 

I'm sorry for confusing you too much.
Thanks,
kinichiro

> 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


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

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-805?page=all ]

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

    Resolution: Fixed

Just fixed in current SVN.
rename stn_ to asn

please check against current svn or nightly build and let us know whether it is working 

> 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


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

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


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

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


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

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-805?page=all ]

Davanum Srinivas updated AXIS2-805:
-----------------------------------

    Priority: Blocker  (was: Major)

> 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


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

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-805?page=comments#action_12439746 ] 
            
Deepal Jayasinghe commented on AXIS2-805:
-----------------------------------------

Finlay I was found the problem and fixed it properly , so please check that and confirm

> 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


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

Posted by "Kinichiro Inoguchi (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-805?page=comments#action_12422653 ] 
            
Kinichiro Inoguchi commented on AXIS2-805:
------------------------------------------

I checked current SVN.
Problem pattern (3) and (4), still remain.

(3) schema namespace is defined in services.xml 
    http://localhost:8080/axis2/services/WsdlTest2?wsdl

    targetNamespace should be "http://ws.aaa.bbb/types".
    and ns1 should be "http://ws.aaa.bbb/types".

(4) service and schema namespace is defined in services.xml
    http://localhost:8080/axis2/services/WsdlTest3?wsdl

    targetNamespace should be "http://ws.aaa.bbb/types".
    and ns1 should be "http://ws.aaa.bbb/types".

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


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

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-805?page=comments#action_12439693 ] 
            
Davanum Srinivas commented on AXIS2-805:
----------------------------------------

Let's document this behavior and then downgrade this bug.

thanks,
dims

> 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


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

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-805?page=comments#action_12440025 ] 
            
Deepal Jayasinghe commented on AXIS2-805:
-----------------------------------------

No this does not fix 1252 , i will fix that separately 

> 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


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

Posted by "Kinichiro Inoguchi (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-805?page=comments#action_12415353 ] 

Kinichiro Inoguchi commented on AXIS2-805:
------------------------------------------

I checked current SVN.

>- namespace as "stn_x" seems wrong. I think "ns" should be used.
>- import namespace="/xsd" needed ? 

Pattern (1) and (2) looks good.
Pattern (3) and (4), still remain.

BTW, I didn't mention yet, is prefix "urn:" is valid in these WSDL ?
<soap:operation style="document" soapAction="urn:testService" />
There is no namespace for prefix "urn" in these sample WSDLs. 
I asked this in http://issues.apache.org/jira/browse/AXIS2-742 , too.

> namespace of generated WSDL
> ---------------------------
>
>          Key: AXIS2-805
>          URL: http://issues.apache.org/jira/browse/AXIS2-805
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: wsdl
>     Versions: 1.0
>  Environment: JDK1.4.2, Windows XP, Tomcat5.0
>     Reporter: Kinichiro Inoguchi
>     Assignee: Deepal Jayasinghe
>  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


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

Posted by "Kinichiro Inoguchi (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-805?page=comments#action_12434701 ] 
            
Kinichiro Inoguchi commented on AXIS2-805:
------------------------------------------

I hope this issue is re-opened.
I can't reopen by myself.
Thanks.

> 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


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

Posted by "Kinichiro Inoguchi (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-805?page=all ]

Kinichiro Inoguchi updated AXIS2-805:
-------------------------------------

    Attachment: AXIS2-805-src.zip
                Wsdls.zip
                AXIS2-805-aar_s.zip

AXIS2-805-src.zip - source code and services.xml
Wsdls.zip - generated WSDL files (4 files)
AXIS2-805-aar_s.zip - .aar files (4 files)

> namespace of generated WSDL
> ---------------------------
>
>          Key: AXIS2-805
>          URL: http://issues.apache.org/jira/browse/AXIS2-805
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: wsdl
>     Versions: 1.0
>  Environment: JDK1.4.2, Windows XP, Tomcat5.0
>     Reporter: Kinichiro Inoguchi
>  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


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

Posted by "Kinichiro Inoguchi (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-805?page=comments#action_12439364 ] 
            
Kinichiro Inoguchi commented on AXIS2-805:
------------------------------------------

AXIS2-1252 is same kind of issue.

The namespace of "type" used by service as IN/OUT 
comes from package name of class.

In my case, "HelloBean" is class "test.HelloBean".
And "http://" + package name + "/xsd" is used for namespace.

There are 3 kinds of  "user controllable" namespace in WSDL.
- definitions namespace
- shcema namespace
- namespace of type used by service (comes from package name)

This issue is NOT a bug.
This is spec of current AXIS2.

Thanks

> 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


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

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-805?page=all ]

Deepal Jayasinghe reassigned AXIS2-805:
---------------------------------------

    Assign To: Deepal Jayasinghe

> namespace of generated WSDL
> ---------------------------
>
>          Key: AXIS2-805
>          URL: http://issues.apache.org/jira/browse/AXIS2-805
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: wsdl
>     Versions: 1.0
>  Environment: JDK1.4.2, Windows XP, Tomcat5.0
>     Reporter: Kinichiro Inoguchi
>     Assignee: Deepal Jayasinghe
>  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


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

Posted by "Kinichiro Inoguchi (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-805?page=comments#action_12431759 ] 
            
Kinichiro Inoguchi commented on AXIS2-805:
------------------------------------------

I checked current SVN. 
Problem pattern (3) and (4), still remain. 

In pattern (3) and (4), I defined schema namespace
as "http://ws.aaa.bbb/types" in services.xml.
So, targetnamespace of request/response XML 
should be "http://ws.aaa.bbb/types" .

But, with current SVN, targetnamespace of HelloBean is 
defined as "http://test/xsd" .


> 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


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

Posted by "Kinichiro Inoguchi (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-805?page=comments#action_12435409 ] 
            
Kinichiro Inoguchi commented on AXIS2-805:
------------------------------------------

This issue is about wrong namespace in generated WSDL 
when using RPCMessageReceiver.

Test service returns simple java beans (HelloBean).

I defined schema namespace in services.xml like this,
<schema schemaNamespace="http://ws.aaa.bbb/types"/> .

So, all request and response should be qualified with 
namespace "http://ws.aaa.bbb/types" in WSDL.

But, response is qualified with "http://test/xsd" in WSDL.

You can check this issue,
1. deploy WsdlTest2.aar and WsdlTest3.aar in AXIS2-805-aar_s.zip .
2. see generated WSDL.
   http://localhost:8080/axis2/services/WsdlTest2?wsdl
   http://localhost:8080/axis2/services/WsdlTest3?wsdl

Thanks.


> 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


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

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-805?page=comments#action_12415325 ] 

Deepal Jayasinghe commented on AXIS2-805:
-----------------------------------------

<xs:import namespace="/xsd" /> problem is fixed in current SVN , if you can please chceck and verify

> namespace of generated WSDL
> ---------------------------
>
>          Key: AXIS2-805
>          URL: http://issues.apache.org/jira/browse/AXIS2-805
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: wsdl
>     Versions: 1.0
>  Environment: JDK1.4.2, Windows XP, Tomcat5.0
>     Reporter: Kinichiro Inoguchi
>     Assignee: Deepal Jayasinghe
>  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