Hi Anne,

Thank you for your reply :)

You mean I should build my request message with saaj?
And there is now automatic deserializing for the response!?

But what about setting the JSession for my call, when I am using
Saaj - I found no solution?

Is there no other way to tell my call, to do no deserialize for
my responsemessage???

Maybe with setProperty or a special returnType or anything else????

rpc.setMaintainSession(true);
rpc.setProperty(HTTPConstants.HEADER_COOKIE, backendSession);

rpc.setReturnType(XMLType.ANY_TYPE);

rpc.invoke(args);
                                                
MessageContext context = rpc.getMessageContext();
Message nachricht = context.getResponseMessage();

Thanks Thomas


-----Ursprüngliche Nachricht-----
Von: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 18. Juli 2004 03:23
An: [EMAIL PROTECTED]
Betreff: RE: no Deserializer?


You need to use the SAAJ API rather than the JAX-RPC API.

-----Original Message-----
From: Dorner Thomas [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 16, 2004 11:14 AM
To: '[EMAIL PROTECTED]'
Subject: no Deserializer?

Hi all,

I dont want AXIS to deserialize my response!
Is it possible to get only response Message without deserializing???

Problem:
when I do call.invoke(...)
I got a exception - cause my response looks like this:

<ns1:get_StuecklisteResponse xmlns:ns1="DIAwebWebService"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
            <return mapper="WebConnector.xml"
xsi:type="ns1:BusinessObjectList">
               <Stueckliste xsi:type="ns1:BusinessObject">
                  <BR xsi:type="xsd:string">C203</BR>

so my client automatically want to deserialize the response to
BusinessObject...

Is it possible to cancel this deserializing????

Thanks Tomi

Reply via email to