> Why is the if case there, could I just remove it as a quick fix? If here is to make sure that the generated code does not override the SOAP action set on the stub object by the user (using setTransportProperty()).
Thanks, Samisa... -----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
