You must pass a JavaBean that has one member, which is a string. If you run wsdl2java on your WSDL file, it should generate this JavaBean for you.
This service is defined as an unwrapped document/literal service (the input message element does not have the same name as the operation), therefore Axis cannot automaticaly marshal your parameters for you. If the service definition followed the wrapped convention, then you would be able to invoke the service using a string. Regards, Anne On 7/13/05, Antonio Capurso <[EMAIL PROTECTED]> wrote: > Hi to all, > I'm developing a java class (using Axis toolkit) that invokes a web service > in which for the operation called there are the following definitions: > > <message name="AppMailVerifier2RequestMessage"> > <part name="payload" element="tns:AppMailVerifier2Request" /> > </message> > <message name="AppMailVerifier2ResponseMessage"> > <part name="payload" element="tns:AppMailVerifier2Response" /> > </message> > > <portType name="AppMailVerifier2"> > <operation name="processo"> > <input message="tns:AppMailVerifier2RequestMessage" /> > <output message="tns:AppMailVerifier2ResponseMessage" /> > </operation> > </portType> > > And "tns:AppMailVerifier2Request" is a complex type defined as follow: > <element name="AppMailVerifier2Request"> > <complexType> > <sequence> > <element name="input" type="string" /> > </sequence> > </complexType> > </element> > > Which object have I to pass to the "invoke" method of Call? > If I send a string, the web service engine refuses the message, because it > recognizes the AppMailVerifier2Request message as a string, but the latter is > a complex type and not a string. > > Please help me! > Thanks a ton. > Regards, > Antonio Capurso. > > > > ____________________________________________________________ > 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! > Scaricalo su INTERNET GRATIS 6X http://www.libero.it > > >
