Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1 Final
-
None
-
Windows
Description
In the following, Ret is unitialized if m_pCall->Invoke fails. Seems to me that Ret should be assigned to the result of m_pCall->Invoke.
xsd_string InteropTestPortType::echoString(xsd_string Value0)
{
xsd__string Ret;
if (AXIS_SUCCESS != m_pCall->Initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL)) return Ret;
m_pCall->SetTransportProperty(SOAPACTION_HEADER , "base#echoString");
m_pCall->SetSOAPVersion(SOAP_VER_1_1);
m_pCall->SetOperation("echoString", "http://soapinterop.org/");
m_pCall->AddParameter((void*)&Value0, "inputString", XSD_STRING);
if (AXIS_SUCCESS == m_pCall->Invoke())
{
if(AXIS_SUCCESS == m_pCall->CheckMessage("echoStringResponse", ""))
}
m_pCall->UnInitialize();
return Ret;
}