Showthe changes to GoSlowthat will be required if customers invoke makeTripOp using a one-way pattern and pass an endpoint reference for a callback.

What will be an ideal response?

itineraryMsg has an additional part:




Each customer must support a callback port type to receive a response from GoSlow:







The partner link type for connecting the customer to Goslowmust be changed to indicate that both ends of the connection support port types:










The partner link declaration in the customer must nowdeclare a value for myRole (myRole=‘‘cust’’ (previously it only needed to declare that the value for partnerRole was travelService). The partner link declaration in GoSlowbecomes:


myrole=‘‘travelService’’ partnerRole=‘‘cust’’/>


Assuming, as in the text, that GoSlowreceives the invocation message from the customer in variable itineraryVar, prior to responding to the customer Goslow must assign the end point reference contained in itineraryMsg to its partner link:








Finally, the statement in GoSlowthat returns a response to the customer becomes an invoke (instead of a reply):

operation=‘‘custCallbackOp’’ variable=‘‘itineraryRespVar’’/>

Computer Science & Information Technology

You might also like to view...

Which type of attack includes SYN Flood, broadcast amplification attacks, and buffer overflow?

A. DoS-related B. Brute force-related C. Man-in-the-middle-related D. IP service-related

Computer Science & Information Technology

An input, such as a cell reference or value, needed to complete a function.

What will be an ideal response?

Computer Science & Information Technology