Hi 

You can just set the SOAPAction in the client main program by using
following code.

ws->setTransportProperty("SOAPAction" , "SERVICE#METHOD");

here 'ws' is your service stub.

Regards,
Dushshantha

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 26, 2005 6:43 PM
To: [email protected]
Subject: Client calling several functions problem


Hi everybody,

I have an axis c++ 1.5 server and client.
The server has two methods. When I call
the second method (after having called the
first) my server crashes. Apparently this
line in the client causes the problem:

if (NULL==m_pCall->getTransportProperty("SOAPAction",false))
{
 m_pCall->setTransportProperty(SOAPACTION_HEADER , "SERVICE#METHOD");
}

m_pCall->getTransportProperty does not return
null and therefor the new method name is not
set in the Call object. Anyone knows why this
is happening? Why is the if case there, could
I just remove it as a quick fix?

Thanks
Anders

Reply via email to