Complying to WS-I BP 1.1 you are not allowed to define fault messages for one-way operations [1]. However, you may want to throw an exception in case, for example, the customer is a duplicate. How would you achieve this? Defining the operation as a request/response with an empty response signaling that the operation succeeded? Not that pretty in my opinion... Maybe you know another way? I mean: within a java/.net program you still want to be able to throw exceptions also for void-methods...
Posted: Fri Sep 30, 2011 4:31 am Post subject: Re: one-way operation faults
Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
nize wrote:
How would you achieve this?
Very interesting point you have here. You achieve this by dragging the appropriate Compute nodes to the canvas from the pallet. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum