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.
>
>