• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

What style should i use RPC or Document for thsi scenario?

 
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,

I am developing a web service using JAX WS Approach , which will be responsible to accept a
Location (a place) and will be responsible to retun a X and Y Coordinates of that particular location .
I am using a normal java interface as my Servicxe End Point Interface .



please tell me what style should i use that is RPC or Document .
Because in of the web site i read that go for Documnet style when you want the session to be maintained .


In my scenario ( that is in my Application ), a user can use my web service for multiple locations (that his he can use it for making multiple requests , passing the location name )

So , please let me know should i use RPC or Document ??

Thanks in advance .
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
Document or RPC style only affect the contents of the SOAP body and has nothing to do whether it is possible to maintain a session or not.
If there are no special reasons to choose RPC, the go for Document style.
Best wishes!
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Document or RPC style only affect the contents of the SOAP body and has nothing to do whether it is possible to maintain a session or not.


Thanks for this Ivan .

 
Tell me how it all turns out. Here is a tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic