| Author |
One way RPC?
|
Nicholas Cheung
Ranch Hand
Joined: Nov 07, 2003
Posts: 4982
|
|
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
|
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
|
 |
Valentin Crettaz
Gold Digger
Sheriff
Joined: Aug 26, 2001
Posts: 7610
|
|
|
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.
|
SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
|
 |
james edwin
Ranch Hand
Joined: Nov 22, 2001
Posts: 393
|
|
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
|
Regards,
James
|
 |
Nicholas Cheung
Ranch Hand
Joined: Nov 07, 2003
Posts: 4982
|
|
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
Joined: Aug 26, 2001
Posts: 7610
|
|
|
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
Joined: Aug 26, 2001
Posts: 7610
|
|
|
Also check out the WS-I Basic Profile on HTTP Success Status Codes.
|
 |
 |
|
|
subject: One way RPC?
|
|
|