Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

probably a silly question  RSS feed

jefff willis
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've just implemented JAVA RPC example from the book: Java Web Services (by Chappell and Jewell - O'Reilly Press).

It is an easy example to type in and execute. It uses an ISBN number to get a Branes and Noble price for that book.

The service endpoint was found at

When I "analyse the WSDL document" for that service, it tells me that the "default style" is RPC.

Now, I'd like to modify that O'reilly code to access another web service. I'd like to access the delayed stock service found at

You can also analyse the WSDL document for that service at

However, when I do, I see that the "default style" is not RPC but rather is "document".

Also, other WSDL parameters are not the same (e.g. soab body is a literal)

Surly this must mean that I need to modify my example, but I'm not sure how.

Is there an example anywhere of a web service client accessing a service of this type?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!