ObjectServiceFactory has constructor paramter of Map type, you can put
there most of configuration options. But because you use annotations
you should use AnnotationServiceFactory instead of
ObjectServiceFactory, so use/style will be configured according to
annotaions settings.

On 2/3/07, Aymeric Alibert <[EMAIL PROTECTED]> wrote:

 I am exposing a service using XFire and JSR-181 annotations.  Everything
works fine but I got a requirement to use BARE parameter style.
I use  the following annotation: @SOAPBinding(parameterStyle=
SOAPBinding.ParameterStyle.BARE)

Before switching to BARE, I could test my service using the XFire Proxy:
Service serviceModel = new ObjectServiceFactory().create(YourService.class);
YourService service = (YourService) new
XFireProxyFactory().create(serviceModel, "
http://your/remote/url";);

Now I need to tweak the request to use BARE instead of the default WRAPPER
parameter style.
ObjectServiceFactory contains setter to change the USE and STYLE, but I
can't find how to change the parameter style.

Is is possible with the proxy?

Thanks,

Aymeric





--
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to