axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sagara Gunathunga (Commented) (JIRA)" <>
Subject [jira] [Commented] (AXIS2-5191) Axis2 should support to use "useOriginalWSDL" property for WSDL 2.0
Date Thu, 29 Mar 2012 07:33:33 GMT


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:
>             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
> <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:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message