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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply 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
Bartender

Joined: Oct 04, 2006
Posts: 2193
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: An example other than style=document
 
Similar Threads
Document Style
Using XSL & XML within a JSP
Web service vs. custom XML over HTTP solution?
Code Style on exam
RPC vs Document Style