Hi Mr. Anne Do you mean using org.apache.soap.messaging.Message instead of org.apache.axis.client.Call ?
Thanks a lot. Irineu Avan�o Junior -----Mensagem original----- De: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Enviada em: ter�a-feira, 12 de abril de 2005 18:37 Para: [email protected] Assunto: Re: Need to pass a SOAPEnvelope as a Call.invoke() parameter.... You need to use the message interface if you want to send a SOAPEnvelope. Anne On Apr 12, 2005 5:14 PM, Irineu Avan�o Jr. <[EMAIL PROTECTED]> wrote: > > > People... > > I am trying to send a SOAPEnvelope object using the invoke method > signature as shown below > > > SOAPEnvelope envelopeAxis = new SOAPEnvelope(); > > Call call = (Call) service.createCall(); > > call.setTargetEndpointAddress( url ); > > call.setOperationName( new QName("TermoPortabilidade", > "getTermSOAPEnv") ); > > > > call.setUsername( user ); > > call.setPassword( passwd ); > > ret = call.invoke(envelopeAxis ); > > String resp = (String) ret; > > > However there is an AxisFault being generated when I try to run my client > application as follows... > > > java.io.IOException: No serializer found for class > org.apache.axis.message.SOAPEnvelope in registry > > > Does anybody knows how to fix this Exception ?? > > Should I need to use a different Call.invoke() method signature ? > > Keep in mind that I need to send a SOAPEnvelope object as a invoke parameter > because it has attachments. > > Appreciate your help. > > Thanks a lot. > > Irineu Avan�o Jr. > > -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/4/2005
