Re: axutil_env_t in multi-threaded environment

2008-09-04 Thread Manjula Peiris
On Thu, 2008-09-04 at 18:06 -0700, Tammy Martin wrote: > Hello, > > When I create a axutil_env_t , axutil_env_create_all axis2c call. Can > I use the same enviroment for multiple web service clients or do I > need to create a new environment for each new web service client that > I create? No y

Re: problem with upload to REST-enabled service

2008-09-04 Thread Manjula Peiris
Can you capture the message which is sent to the server ? On Thu, 2008-09-04 at 17:19 -0400, Arnie Chien wrote: > Hi, > I'm trying to upload an image to an axis2c server. The image is handled by > a service which is REST-enabled (modeled after the echo sample). The > services.xml is > > >

Re: forward declaration in generated adb files causes a C++ error

2008-09-04 Thread Dimuthu Gamage
Hi Tammy, I m not sure this time your suggestion is a valid one. Just check this header, https://svn.apache.org/repos/asf/webservices/axis2/trunk/c/axiom/include/axiom_attribute.h and the source file, https://svn.apache.org/repos/asf/webservices/axis2/trunk/c/axiom/src/om/om_attribute.c which i

axutil_env_t in multi-threaded environment

2008-09-04 Thread Tammy Martin
Hello, When I create a axutil_env_t , axutil_env_create_all axis2c call. Can I use the same enviroment for multiple web service clients or do I need to create a new environment for each new web service client that I create? Inside of the code for axutil_env_create_all, I saw some code for thread p

Re: forward declaration in generated adb files causes a C++ error

2008-09-04 Thread Tammy Martin
Hello Dimuthu, Sorry for the delay in response...I tried your fix but unfortunately it did not work for me. It appears that the structure definition and the typedef need to be in the header file in order for the C++ to compile... Like this: #include #include #include #include #include str

Re: wsdl2c question

2008-09-04 Thread Dimuthu Gamage
Hi Raghu, This can be due to 'UserCode' name is used for an element and 2 types (in different namespaces but with same name) in your WSDL. Just try to build the adb model depending on what is actually required. For an example if you generating stub you can start with the axis2_stub_your_service.

problem with upload to REST-enabled service

2008-09-04 Thread Arnie Chien
Hi, I'm trying to upload an image to an axis2c server. The image is handled by a service which is REST-enabled (modeled after the echo sample). The services.xml is KIPSvc POST getVC The client is written in Java, but does not use the axis2 API; it j

wsdl2c question

2008-09-04 Thread Raghu Udupa
Hi, I am using wsdl2c tool to generate C code for model object with ADB bindings. For each XML element, I see 3 sets of files like adb_UserCode.c adb_UserCode.h adb_UserCode_type0.c adb_UserCode_type0.h adb_UserCode_type1.c adb_UserCode_type1.h I would like to know how what each combi

Re: Clean-up and Freeing (and nnexpected close-tags being created)

2008-09-04 Thread Andy Karseras
The following code illustrates the problem... void myClient::testMethod() { const axis2_char_t *prefix = "cwmp"; const axis2_char_t *uri = "urn:dslforum-org:cwmp-1-0"; axiom_namespace_t *ns = axiom_namespace_create(env, uri, prefix); axiom_namespace_t *empt

Re: [AXIS2C] better output

2008-09-04 Thread Martina08
hi, yes i think Xalan C++ is a good solution..Thanks, best regards -- View this message in context: http://www.nabble.com/-AXIS2C--better-output-tp19290020p19308781.html Sent from the Axis - C++ - User mailing list archive at Nabble.com.

Re: Clean-up and Freeing (and nnexpected close-tags being created)

2008-09-04 Thread Andy Karseras
Thanks for your reply. It seems that the problem occurs even when I create a new service client and payload on each time I resend. Would this be expected ? On Wed, Sep 3, 2008 at 9:05 PM, Samisa Abeysinghe <[EMAIL PROTECTED]> wrote: > I think this occurs because you are violating the ownershi

Re: Simple SOAP Simulators

2008-09-04 Thread Samisa Abeysinghe
Nikhil Koranne wrote: Hi Rajika, I am looking for 3 features : 1. Simultor should respond to my SOAP requests. (just plain simple response) 2. Simulator should send SOAP Faults 3. Simulator should allow to monitor SOAP messages. You can write services and clients to do these simulations.

Re: Simple SOAP Simulators

2008-09-04 Thread Rajika Kumarasiri
On Thu, Sep 4, 2008 at 1:03 PM, Nikhil Koranne <[EMAIL PROTECTED]>wrote: > Hi Rajika, > Hi, You can do all three of these in command prompt, but not with a GUI with Axis2/C. -Rajika > > I am looking for 3 features : > > 1. Simultor should respond to my SOAP requests. (just plain simple > respon

Re: Simple SOAP Simulators

2008-09-04 Thread Nikhil Koranne
Hi Rajika, I am looking for 3 features : 1. Simultor should respond to my SOAP requests. (just plain simple response) 2. Simulator should send SOAP Faults 3. Simulator should allow to monitor SOAP messages. Thanks Nikhil   - Original Message From: Rajika Kumarasiri <[EMAIL PROTEC

Re: Simple SOAP Simulators

2008-09-04 Thread Rajika Kumarasiri
On Thu, Sep 4, 2008 at 12:05 PM, Nikhil Koranne <[EMAIL PROTECTED]>wrote: What exactly do you want to do? Do you want to monitor the SOAP messages that travel through the wire ? > Hi, > > I would like to know if there are any open source GUI based SOAP simulators > available? I searched for some,

Re: Simple SOAP Simulators

2008-09-04 Thread Supun Kamburugamuva
Hi Nikhil, AFAIK axis2/c doesn't have a GUI based SOAP simulator. Thanks, Supun.. On Thu, Sep 4, 2008 at 11:35 AM, Nikhil Koranne <[EMAIL PROTECTED]>wrote: > Hi, > > I would like to know if there are any open source GUI based SOAP simulators > available? I searched for some, but couldn't find m