Thanks, that helps a lot. I'm now stuck with a different problem. RPC/Encoded style messages require the types to be specified for parameters and return values. Is there some way of finding the return parameter type information from the Message object?
Thanks, John -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Roberts Sent: Wednesday, August 20, 2008 7:08 PM To: [email protected] Subject: Re: Using document/literal and rpc/encoded in same web service John Hite wrote: > 2) is there some way of marking the > messages on the way in so I know which messages need to be translated on > their way out? The in and out messages share the same Exchange object, so in your "in" interceptor, something like: message.getExchange().put("shouldUseRpcEncoded", Boolean.TRUE); and in your "out" interceptor: if(Boolean.TRUE.equals(message.getExchange().get("shouldUseRpcEncoded"))) { ... } Ian -- Ian Roberts | Department of Computer Science [EMAIL PROTECTED] | University of Sheffield, UK
