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. > > -- Dies KOPER <[EMAIL PROTECTED]> (changed on 1 July 2005) Fujitsu Ltd - MWPF1 (changed from MWPF3 on 21 Nov 2005) 2-15-16, Shin-Yokohama, Kouhoku-ku, Yokohama, 222-0033, Japan Tel. +81(45)-475-5605 (internal 7181-4217)
