Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

An example other than style=document

 
ramesh agarwal
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic