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 "Sagara Gunathunga (Created) (JIRA)" <ji...@apache.org> on 2011/11/22 02:02:41 UTC

[jira] [Created] (AXIS2-5191) Axis2 should support to use "useOriginalWSDL" property for WSDL 2.0

Axis2 should support to use "useOriginalWSDL" property for WSDL 2.0
-------------------------------------------------------------------

                 Key: AXIS2-5191
                 URL: https://issues.apache.org/jira/browse/AXIS2-5191
             Project: Axis2
          Issue Type: Improvement
          Components: kernel
            Reporter: Sagara Gunathunga 
            Assignee: Sagara Gunathunga 


Axis2 runtime ignore "useOriginalwsdl" property for WSDL 2.0 but it should support for this. 

<parameter name="useOriginalwsdl">true</parameter>
<parameter name="modifyUserWSDLPortAddress">true</parameter>

Also it is required to formalize use of this property. 

e.g - Specify "useOriginalwsdl" property in services.xml but don't put any WSDL file there :

  In this case ?wsdl generate correct error message but ?wsdl2 generate incorrect and partial WSDL 2.0 content. Here error message should be generated for both cases. 
              

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Resolved] (AXIS2-5191) Axis2 should support to use "useOriginalWSDL" property for WSDL 2.0

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

Sagara Gunathunga  resolved AXIS2-5191.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.0
         Assignee:     (was: Sagara Gunathunga )

Fixed in r1358607.
                
> Axis2 should support to use "useOriginalWSDL" property for WSDL 2.0
> -------------------------------------------------------------------
>
>                 Key: AXIS2-5191
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5191
>             Project: Axis2
>          Issue Type: Improvement
>          Components: kernel
>            Reporter: Sagara Gunathunga 
>             Fix For: 1.7.0
>
>         Attachments: Axis2-5191.patch
>
>
> Axis2 runtime ignore "useOriginalwsdl" property for WSDL 2.0 but it should support for this. 
> <parameter name="useOriginalwsdl">true</parameter>
> <parameter name="modifyUserWSDLPortAddress">true</parameter>
> Also it is required to formalize use of this property. 
> e.g - Specify "useOriginalwsdl" property in services.xml but don't put any WSDL file there :
>   In this case ?wsdl generate correct error message but ?wsdl2 generate incorrect and partial WSDL 2.0 content. Here error message should be generated for both cases. 
>               

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (AXIS2-5191) Axis2 should support to use "useOriginalWSDL" property for WSDL 2.0

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

Ranjana Prasad updated AXIS2-5191:
----------------------------------

    Attachment: Axis2-5191.patch

Hi Sagara,

This is the patch for this JIRA issue please review and provide your feedback. 
                
> Axis2 should support to use "useOriginalWSDL" property for WSDL 2.0
> -------------------------------------------------------------------
>
>                 Key: AXIS2-5191
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5191
>             Project: Axis2
>          Issue Type: Improvement
>          Components: kernel
>            Reporter: Sagara Gunathunga 
>            Assignee: Sagara Gunathunga 
>         Attachments: Axis2-5191.patch
>
>
> Axis2 runtime ignore "useOriginalwsdl" property for WSDL 2.0 but it should support for this. 
> <parameter name="useOriginalwsdl">true</parameter>
> <parameter name="modifyUserWSDLPortAddress">true</parameter>
> Also it is required to formalize use of this property. 
> e.g - Specify "useOriginalwsdl" property in services.xml but don't put any WSDL file there :
>   In this case ?wsdl generate correct error message but ?wsdl2 generate incorrect and partial WSDL 2.0 content. Here error message should be generated for both cases. 
>               

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS2-5191) Axis2 should support to use "useOriginalWSDL" property for WSDL 2.0

Posted by "Ranjana Prasad (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13240505#comment-13240505 ] 

Ranjana Prasad commented on AXIS2-5191:
---------------------------------------

I have built distribution module of Axis2 1.7.0-SNAPSHOT version and tested this issue using generated "Version" sample.  This feature worked properly for "Version" sample. I think this is not an issue. Please correct me if I'm wrong here. 
Options : 
<parameter name="useOriginalwsdl">true</parameter>
<parameter name="modifyUserWSDLPortAddress">true</parameter> 

                
> Axis2 should support to use "useOriginalWSDL" property for WSDL 2.0
> -------------------------------------------------------------------
>
>                 Key: AXIS2-5191
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5191
>             Project: Axis2
>          Issue Type: Improvement
>          Components: kernel
>            Reporter: Sagara Gunathunga 
>            Assignee: Sagara Gunathunga 
>
> Axis2 runtime ignore "useOriginalwsdl" property for WSDL 2.0 but it should support for this. 
> <parameter name="useOriginalwsdl">true</parameter>
> <parameter name="modifyUserWSDLPortAddress">true</parameter>
> Also it is required to formalize use of this property. 
> e.g - Specify "useOriginalwsdl" property in services.xml but don't put any WSDL file there :
>   In this case ?wsdl generate correct error message but ?wsdl2 generate incorrect and partial WSDL 2.0 content. Here error message should be generated for both cases. 
>               

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS2-5191) Axis2 should support to use "useOriginalWSDL" property for WSDL 2.0

Posted by "Sagara Gunathunga (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241050#comment-13241050 ] 

Sagara Gunathunga  commented on AXIS2-5191:
-------------------------------------------

Your observation is correct but this issue addresses a different problem.  Once you provide your own WSDL file within the META-INF directory WSDL20ToAxisServiceBuilder uses details on provided WSDL file  to construct a Axis2 service hence those details available on auto generated WSDL file too, Axis2 use AxisService2WSDL20 class to generate WSDL from a service.  Above described procedure results into your observation but there is a separate option called "useOriginalwsdl" which returns provided WSDL file without executing AxisService2WSDL20 class. Refer the AxisService#printWSDL(OutputStream out, String requestIP) method to understand this logic, it is required to apply same logic to printWSDL2() method. 

In WSDL 1.1 we use WSDLConstants.WSDL_4_J_DEFINITION to retrieve the document, in WSDL 2.0 you have to use  WSDLConstants.WSDL_20_DESCRIPTION   to retrieve the document then it should be serialized through the Woden WSDLWriter. 

Few weeks ago I have merged Woden read/write API to the trunk but still didn't have time to check its stability. For the moment you can forget about  "modifyUserWSDLPortAddress" option.  
                
> Axis2 should support to use "useOriginalWSDL" property for WSDL 2.0
> -------------------------------------------------------------------
>
>                 Key: AXIS2-5191
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5191
>             Project: Axis2
>          Issue Type: Improvement
>          Components: kernel
>            Reporter: Sagara Gunathunga 
>            Assignee: Sagara Gunathunga 
>
> Axis2 runtime ignore "useOriginalwsdl" property for WSDL 2.0 but it should support for this. 
> <parameter name="useOriginalwsdl">true</parameter>
> <parameter name="modifyUserWSDLPortAddress">true</parameter>
> Also it is required to formalize use of this property. 
> e.g - Specify "useOriginalwsdl" property in services.xml but don't put any WSDL file there :
>   In this case ?wsdl generate correct error message but ?wsdl2 generate incorrect and partial WSDL 2.0 content. Here error message should be generated for both cases. 
>               

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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