On Thu, Oct 2, 2008 at 11:38 AM, Simon Laws <[EMAIL PROTECTED]>wrote:
> I'm looking for a little insight as to how the JMS default data binding > should work when text/xml messages are in force. > > The JMS spec says that when there is a single operation parameter then the > message body is the XML serialization of that single parameter. It goes on > to say that when there are multiple parameters the message body is encoded > using the document wrapped style. So would you expect the following: > > > Single parameter > > <name>Fred Bloggs</name> > > Multiple parameter > > <getPersonGreetings> > <firstName>Fred</firstName> > <lastName>Bloggs</lastName> > </getPersonGreetings> > > What happens if someone adds an implementation.wsdl to a reference/service > that is not doc/lit/wrapped? > > Regards > > Simon > I guess ideally the JMS message body would still be encoded using the doc/lit wrapped style regardless of the reference/service interface right? Not sure what would actually happen in the current code though. As a slightly related FYI, the current code doesn't follow the spec on this. Currently it will use the wrapped style for both of those cases and also the return value will also always be wrapped where as the spec says it shouldn't be. Probably need the changes to support the new wireFormat to fix this as its a bit hard with the current Tuscany code. ...ant