client code just have the stub generated by axis C++ call int main (int argc, char *argv[]) { printf("\n Hello main"); PortType stub((const char *)"http://device/xmlService",APTHTTP1_1);
return 0; } PortType class declaration(generated by axis c++) class PortType :*public Stub * { public: STORAGE_CLASS_INFO PortType(const char* pchEndpointUri, AXIS_PROTOCOL_TYPE eProtocol=APTHTTP1_1); STORAGE_CLASS_INFO PortType(); public: STORAGE_CLASS_INFO virtual ~PortType(); public: STORAGE_CLASS_INFO GetResp* get(GetReq* Value0); } generated constructor is empty Do i need to set the endpoint or anything here....new Call() or something like that to start????? PortType::PortType(const char* pcEndpointUri, AXIS_PROTOCOL_TYPE eProtocol) :Stub(pcEndpointUri, eProtocol) { } /** ****************************************************************************** * Constructor for service switchPortType. ****************************************************************************** */ PortType::PortType() :Stub(" ", APTHTTP1_1) { m_pCall->setEndpointURI("http://localhost/xapi"); } I get this runtime error... D:\New\Debug>ShN.exe Hello main This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. ---------- Does anyone see any error in this??? please respond...its very valuable to me..at this point... Thanks in advance!!!!!!