HI,

I was experimenting with Axis C++ 1.5 this afternoon to writing a client to talk to a Axis Java web service deployed in tomcat. the code is pretty simple - though I call it "Index" - which only send a string to the web service which later could be pull back through another web service.

However, while I running it, I got:
Program received signal SIGABRT, Aborted.
[Switching to Thread -1208109376 (LWP 27284)]
0x0065a402 in __kernel_vsyscall ()
(gdb) backtrace
#0  0x0065a402 in __kernel_vsyscall ()
#1  0x04699118 in raise () from /lib/libc.so.6
#2  0x0469a888 in abort () from /lib/libc.so.6
#3  0x06ca6577 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#4  0x06ca65c4 in std::terminate () from /usr/lib/libstdc++.so.5
#5  0x06ca679c in __cxa_rethrow () from /usr/lib/libstdc++.so.5
#6 0x004769bf in initialize_module () from /opt/axiscpp/lib/libaxis_client.so
#7  0x00477f67 in axiscpp::Call::Call ()
  from /opt/axiscpp/lib/libaxis_client.so
#8  0x004629d2 in axiscpp::Stub::Stub$base ()
  from /opt/axiscpp/lib/libaxis_client.so
#9  0x080505f3 in Index (this=0xbfafd3b0)
   at ../../simmanager/searchClient/src/ws/Index.cpp:19
#10 0x0804ea99 in SearchDialog (this=0xbfafd374, parent=0x0)
   at ../../simmanager/searchClient/src/gui/SearchDialog.cpp:39
#11 0x0804cd28 in main (argc=1, argv=0xbfafd4b4)
   at ../../simmanager/searchClient/src/main.cpp:44

the exception come out  from following code at the line with a ">>>" prefix:
Index::Index(const char* pchEndpointUri, AXIS_PROTOCOL_TYPE eProtocol)
:Stub(pchEndpointUri, eProtocol)
{
}

Index::Index()
>>>:Stub(" ", APTHTTP1_1)
{
m_pCall->setEndpointURI("http://172.16.53.33:8080/simdesk/services/Index";);
}

Index::~Index()
{
}

I wonder what's I am missing? I do setup following the instruction (the AXISCPP_DEPLOY, axiscpp.conf).
my axiscpp.conf looks like this:
ClientLogPath:/opt/axiscpp/log/AxisClientLog
XMLParser:/usr/lib/libxerces-c.so
Transport_http:/opt/axiscpp/lib/libhttp_transport.so
Channel_HTTP:/opt/axiscpp/lib/libhttp_channel.so

Thanks a lot for your help!
Tao

Reply via email to