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 "Carmen Checa (JIRA)" <ji...@apache.org> on 2007/03/06 17:03:24 UTC

[jira] Created: (AXIS2-2292) wsdl2java products a stub that cannot be compiled, when the wsdl file contains an element defined as a restriction on a duration type

wsdl2java products a stub that cannot be compiled, when the wsdl file contains an element defined as a restriction on a duration type
-------------------------------------------------------------------------------------------------------------------------------------

                 Key: AXIS2-2292
                 URL: https://issues.apache.org/jira/browse/AXIS2-2292
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: adb, codegen
         Environment: nightly build as of 3/2/07
            Reporter: Carmen Checa


This is the sample wsdl:
<?xml version="1.0" encoding="UTF-8"?> 
< wsdl:definitions xmlns:wsdl =" http://schemas.xmlsoap.org/wsdl/ " xmlns:wsdlsoap =" http://schemas.xmlsoap.org/wsdl/soap/ " xmlns:xsd =" http://www.w3.org/2001/XMLSchema " xmlns:ns =" http://schemas.xmlsoap.org/soap/encoding/ " xmlns:myns =" http://MyNamespace " targetNamespace =" http://MyNamespace "> 
            < wsdl:types > 
                        < xsd:schema elementFormDefault =" qualified " version =" 1.0.0.3 " targetNamespace =" http://MyNamespace "> 
                                    < xsd:element name =" Operation1Content "> 
                                                < xsd:simpleType > 
                                                            < xsd:restriction base =" xsd:duration "> 
                                                                        < xsd:minInclusive value =" P0Y0M0DT0H0M0S "/> 
                                                            </ xsd:restriction > 
                                                </ xsd:simpleType > 
                                    </ xsd:element > 
                        </ xsd:schema > 
            </ wsdl:types > 
            < wsdl:message name =" Operation1Msg "> 
                        < wsdl:part name =" body " element =" myns:Operation1Content "/> 
            </ wsdl:message > 
            < wsdl:portType name =" MyPortType "> 
                        < wsdl:operation name =" Operation1 "> 
                                    < wsdl:input message =" myns:Operation1Msg "/> 
                                    < wsdl:output message =" myns:Operation1Msg "/> 
                        </ wsdl:operation > 
            </ wsdl:portType > 
            < wsdl:binding name =" MyBinding " type =" myns:MyPortType "> 
                        < wsdlsoap:binding style =" document " transport =" http://schemas.xmlsoap.org/soap/http "/> 
                        < wsdl:operation name =" Operation1 "> 
                                    < wsdlsoap:operation soapAction =" MyOperation "/> 
                                    < wsdl:input > 
                                                < wsdlsoap:body use =" literal "/> 
                                    </ wsdl:input > 
                                    < wsdl:output > 
                                                < wsdlsoap:body use =" literal "/> 
                                    </ wsdl:output > 
                        </ wsdl:operation > 
            </ wsdl:binding > 
            < wsdl:service name =" MyService "> 
                        < wsdl:port name =" MyPort " binding =" myns:MyBinding "> 
                                    < wsdlsoap:address location =" http://localhost:8080/MyService "/> 
                        </ wsdl:port > 
            </ wsdl:service > 
</ wsdl:definitions > 

This is the compilation error:
    [javac] C:\sdk\axis2build\generatedClient\src\mynamespace\MyServiceStub.java:686: cannot find symbol
    [javac] symbol  : method compare(org.apache.axis2.databinding.types.Duration,java.lang.String)
    [javac] location: class org.apache.axis2.databinding.utils.ConverterUtil
    [javac]                                                 if (org.apache.axis2.databinding.utils.ConverterUtil.compare(param, "") >= 0){
    [javac]                                                                                                     ^



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (AXIS2-2292) wsdl2java produces a stub that cannot be compiled, when the wsdl file contains an element defined as a restriction on a duration type

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-2292.
-------------------------------------------------

    Resolution: Fixed

fixed the issue with revision 518893. please check with a nightly build.

> wsdl2java produces a stub that cannot be compiled, when the wsdl file contains an element defined as a restriction on a duration type
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2292
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2292
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb, codegen
>         Environment: nightly build as of 3/2/07
>            Reporter: Carmen Checa
>         Assigned To: Amila Chinthaka Suriarachchi
>
> This is the sample wsdl:
> <?xml version="1.0" encoding="UTF-8"?> 
> < wsdl:definitions xmlns:wsdl =" http://schemas.xmlsoap.org/wsdl/ " xmlns:wsdlsoap =" http://schemas.xmlsoap.org/wsdl/soap/ " xmlns:xsd =" http://www.w3.org/2001/XMLSchema " xmlns:ns =" http://schemas.xmlsoap.org/soap/encoding/ " xmlns:myns =" http://MyNamespace " targetNamespace =" http://MyNamespace "> 
>             < wsdl:types > 
>                         < xsd:schema elementFormDefault =" qualified " version =" 1.0.0.3 " targetNamespace =" http://MyNamespace "> 
>                                     < xsd:element name =" Operation1Content "> 
>                                                 < xsd:simpleType > 
>                                                             < xsd:restriction base =" xsd:duration "> 
>                                                                         < xsd:minInclusive value =" P0Y0M0DT0H0M0S "/> 
>                                                             </ xsd:restriction > 
>                                                 </ xsd:simpleType > 
>                                     </ xsd:element > 
>                         </ xsd:schema > 
>             </ wsdl:types > 
>             < wsdl:message name =" Operation1Msg "> 
>                         < wsdl:part name =" body " element =" myns:Operation1Content "/> 
>             </ wsdl:message > 
>             < wsdl:portType name =" MyPortType "> 
>                         < wsdl:operation name =" Operation1 "> 
>                                     < wsdl:input message =" myns:Operation1Msg "/> 
>                                     < wsdl:output message =" myns:Operation1Msg "/> 
>                         </ wsdl:operation > 
>             </ wsdl:portType > 
>             < wsdl:binding name =" MyBinding " type =" myns:MyPortType "> 
>                         < wsdlsoap:binding style =" document " transport =" http://schemas.xmlsoap.org/soap/http "/> 
>                         < wsdl:operation name =" Operation1 "> 
>                                     < wsdlsoap:operation soapAction =" MyOperation "/> 
>                                     < wsdl:input > 
>                                                 < wsdlsoap:body use =" literal "/> 
>                                     </ wsdl:input > 
>                                     < wsdl:output > 
>                                                 < wsdlsoap:body use =" literal "/> 
>                                     </ wsdl:output > 
>                         </ wsdl:operation > 
>             </ wsdl:binding > 
>             < wsdl:service name =" MyService "> 
>                         < wsdl:port name =" MyPort " binding =" myns:MyBinding "> 
>                                     < wsdlsoap:address location =" http://localhost:8080/MyService "/> 
>                         </ wsdl:port > 
>             </ wsdl:service > 
> </ wsdl:definitions > 
> This is the compilation error:
>     [javac] C:\sdk\axis2build\generatedClient\src\mynamespace\MyServiceStub.java:686: cannot find symbol
>     [javac] symbol  : method compare(org.apache.axis2.databinding.types.Duration,java.lang.String)
>     [javac] location: class org.apache.axis2.databinding.utils.ConverterUtil
>     [javac]                                                 if (org.apache.axis2.databinding.utils.ConverterUtil.compare(param, "") >= 0){
>     [javac]                                                                                                     ^

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-2292) wsdl2java produces a stub that cannot be compiled, when the wsdl file contains an element defined as a restriction on a duration type

Posted by "Carmen Checa (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481660 ] 

Carmen Checa commented on AXIS2-2292:
-------------------------------------

Thank you Amila,
I checked with last night's build and now it is working fine.
However, I think now I have the same issue with the Calendar type.
I double-check and will open another ticket.

Carmen




> wsdl2java produces a stub that cannot be compiled, when the wsdl file contains an element defined as a restriction on a duration type
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2292
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2292
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb, codegen
>         Environment: nightly build as of 3/2/07
>            Reporter: Carmen Checa
>         Assigned To: Amila Chinthaka Suriarachchi
>
> This is the sample wsdl:
> <?xml version="1.0" encoding="UTF-8"?> 
> < wsdl:definitions xmlns:wsdl =" http://schemas.xmlsoap.org/wsdl/ " xmlns:wsdlsoap =" http://schemas.xmlsoap.org/wsdl/soap/ " xmlns:xsd =" http://www.w3.org/2001/XMLSchema " xmlns:ns =" http://schemas.xmlsoap.org/soap/encoding/ " xmlns:myns =" http://MyNamespace " targetNamespace =" http://MyNamespace "> 
>             < wsdl:types > 
>                         < xsd:schema elementFormDefault =" qualified " version =" 1.0.0.3 " targetNamespace =" http://MyNamespace "> 
>                                     < xsd:element name =" Operation1Content "> 
>                                                 < xsd:simpleType > 
>                                                             < xsd:restriction base =" xsd:duration "> 
>                                                                         < xsd:minInclusive value =" P0Y0M0DT0H0M0S "/> 
>                                                             </ xsd:restriction > 
>                                                 </ xsd:simpleType > 
>                                     </ xsd:element > 
>                         </ xsd:schema > 
>             </ wsdl:types > 
>             < wsdl:message name =" Operation1Msg "> 
>                         < wsdl:part name =" body " element =" myns:Operation1Content "/> 
>             </ wsdl:message > 
>             < wsdl:portType name =" MyPortType "> 
>                         < wsdl:operation name =" Operation1 "> 
>                                     < wsdl:input message =" myns:Operation1Msg "/> 
>                                     < wsdl:output message =" myns:Operation1Msg "/> 
>                         </ wsdl:operation > 
>             </ wsdl:portType > 
>             < wsdl:binding name =" MyBinding " type =" myns:MyPortType "> 
>                         < wsdlsoap:binding style =" document " transport =" http://schemas.xmlsoap.org/soap/http "/> 
>                         < wsdl:operation name =" Operation1 "> 
>                                     < wsdlsoap:operation soapAction =" MyOperation "/> 
>                                     < wsdl:input > 
>                                                 < wsdlsoap:body use =" literal "/> 
>                                     </ wsdl:input > 
>                                     < wsdl:output > 
>                                                 < wsdlsoap:body use =" literal "/> 
>                                     </ wsdl:output > 
>                         </ wsdl:operation > 
>             </ wsdl:binding > 
>             < wsdl:service name =" MyService "> 
>                         < wsdl:port name =" MyPort " binding =" myns:MyBinding "> 
>                                     < wsdlsoap:address location =" http://localhost:8080/MyService "/> 
>                         </ wsdl:port > 
>             </ wsdl:service > 
> </ wsdl:definitions > 
> This is the compilation error:
>     [javac] C:\sdk\axis2build\generatedClient\src\mynamespace\MyServiceStub.java:686: cannot find symbol
>     [javac] symbol  : method compare(org.apache.axis2.databinding.types.Duration,java.lang.String)
>     [javac] location: class org.apache.axis2.databinding.utils.ConverterUtil
>     [javac]                                                 if (org.apache.axis2.databinding.utils.ConverterUtil.compare(param, "") >= 0){
>     [javac]                                                                                                     ^

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-2292) wsdl2java produces a stub that cannot be compiled, when the wsdl file contains an element defined as a restriction on a duration type

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12482068 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-2292:
-----------------------------------------------------

Can you go through all your xsds and tell me all the data types you use the simple type restrictions as in above?

> wsdl2java produces a stub that cannot be compiled, when the wsdl file contains an element defined as a restriction on a duration type
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2292
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2292
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb, codegen
>         Environment: nightly build as of 3/2/07
>            Reporter: Carmen Checa
>         Assigned To: Amila Chinthaka Suriarachchi
>
> This is the sample wsdl:
> <?xml version="1.0" encoding="UTF-8"?> 
> < wsdl:definitions xmlns:wsdl =" http://schemas.xmlsoap.org/wsdl/ " xmlns:wsdlsoap =" http://schemas.xmlsoap.org/wsdl/soap/ " xmlns:xsd =" http://www.w3.org/2001/XMLSchema " xmlns:ns =" http://schemas.xmlsoap.org/soap/encoding/ " xmlns:myns =" http://MyNamespace " targetNamespace =" http://MyNamespace "> 
>             < wsdl:types > 
>                         < xsd:schema elementFormDefault =" qualified " version =" 1.0.0.3 " targetNamespace =" http://MyNamespace "> 
>                                     < xsd:element name =" Operation1Content "> 
>                                                 < xsd:simpleType > 
>                                                             < xsd:restriction base =" xsd:duration "> 
>                                                                         < xsd:minInclusive value =" P0Y0M0DT0H0M0S "/> 
>                                                             </ xsd:restriction > 
>                                                 </ xsd:simpleType > 
>                                     </ xsd:element > 
>                         </ xsd:schema > 
>             </ wsdl:types > 
>             < wsdl:message name =" Operation1Msg "> 
>                         < wsdl:part name =" body " element =" myns:Operation1Content "/> 
>             </ wsdl:message > 
>             < wsdl:portType name =" MyPortType "> 
>                         < wsdl:operation name =" Operation1 "> 
>                                     < wsdl:input message =" myns:Operation1Msg "/> 
>                                     < wsdl:output message =" myns:Operation1Msg "/> 
>                         </ wsdl:operation > 
>             </ wsdl:portType > 
>             < wsdl:binding name =" MyBinding " type =" myns:MyPortType "> 
>                         < wsdlsoap:binding style =" document " transport =" http://schemas.xmlsoap.org/soap/http "/> 
>                         < wsdl:operation name =" Operation1 "> 
>                                     < wsdlsoap:operation soapAction =" MyOperation "/> 
>                                     < wsdl:input > 
>                                                 < wsdlsoap:body use =" literal "/> 
>                                     </ wsdl:input > 
>                                     < wsdl:output > 
>                                                 < wsdlsoap:body use =" literal "/> 
>                                     </ wsdl:output > 
>                         </ wsdl:operation > 
>             </ wsdl:binding > 
>             < wsdl:service name =" MyService "> 
>                         < wsdl:port name =" MyPort " binding =" myns:MyBinding "> 
>                                     < wsdlsoap:address location =" http://localhost:8080/MyService "/> 
>                         </ wsdl:port > 
>             </ wsdl:service > 
> </ wsdl:definitions > 
> This is the compilation error:
>     [javac] C:\sdk\axis2build\generatedClient\src\mynamespace\MyServiceStub.java:686: cannot find symbol
>     [javac] symbol  : method compare(org.apache.axis2.databinding.types.Duration,java.lang.String)
>     [javac] location: class org.apache.axis2.databinding.utils.ConverterUtil
>     [javac]                                                 if (org.apache.axis2.databinding.utils.ConverterUtil.compare(param, "") >= 0){
>     [javac]                                                                                                     ^

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-2292) wsdl2java produces a stub that cannot be compiled, when the wsdl file contains an element defined as a restriction on a duration type

Posted by "Carmen Checa (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12482814 ] 

Carmen Checa commented on AXIS2-2292:
-------------------------------------

Test cases ran fine.
Thank you




> wsdl2java produces a stub that cannot be compiled, when the wsdl file contains an element defined as a restriction on a duration type
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2292
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2292
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb, codegen
>         Environment: nightly build as of 3/2/07
>            Reporter: Carmen Checa
>         Assigned To: Amila Chinthaka Suriarachchi
>
> This is the sample wsdl:
> <?xml version="1.0" encoding="UTF-8"?> 
> < wsdl:definitions xmlns:wsdl =" http://schemas.xmlsoap.org/wsdl/ " xmlns:wsdlsoap =" http://schemas.xmlsoap.org/wsdl/soap/ " xmlns:xsd =" http://www.w3.org/2001/XMLSchema " xmlns:ns =" http://schemas.xmlsoap.org/soap/encoding/ " xmlns:myns =" http://MyNamespace " targetNamespace =" http://MyNamespace "> 
>             < wsdl:types > 
>                         < xsd:schema elementFormDefault =" qualified " version =" 1.0.0.3 " targetNamespace =" http://MyNamespace "> 
>                                     < xsd:element name =" Operation1Content "> 
>                                                 < xsd:simpleType > 
>                                                             < xsd:restriction base =" xsd:duration "> 
>                                                                         < xsd:minInclusive value =" P0Y0M0DT0H0M0S "/> 
>                                                             </ xsd:restriction > 
>                                                 </ xsd:simpleType > 
>                                     </ xsd:element > 
>                         </ xsd:schema > 
>             </ wsdl:types > 
>             < wsdl:message name =" Operation1Msg "> 
>                         < wsdl:part name =" body " element =" myns:Operation1Content "/> 
>             </ wsdl:message > 
>             < wsdl:portType name =" MyPortType "> 
>                         < wsdl:operation name =" Operation1 "> 
>                                     < wsdl:input message =" myns:Operation1Msg "/> 
>                                     < wsdl:output message =" myns:Operation1Msg "/> 
>                         </ wsdl:operation > 
>             </ wsdl:portType > 
>             < wsdl:binding name =" MyBinding " type =" myns:MyPortType "> 
>                         < wsdlsoap:binding style =" document " transport =" http://schemas.xmlsoap.org/soap/http "/> 
>                         < wsdl:operation name =" Operation1 "> 
>                                     < wsdlsoap:operation soapAction =" MyOperation "/> 
>                                     < wsdl:input > 
>                                                 < wsdlsoap:body use =" literal "/> 
>                                     </ wsdl:input > 
>                                     < wsdl:output > 
>                                                 < wsdlsoap:body use =" literal "/> 
>                                     </ wsdl:output > 
>                         </ wsdl:operation > 
>             </ wsdl:binding > 
>             < wsdl:service name =" MyService "> 
>                         < wsdl:port name =" MyPort " binding =" myns:MyBinding "> 
>                                     < wsdlsoap:address location =" http://localhost:8080/MyService "/> 
>                         </ wsdl:port > 
>             </ wsdl:service > 
> </ wsdl:definitions > 
> This is the compilation error:
>     [javac] C:\sdk\axis2build\generatedClient\src\mynamespace\MyServiceStub.java:686: cannot find symbol
>     [javac] symbol  : method compare(org.apache.axis2.databinding.types.Duration,java.lang.String)
>     [javac] location: class org.apache.axis2.databinding.utils.ConverterUtil
>     [javac]                                                 if (org.apache.axis2.databinding.utils.ConverterUtil.compare(param, "") >= 0){
>     [javac]                                                                                                     ^

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (AXIS2-2292) wsdl2java produces a stub that cannot be compiled, when the wsdl file contains an element defined as a restriction on a duration type

Posted by "Carmen Checa (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carmen Checa updated AXIS2-2292:
--------------------------------

    Summary: wsdl2java produces a stub that cannot be compiled, when the wsdl file contains an element defined as a restriction on a duration type  (was: wsdl2java products a stub that cannot be compiled, when the wsdl file contains an element defined as a restriction on a duration type)

> wsdl2java produces a stub that cannot be compiled, when the wsdl file contains an element defined as a restriction on a duration type
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2292
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2292
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb, codegen
>         Environment: nightly build as of 3/2/07
>            Reporter: Carmen Checa
>
> This is the sample wsdl:
> <?xml version="1.0" encoding="UTF-8"?> 
> < wsdl:definitions xmlns:wsdl =" http://schemas.xmlsoap.org/wsdl/ " xmlns:wsdlsoap =" http://schemas.xmlsoap.org/wsdl/soap/ " xmlns:xsd =" http://www.w3.org/2001/XMLSchema " xmlns:ns =" http://schemas.xmlsoap.org/soap/encoding/ " xmlns:myns =" http://MyNamespace " targetNamespace =" http://MyNamespace "> 
>             < wsdl:types > 
>                         < xsd:schema elementFormDefault =" qualified " version =" 1.0.0.3 " targetNamespace =" http://MyNamespace "> 
>                                     < xsd:element name =" Operation1Content "> 
>                                                 < xsd:simpleType > 
>                                                             < xsd:restriction base =" xsd:duration "> 
>                                                                         < xsd:minInclusive value =" P0Y0M0DT0H0M0S "/> 
>                                                             </ xsd:restriction > 
>                                                 </ xsd:simpleType > 
>                                     </ xsd:element > 
>                         </ xsd:schema > 
>             </ wsdl:types > 
>             < wsdl:message name =" Operation1Msg "> 
>                         < wsdl:part name =" body " element =" myns:Operation1Content "/> 
>             </ wsdl:message > 
>             < wsdl:portType name =" MyPortType "> 
>                         < wsdl:operation name =" Operation1 "> 
>                                     < wsdl:input message =" myns:Operation1Msg "/> 
>                                     < wsdl:output message =" myns:Operation1Msg "/> 
>                         </ wsdl:operation > 
>             </ wsdl:portType > 
>             < wsdl:binding name =" MyBinding " type =" myns:MyPortType "> 
>                         < wsdlsoap:binding style =" document " transport =" http://schemas.xmlsoap.org/soap/http "/> 
>                         < wsdl:operation name =" Operation1 "> 
>                                     < wsdlsoap:operation soapAction =" MyOperation "/> 
>                                     < wsdl:input > 
>                                                 < wsdlsoap:body use =" literal "/> 
>                                     </ wsdl:input > 
>                                     < wsdl:output > 
>                                                 < wsdlsoap:body use =" literal "/> 
>                                     </ wsdl:output > 
>                         </ wsdl:operation > 
>             </ wsdl:binding > 
>             < wsdl:service name =" MyService "> 
>                         < wsdl:port name =" MyPort " binding =" myns:MyBinding "> 
>                                     < wsdlsoap:address location =" http://localhost:8080/MyService "/> 
>                         </ wsdl:port > 
>             </ wsdl:service > 
> </ wsdl:definitions > 
> This is the compilation error:
>     [javac] C:\sdk\axis2build\generatedClient\src\mynamespace\MyServiceStub.java:686: cannot find symbol
>     [javac] symbol  : method compare(org.apache.axis2.databinding.types.Duration,java.lang.String)
>     [javac] location: class org.apache.axis2.databinding.utils.ConverterUtil
>     [javac]                                                 if (org.apache.axis2.databinding.utils.ConverterUtil.compare(param, "") >= 0){
>     [javac]                                                                                                     ^

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-2292) wsdl2java produces a stub that cannot be compiled, when the wsdl file contains an element defined as a restriction on a duration type

Posted by "Carmen Checa (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12482463 ] 

Carmen Checa commented on AXIS2-2292:
-------------------------------------

Hi Amila, in addition to duration and dateTime we use 

string
anyURI
QName 
NCName 

I tested these and, as far as I can tell, the stubs compile.

Thank you





> wsdl2java produces a stub that cannot be compiled, when the wsdl file contains an element defined as a restriction on a duration type
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2292
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2292
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb, codegen
>         Environment: nightly build as of 3/2/07
>            Reporter: Carmen Checa
>         Assigned To: Amila Chinthaka Suriarachchi
>
> This is the sample wsdl:
> <?xml version="1.0" encoding="UTF-8"?> 
> < wsdl:definitions xmlns:wsdl =" http://schemas.xmlsoap.org/wsdl/ " xmlns:wsdlsoap =" http://schemas.xmlsoap.org/wsdl/soap/ " xmlns:xsd =" http://www.w3.org/2001/XMLSchema " xmlns:ns =" http://schemas.xmlsoap.org/soap/encoding/ " xmlns:myns =" http://MyNamespace " targetNamespace =" http://MyNamespace "> 
>             < wsdl:types > 
>                         < xsd:schema elementFormDefault =" qualified " version =" 1.0.0.3 " targetNamespace =" http://MyNamespace "> 
>                                     < xsd:element name =" Operation1Content "> 
>                                                 < xsd:simpleType > 
>                                                             < xsd:restriction base =" xsd:duration "> 
>                                                                         < xsd:minInclusive value =" P0Y0M0DT0H0M0S "/> 
>                                                             </ xsd:restriction > 
>                                                 </ xsd:simpleType > 
>                                     </ xsd:element > 
>                         </ xsd:schema > 
>             </ wsdl:types > 
>             < wsdl:message name =" Operation1Msg "> 
>                         < wsdl:part name =" body " element =" myns:Operation1Content "/> 
>             </ wsdl:message > 
>             < wsdl:portType name =" MyPortType "> 
>                         < wsdl:operation name =" Operation1 "> 
>                                     < wsdl:input message =" myns:Operation1Msg "/> 
>                                     < wsdl:output message =" myns:Operation1Msg "/> 
>                         </ wsdl:operation > 
>             </ wsdl:portType > 
>             < wsdl:binding name =" MyBinding " type =" myns:MyPortType "> 
>                         < wsdlsoap:binding style =" document " transport =" http://schemas.xmlsoap.org/soap/http "/> 
>                         < wsdl:operation name =" Operation1 "> 
>                                     < wsdlsoap:operation soapAction =" MyOperation "/> 
>                                     < wsdl:input > 
>                                                 < wsdlsoap:body use =" literal "/> 
>                                     </ wsdl:input > 
>                                     < wsdl:output > 
>                                                 < wsdlsoap:body use =" literal "/> 
>                                     </ wsdl:output > 
>                         </ wsdl:operation > 
>             </ wsdl:binding > 
>             < wsdl:service name =" MyService "> 
>                         < wsdl:port name =" MyPort " binding =" myns:MyBinding "> 
>                                     < wsdlsoap:address location =" http://localhost:8080/MyService "/> 
>                         </ wsdl:port > 
>             </ wsdl:service > 
> </ wsdl:definitions > 
> This is the compilation error:
>     [javac] C:\sdk\axis2build\generatedClient\src\mynamespace\MyServiceStub.java:686: cannot find symbol
>     [javac] symbol  : method compare(org.apache.axis2.databinding.types.Duration,java.lang.String)
>     [javac] location: class org.apache.axis2.databinding.utils.ConverterUtil
>     [javac]                                                 if (org.apache.axis2.databinding.utils.ConverterUtil.compare(param, "") >= 0){
>     [javac]                                                                                                     ^

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-2292) wsdl2java produces a stub that cannot be compiled, when the wsdl file contains an element defined as a restriction on a duration type

Posted by "Carmen Checa (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12482111 ] 

Carmen Checa commented on AXIS2-2292:
-------------------------------------


Hi Amila,

Yes, I went through the first set and I did not find any more. I will go
through the other 3 sets and let you know. 
Thanks
Carmen




> wsdl2java produces a stub that cannot be compiled, when the wsdl file contains an element defined as a restriction on a duration type
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2292
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2292
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb, codegen
>         Environment: nightly build as of 3/2/07
>            Reporter: Carmen Checa
>         Assigned To: Amila Chinthaka Suriarachchi
>
> This is the sample wsdl:
> <?xml version="1.0" encoding="UTF-8"?> 
> < wsdl:definitions xmlns:wsdl =" http://schemas.xmlsoap.org/wsdl/ " xmlns:wsdlsoap =" http://schemas.xmlsoap.org/wsdl/soap/ " xmlns:xsd =" http://www.w3.org/2001/XMLSchema " xmlns:ns =" http://schemas.xmlsoap.org/soap/encoding/ " xmlns:myns =" http://MyNamespace " targetNamespace =" http://MyNamespace "> 
>             < wsdl:types > 
>                         < xsd:schema elementFormDefault =" qualified " version =" 1.0.0.3 " targetNamespace =" http://MyNamespace "> 
>                                     < xsd:element name =" Operation1Content "> 
>                                                 < xsd:simpleType > 
>                                                             < xsd:restriction base =" xsd:duration "> 
>                                                                         < xsd:minInclusive value =" P0Y0M0DT0H0M0S "/> 
>                                                             </ xsd:restriction > 
>                                                 </ xsd:simpleType > 
>                                     </ xsd:element > 
>                         </ xsd:schema > 
>             </ wsdl:types > 
>             < wsdl:message name =" Operation1Msg "> 
>                         < wsdl:part name =" body " element =" myns:Operation1Content "/> 
>             </ wsdl:message > 
>             < wsdl:portType name =" MyPortType "> 
>                         < wsdl:operation name =" Operation1 "> 
>                                     < wsdl:input message =" myns:Operation1Msg "/> 
>                                     < wsdl:output message =" myns:Operation1Msg "/> 
>                         </ wsdl:operation > 
>             </ wsdl:portType > 
>             < wsdl:binding name =" MyBinding " type =" myns:MyPortType "> 
>                         < wsdlsoap:binding style =" document " transport =" http://schemas.xmlsoap.org/soap/http "/> 
>                         < wsdl:operation name =" Operation1 "> 
>                                     < wsdlsoap:operation soapAction =" MyOperation "/> 
>                                     < wsdl:input > 
>                                                 < wsdlsoap:body use =" literal "/> 
>                                     </ wsdl:input > 
>                                     < wsdl:output > 
>                                                 < wsdlsoap:body use =" literal "/> 
>                                     </ wsdl:output > 
>                         </ wsdl:operation > 
>             </ wsdl:binding > 
>             < wsdl:service name =" MyService "> 
>                         < wsdl:port name =" MyPort " binding =" myns:MyBinding "> 
>                                     < wsdlsoap:address location =" http://localhost:8080/MyService "/> 
>                         </ wsdl:port > 
>             </ wsdl:service > 
> </ wsdl:definitions > 
> This is the compilation error:
>     [javac] C:\sdk\axis2build\generatedClient\src\mynamespace\MyServiceStub.java:686: cannot find symbol
>     [javac] symbol  : method compare(org.apache.axis2.databinding.types.Duration,java.lang.String)
>     [javac] location: class org.apache.axis2.databinding.utils.ConverterUtil
>     [javac]                                                 if (org.apache.axis2.databinding.utils.ConverterUtil.compare(param, "") >= 0){
>     [javac]                                                                                                     ^

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (AXIS2-2292) wsdl2java produces a stub that cannot be compiled, when the wsdl file contains an element defined as a restriction on a duration type

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-2292:
------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> wsdl2java produces a stub that cannot be compiled, when the wsdl file contains an element defined as a restriction on a duration type
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2292
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2292
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb, codegen
>         Environment: nightly build as of 3/2/07
>            Reporter: Carmen Checa
>         Assigned To: Amila Chinthaka Suriarachchi
>
> This is the sample wsdl:
> <?xml version="1.0" encoding="UTF-8"?> 
> < wsdl:definitions xmlns:wsdl =" http://schemas.xmlsoap.org/wsdl/ " xmlns:wsdlsoap =" http://schemas.xmlsoap.org/wsdl/soap/ " xmlns:xsd =" http://www.w3.org/2001/XMLSchema " xmlns:ns =" http://schemas.xmlsoap.org/soap/encoding/ " xmlns:myns =" http://MyNamespace " targetNamespace =" http://MyNamespace "> 
>             < wsdl:types > 
>                         < xsd:schema elementFormDefault =" qualified " version =" 1.0.0.3 " targetNamespace =" http://MyNamespace "> 
>                                     < xsd:element name =" Operation1Content "> 
>                                                 < xsd:simpleType > 
>                                                             < xsd:restriction base =" xsd:duration "> 
>                                                                         < xsd:minInclusive value =" P0Y0M0DT0H0M0S "/> 
>                                                             </ xsd:restriction > 
>                                                 </ xsd:simpleType > 
>                                     </ xsd:element > 
>                         </ xsd:schema > 
>             </ wsdl:types > 
>             < wsdl:message name =" Operation1Msg "> 
>                         < wsdl:part name =" body " element =" myns:Operation1Content "/> 
>             </ wsdl:message > 
>             < wsdl:portType name =" MyPortType "> 
>                         < wsdl:operation name =" Operation1 "> 
>                                     < wsdl:input message =" myns:Operation1Msg "/> 
>                                     < wsdl:output message =" myns:Operation1Msg "/> 
>                         </ wsdl:operation > 
>             </ wsdl:portType > 
>             < wsdl:binding name =" MyBinding " type =" myns:MyPortType "> 
>                         < wsdlsoap:binding style =" document " transport =" http://schemas.xmlsoap.org/soap/http "/> 
>                         < wsdl:operation name =" Operation1 "> 
>                                     < wsdlsoap:operation soapAction =" MyOperation "/> 
>                                     < wsdl:input > 
>                                                 < wsdlsoap:body use =" literal "/> 
>                                     </ wsdl:input > 
>                                     < wsdl:output > 
>                                                 < wsdlsoap:body use =" literal "/> 
>                                     </ wsdl:output > 
>                         </ wsdl:operation > 
>             </ wsdl:binding > 
>             < wsdl:service name =" MyService "> 
>                         < wsdl:port name =" MyPort " binding =" myns:MyBinding "> 
>                                     < wsdlsoap:address location =" http://localhost:8080/MyService "/> 
>                         </ wsdl:port > 
>             </ wsdl:service > 
> </ wsdl:definitions > 
> This is the compilation error:
>     [javac] C:\sdk\axis2build\generatedClient\src\mynamespace\MyServiceStub.java:686: cannot find symbol
>     [javac] symbol  : method compare(org.apache.axis2.databinding.types.Duration,java.lang.String)
>     [javac] location: class org.apache.axis2.databinding.utils.ConverterUtil
>     [javac]                                                 if (org.apache.axis2.databinding.utils.ConverterUtil.compare(param, "") >= 0){
>     [javac]                                                                                                     ^

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-2292) wsdl2java produces a stub that cannot be compiled, when the wsdl file contains an element defined as a restriction on a duration type

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12482757 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-2292:
-----------------------------------------------------

ok thats great. Please run some sample test cases and see as well. if you find any bugs then I can fix them before Axis2 1.2 release.

> wsdl2java produces a stub that cannot be compiled, when the wsdl file contains an element defined as a restriction on a duration type
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2292
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2292
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb, codegen
>         Environment: nightly build as of 3/2/07
>            Reporter: Carmen Checa
>         Assigned To: Amila Chinthaka Suriarachchi
>
> This is the sample wsdl:
> <?xml version="1.0" encoding="UTF-8"?> 
> < wsdl:definitions xmlns:wsdl =" http://schemas.xmlsoap.org/wsdl/ " xmlns:wsdlsoap =" http://schemas.xmlsoap.org/wsdl/soap/ " xmlns:xsd =" http://www.w3.org/2001/XMLSchema " xmlns:ns =" http://schemas.xmlsoap.org/soap/encoding/ " xmlns:myns =" http://MyNamespace " targetNamespace =" http://MyNamespace "> 
>             < wsdl:types > 
>                         < xsd:schema elementFormDefault =" qualified " version =" 1.0.0.3 " targetNamespace =" http://MyNamespace "> 
>                                     < xsd:element name =" Operation1Content "> 
>                                                 < xsd:simpleType > 
>                                                             < xsd:restriction base =" xsd:duration "> 
>                                                                         < xsd:minInclusive value =" P0Y0M0DT0H0M0S "/> 
>                                                             </ xsd:restriction > 
>                                                 </ xsd:simpleType > 
>                                     </ xsd:element > 
>                         </ xsd:schema > 
>             </ wsdl:types > 
>             < wsdl:message name =" Operation1Msg "> 
>                         < wsdl:part name =" body " element =" myns:Operation1Content "/> 
>             </ wsdl:message > 
>             < wsdl:portType name =" MyPortType "> 
>                         < wsdl:operation name =" Operation1 "> 
>                                     < wsdl:input message =" myns:Operation1Msg "/> 
>                                     < wsdl:output message =" myns:Operation1Msg "/> 
>                         </ wsdl:operation > 
>             </ wsdl:portType > 
>             < wsdl:binding name =" MyBinding " type =" myns:MyPortType "> 
>                         < wsdlsoap:binding style =" document " transport =" http://schemas.xmlsoap.org/soap/http "/> 
>                         < wsdl:operation name =" Operation1 "> 
>                                     < wsdlsoap:operation soapAction =" MyOperation "/> 
>                                     < wsdl:input > 
>                                                 < wsdlsoap:body use =" literal "/> 
>                                     </ wsdl:input > 
>                                     < wsdl:output > 
>                                                 < wsdlsoap:body use =" literal "/> 
>                                     </ wsdl:output > 
>                         </ wsdl:operation > 
>             </ wsdl:binding > 
>             < wsdl:service name =" MyService "> 
>                         < wsdl:port name =" MyPort " binding =" myns:MyBinding "> 
>                                     < wsdlsoap:address location =" http://localhost:8080/MyService "/> 
>                         </ wsdl:port > 
>             </ wsdl:service > 
> </ wsdl:definitions > 
> This is the compilation error:
>     [javac] C:\sdk\axis2build\generatedClient\src\mynamespace\MyServiceStub.java:686: cannot find symbol
>     [javac] symbol  : method compare(org.apache.axis2.databinding.types.Duration,java.lang.String)
>     [javac] location: class org.apache.axis2.databinding.utils.ConverterUtil
>     [javac]                                                 if (org.apache.axis2.databinding.utils.ConverterUtil.compare(param, "") >= 0){
>     [javac]                                                                                                     ^

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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