Here's an article from IBM comparing the styles: http://www-128.ibm.com/developerworks/webservices/library/ws-whichwsdl/
HTH, Robert http://www.braziloutsource.com/ Em Sexta 10 Março 2006 01:31, o Jordan R Lee escreveu: > Hi Dies, > > Thanks, this was actually the problem! > Using binding style = 'RPC' made it 'work.' > > Can someone please enlighten me as to the tradeoffs in choosing > Binding style = RPC vs binding style = Document? > > Thanks, > Jordan. > > > -----Original Message----- > From: Dies Koper [mailto:[EMAIL PROTECTED] > Sent: March 9, 2006 7:11 PM > To: [email protected] > Subject: Re: Receiving null Message Parameter > > Yes, if your method's style is "document", the request will contain one > document (the first part in your message). The second part is ignored. > > If you want to send two parts, you should either use style "rpc", or put > the parts in separate <message> (each with only 1 part). > > I could be wrong about the latter, and someone in this ML recently > mentioned that it did not work for him. > Hopefully Anne will read this and enlighten us :) > > Regards, > Dies > > Jordan Lee wrote: > > Hi, > > > > I've set up an Axis service, and am using a Java test client to test the > > port. > > > I am trying to use the driver to send the following type of Message: > > > > <wsdl:message name="returnAcceptanceInput"> > > <wsdl:documentation>This message is for > > acceptance</wsdl:documentation> > > > <wsdl:part name="header" type="nb:MessageHeader" /> > > > > <wsdl:part name="parameter" type="nb:Acceptance" /> > > </wsdl:message> > > > > When the method is called by WSDL on the service, > > 'header' comes through fine, but 'parameter' is null. Has anyone > > encountered this before? > > > thanks, > > Jordan. --
