[Axis2/C] Attachments in Axis2/C

2007-07-26 Thread Subra A Narayanan
Hello folks, Another newbie question: >From what I understand, when a web service is called in a RESTful way, Axis2/C framework intercepts and automatically puts the parameters in a SOAP envelop before delivering it to the web service code. This means that a as far as the WS code goes, all client

error with configure script on solaris 9

2007-07-26 Thread sharada . deshpande
Hi, Getting the error below while running "./configure --enable-openssl=yes" script on solaris9. I am trying to build the latest source from http://people.apache.org/dist/axis2/nightly/c/. What do I have to do to fix the error? checking for LIBXML2... configure: error: The pkg-config sc

Re: Support for PUT/DELETE in Axis2/C

2007-07-26 Thread Samisa Abeysinghe
Subra A Narayanan wrote: Hello, I am new to Axis2/C and a basic question 1. When creating a RESTful web service using Axis2/C, can a web service be called using HTTP PUT rather than GET or POST. From whatever I have read, Axis2/C supports GET and POST but I haven't read anything about PUT o

Re: Services.xml

2007-07-26 Thread Samisa Abeysinghe
Raghavendra SM wrote: Hi Samisa, Please find the server code below, which is causing the problems as described by Manoj Rao. Please let me know if need more information than this. These are the skeleton functions of the server. I think I found the problem. In your my_svc_skeleton_ops_var

Support for PUT/DELETE in Axis2/C

2007-07-26 Thread Subra A Narayanan
Hello, I am new to Axis2/C and a basic question 1. When creating a RESTful web service using Axis2/C, can a web service be called using HTTP PUT rather than GET or POST. From whatever I have read, Axis2/C supports GET and POST but I haven't read anything about PUT or DELETE. The webservice will b

Re: [Axis2/C] Access to service context or environment

2007-07-26 Thread Shaun Mangelsdorf
Hi, Yes, In server side, When invoking You can get msg_ctx using that message context you will be able to get config_ctx or config. Thanks for the quick reply. I have had a look at the echo service in samples and I can't see where the message context is used. After looking through the axis2

Re: [Axis2/C] Attachments in Axis2/C

2007-07-26 Thread Subra A Narayanan
Hello Samisa, Thanks for the quick reply. Your answers are helping me understand whats doable and whats not. One of the requirements for the project that I am working on is that we have to let the clients make REST calls to our web service. Having said that, one more clarification. Pls tell me i

RE: Services.xml

2007-07-26 Thread Raghavendra SM
Hi Samisa, Please find the server code below, which is causing the problems as described by Manoj Rao. Please let me know if need more information than this. These are the skeleton functions of the server. -- 33 int AXIS2_CALL 34 my_init(axis2_svc_skeleton_

basic http authentication

2007-07-26 Thread Michael Mole
Hello, I'm trying to use basic http authentication with Axis2/c. I know when using the WSDL2Java tool with Axis1, it provides me with methods for setting the username and password. More specifically, they are setUsername and setPassword. The username token is then sent within the http heade

RE: Services.xml

2007-07-26 Thread Raghavendra SM
Oh Sorry, "acc_invoke" was a typo error, and it actually is "my_invoke". Even then I face the same problem. Please take another look & let us know if you need more information of any sort. Regards, ~raghav -Original Message- From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED] Sent: Fri

Re: [Axis2/C] Attachments in Axis2/C

2007-07-26 Thread Samisa Abeysinghe
Subra A Narayanan wrote: Hello folks, Another newbie question: From what I understand, when a web service is called in a RESTful way, Axis2/C framework intercepts and automatically puts the parameters in a SOAP envelop before delivering it to the web service code. This means that a as far

Re: error with configure script on solaris 9

2007-07-26 Thread Sahan Gamage
Hi Sharada,' Do you have pkg-config installed in your system. (you can verify by executing pkg-config command). If not you can install it and then try to execute configure. If pkg-config is already in your system try setting the environment variable PKG_CONFIG to the absolute path of the pkg-conf