Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

One way RPC?

 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I remember there is a term one way RPC in the beta exam. Personally, I guess it means, there is a RPC that without return, like:
public void RPCMethod(Object o)

However, does this mean there is only the request sent to the Web services, without any response? (Response refers to any response type, not limit to the return, but may include HTTP callback, etc)

Thanks.

Nick
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One-way RPC means that the client invokes a remote method on the web service without blocking, that is, the client doesn't wait for the return value and goes on uninterrupted.
 
james edwin
Ranch Hand
Posts: 393
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One Way RPC and asynchronous messaging are same concept that means because
Participants in an asynchronous messaging system don't have to wait for a response from the recipient, because they can rely on the messaging infrastructure to ensure delivery.

Please confirm.

Regards,

James
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The client does NOT need to wait for the return value, however, does the HTTP response be sent back to the client when the client uses SOAP over HTTP?

Thanks for clarification.

Nick
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If memory serves me right, the server will return the HTTP code 202 which means that the request was accepted. Note however that when the server returns 202, it does not necessarly commit to process the request, just that it has accepted it. Note that the SOAP 1.1 spec (on which this exam is based!!) does not explicitely mandate that 202 should be used, any 2xx code would be fine, but 200 is strongly advised.
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also check out the WS-I Basic Profile on HTTP Success Status Codes.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic