axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colm Brady <colm.br...@roamware.com>
Subject Re: Best practices to support same services for WSDL 1.2 and 2.0
Date Wed, 18 Apr 2012 12:40:46 GMT
Thank you.

On 18/04/2012 13:35, Sagara Gunathunga wrote:
>
>
> On Wed, Apr 18, 2012 at 3:42 PM, Colm Brady <colm.brady@roamware.com 
> <mailto:colm.brady@roamware.com>> wrote:
>
>     Dear Sagara,
>
>     Many thanks for the response, however, if I use the
>     "useOriginalwsdl = true" parameter how is it possible to expose
>     both "User Defined" wsdls?
>
>     My services directory is exploded, and I have the WSDL 1.2 version
>     exposed. How do I expose the WSDL 2.0 version?? Using "?wsdl2"
>     parameter returns an Axis2 "generated" WSDL 2.0 file. I want to
>     expose my custom WSDL 2.0 file.. Is this possible? How?
>
>
> There is a open issue here[1] to enable "useOriginalwsdl" option for 
> WSDL 2.0 and the issue will be fixed soon. BTW Axis2 expect to have a 
> file called "ServiceName.wsdl" to pick up as the original WSDL 
> regardless it's version hence it's not possible to have two files same 
> time. I'm not sure feasibility to introduce new extension ( wsdl2 ?) 
> to achieve this.
>
>  [1] - https://issues.apache.org/jira/browse/AXIS2-5191
>
> Thanks !
>
>
>     ETransactionsServiceV3 -|
>             META-INF -|
>                     ETransactionsServiceV3.wsdl
>                     services.xml
>
>
>     On 18/04/2012 10:57, Sagara Gunathunga wrote:
>>     Yes this is possible and there is no issue with it.
>>
>>     Thanks !
>>
>>     On Wed, Apr 18, 2012 at 3:25 PM, Colm Brady
>>     <colm.brady@roamware.com <mailto:colm.brady@roamware.com>> wrote:
>>
>>         Dear Users,
>>
>>         I have a axis2 service deployed. I would like SOAP clients
>>         and restful clients to consume the same service. Some SOAP
>>         clients only support WSDL 1.2. I need WSDL 2.0 for the
>>         RESTful clients (as per Axis2 docs). Ideally, I would like my
>>         "user defined" WSDL 1.2 and WSDL 2.0 to be avilable to the
>>         client, via ?wsdl and ?wsdl2. Is this possible?
>>
>>         Also - Is this best practice?
>>
>>         Regards
>>
>>         Colm
>>
>>
>>
>>         ---------------------------------------------------------------------
>>         To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>>         <mailto:java-user-unsubscribe@axis.apache.org>
>>         For additional commands, e-mail:
>>         java-user-help@axis.apache.org
>>         <mailto:java-user-help@axis.apache.org>
>>
>>
>>
>>
>>     -- 
>>     Sagara Gunathunga
>>
>>     Blog      - http://ssagara.blogspot.com
>>     Web      - http://people.apache.org/~sagara/
>>     <http://people.apache.org/%7Esagara/>
>>     LinkedIn - http://www.linkedin.com/in/ssagara
>
>
>
>
> -- 
> Sagara Gunathunga
>
> Blog      - http://ssagara.blogspot.com
> Web      - http://people.apache.org/~sagara/ 
> <http://people.apache.org/%7Esagara/>
> LinkedIn - http://www.linkedin.com/in/ssagara

Mime
View raw message