aspose file tools*
The moose likes Web Services and the fly likes An example other than style=document Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "An example other than style=document " Watch "An example other than style=document " New topic
Author

An example other than style=document

ramesh agarwal
Greenhorn

Joined: Jun 10, 2008
Posts: 19
All Web Services examples I see have a style="document" in the binding.

What else can be there in place of "document" and are there any simple examples to see it in action.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
A web service can either use the document or the rpc style. To set the style used in your web service, provided that you use a code-first approach, you can use the style attribute in the @SOAPBinding annotation. Allowed values are found in the enumeration SOAPBinding.Style.
Regretfully, I do not have any links to example of JAX-WS RPC web services, but will get back if I find one.
Best wishes!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: An example other than style=document