Please recheck followings ..
AXIS2C_HOME = "to deployment directory"
LD_LIBRARY_PATH = $AXIS2C_HOME/lib:$LD_LIBRARY_PATH:
IIRC AXIS2_OPTIONS_GET_USE_SEPERATE_LISTENER() , use with dual channel scenario, (separate channels for receiver and sender). For simple echo client has nothing to do with it. It operates only in single channel.
AXIS2C_HOME environment variable is used by the client to get axis2.xml , find modules etc...
thanks,
Dinesh
On 9/29/06, Chris Darroch
<[EMAIL PROTECTED]> wrote:
Hi --
I've recently had cause to install Axis2/C 0.93 on Linux and I'm
attempting to get the basic echo service working. I'm a relative newbie
to the Axis world, so I apologize for the rudimentary questions. I've
got axis2_http_server running and, using telnet, I can confirm that
it is listening for requests to the basic echo service.
However, when I run the "echo" sample client program, it just
reports "echo client invoke FAILED!" on stdout, and the the log file
ends with the following:
echo.c(105) Stub invoke FAILED: Error code: 2 :: NULL paramater
was passed when a non NULL parameter was expected
The "google" sample client program does exactly the same thing;
in fact, they all do.
Tracing into the code a bit, what seems to be happen is that the
client program gets a NULL return value from
AXIS2_SVC_CLIENT_SEND_RECEIVE(). That macro runs the
axis2_svc_client_send_receive() function in the
modules/core/clientapi/svc_client.c file.
Now, I don't really understand what exactly that function is
doing (besides the obvious "send" and "receive", I mean). It gets
a false return from AXIS2_OPTIONS_GET_USE_SEPERATE_LISTENER(), which
causes it to execute a secondary block of code; that code ends up
getting a NULL return from AXIS2_OP_CTX_GET_MSG_CTX() and that's
what causes the axis2_svc_client_send_receive() to return NULL.
My only hunch is that I'm supposed to have some kind of "options"
set, such that AXIS2_OPTIONS_GET_USE_SEPERATE_LISTENER() would return
a true value ... but I really don't know if that's correct, and if it
is, what kind of option I should be setting, or where.
I'm just using the stock samples/server/axis2.xml file from
the distribution.
Help would be much appreciated! You can reach me at either
<[EMAIL PROTECTED]> or <[EMAIL PROTECTED] >. Thanks in advance!
Chris.
--
GPG Key ID: 366A375B
GPG Key Fingerprint: 485E 5041 17E1 E2BB C263 E4DE C8E3 FA36 366A 375B
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
W.Dinesh Premalal
http://xydinesh.blogspot.com/
