users@jax-ws.java.net

Re[2]: Enabling mtom at server side

From: Sergey Shepelevich <sergey_at_shepelevich.com>
Date: Fri, 23 Jun 2006 00:39:10 +0300

Hello Jitendra,

Thanks for quick reply. What exactly should I write at
webservices.xml ?

> Sergey Shepelevich wrote:

>>Hello all,
>>
>>How can I enable mtom at Sun Java Application System Server ?
>>I'm using NetBeans 5.5 for creation and deploying webservices.
>>
>>It is said in jax ws docs that I need to enable it at sun-jaxws.xml,
>>but I saw simewhere that it works for Tomcat & Weblogic, but not for
>>Sun Java Server since it has auto descriptor deployment.
>>
>>
> sun-jaxws.xml is used for primarily as servlet application deployment.
> Sun Java Server also supports it.

> You could also do the J2EE webservice or jsr-109 deployment. Based on
> the needs of the application you could create a webservices.xml
> descriptor or none.

>>Can someone advise of how to do that ? Thanks in advance.
>>
>>
> Oneway to do is to add @BindingType annotation with mtom binding id on
> the endpoint.

> For e.g.:
> @WebService(...)
> @BindingType(value=SOAPBinding.SOAP11HTTP_MTOM_BINDING)
> public class HelloImpl {

> Other option is to specify it in webservices.xml deployment descriptor.

> Jitu

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: users-help_at_jax-ws.dev.java.net




-- 
Best regards,
 Sergey                            mailto:sergey_at_shepelevich.com