Re: printing SOAP response

2009-09-08 Thread Kevin Steves
On Mon, Sep 07, 2009 at 08:17:40AM +0530, Selvaratnam Uthaiyashankar wrote: : Normally a SOAP body should have only one element. Having more than : one element cases might not work correctly with many scenarios, : specially security scenarios. can you expand on this and the problem scenarios? it

Re: printing SOAP response

2009-09-07 Thread Kevin Steves
On Mon, Sep 07, 2009 at 08:17:40AM +0530, Selvaratnam Uthaiyashankar wrote: : On Sat, Sep 5, 2009 at 9:40 PM, Kevin Steves wrote: : > is payload the SOAP body?  it contains 2 elements.  is it : > correct to only see the first with axiom_node_to_string()? : : Normally a SOAP body should hav

Re: printing SOAP response

2009-09-05 Thread Kevin Steves
On Sat, Sep 05, 2009 at 09:36:53AM +0530, Rajika Kumarasiri wrote: : On Sat, Sep 5, 2009 at 1:54 AM, Kevin Steves wrote: : > output from axiom_node_to_string(): : > : > Received OM: http://www.trustedcomputinggroup.org/2006/IFMAP/1 : > ">10.136.244.254 : > : : This i

Re: printing SOAP response

2009-09-04 Thread Kevin Steves
On Sat, Sep 05, 2009 at 01:35:19AM +0530, Rajika Kumarasiri wrote: : On Sat, Sep 5, 2009 at 1:20 AM, Kevin Steves wrote: : hi Kevin, : Try axis2_char_t * axiom_node_to_string(axiom_node_t *, axis2_env_t *); : : Is there a way to print the SOAP response message in a client (as a : > string)

printing SOAP response

2009-09-04 Thread Kevin Steves
Is there a way to print the SOAP response message in a client (as a string) for debugging purposes? I've been digging through the archives and didn't find anything. I'm using the service client API. tcpmon isn't an option because the service is https-only.

Re: setting server cert from the api

2009-09-01 Thread Kevin Steves
On Tue, Sep 01, 2009 at 09:05:53AM +0530, Selvaratnam Uthaiyashankar wrote: : You have to create an axutil_property_t* and set the server cert : there. The following snippet is wrong: : : : axis2_options_set_property(options, env, AXIS2_SSL_SERVER_CERT, : server_cert_path) : : : It should be :

Re: setting server cert from the api

2009-08-31 Thread Kevin Steves
haven't figured this out yet, but what I am seeing in tracing with gdb, is we get to http_sender.c:axis2_http_sender_configure_server_cert(). axis2_msg_ctx_get_property() returns a non-NULL (axutil_property_t*), however the value member has a non-NULL but invalid pointer (as returned by axutil_pro

Re: setting server cert from the api

2009-08-28 Thread Kevin Steves
On Fri, Aug 28, 2009 at 08:44:44PM +0530, Selvaratnam Uthaiyashankar wrote: : Can you attach your client code? yes, attached. #include #include #include #include #include #include #include #include #define CLIENT_HOME "/usr/local/axis2c"; void usage(void); axiom_node_t *build_om_pay

Re: setting server cert from the api

2009-08-27 Thread Kevin Steves
On Thu, Aug 27, 2009 at 09:26:32PM +0530, Selvaratnam Uthaiyashankar wrote: : Can you try whether following works for you? : : axis2_options_set_property(options, env, AXIS2_SSL_SERVER_CERT, property); thanks. tried that. it crashes in openssl now. some kind of pointer issue. any ideas? [Thu

setting server cert from the api

2009-08-26 Thread Kevin Steves
Is the only way to do this via axis2_http_client_set_server_cert()? if so, how does one get a (axis2_http_client_t*) when you have a (axis2_svc_client_t*)?

compile warnings on OpenBSD: util/src/dir_handler.c

2009-08-24 Thread Kevin Steves
trying to build 1.6.0 on openbsd (Jul 9 snapshot) and get the warnings below. removed -Werror from util/src/Makefile to complete the build. the scandir() prototype is: int scandir(const char *dirname, struct dirent ***namelist, int (*select)(struct dirent *),