Hmmm... I'm not sure there IS a way to do this..
If you do:
<jaxws:server id="MyService11" serviceClass="com.MyService"
address="/MyService">
<jaxws:binding>
<soap:soapBinding id="MyServiceSoap11" version="1.1"/>
</jaxws:binding>
</jaxws:server>
<jaxws:server id="MyService12" serviceClass="com.MyService"
address="/MyService">
<jaxws:binding>
<soap:soapBinding id="MyServiceSoap12" version="1.2"/>
</jaxws:binding>
</jaxws:server>
I think it will make the URL respond to both 1.1 and 1.2 requests (routing to
the correct instance above. But I don't think the WSDL itself would reflect
that.
Dan
On Monday 13 October 2008 9:37:45 am Maxime Orain wrote:
> Hello,
>
>
>
> I try to use SOAP 1.1 & 1.2 bindings in the same service but I didn't
> find how defining 2 bindings on 1 service.
>
>
>
> I try this:
>
> <jaxws:server id="MyService" serviceClass="com.MyService"
> address="/MyService">
>
> <jaxws:binding>
>
> <soap:soapBinding id="MyServiceSoap11" version="1.1"/>
>
>
> <soap:soapBinding id="MyServiceSoap12" version="1.2"/>
>
> </jaxws:binding>
>
> </jaxws:server>
>
> But it only generates one binding :-(
>
>
>
> I try also to set list but the result is the same :-(
>
>
>
> If someone has a configuration which permits to do this of an idea
> please help me ;)
>
>
>
> Thanks for reading,
>
>
>
> Maxime
>
>
>
>
>
> This email was sent to you by Thomson Reuters, the global news and
> information company. Any views expressed in this message are those of the
> individual sender, except where the sender specifically states them to be
> the views of Thomson Reuters.
--
Daniel Kulp
[EMAIL PROTECTED]
http://dankulp.com/blog