Hi S.S

 

build_om_payload_for_myservice 

 

we can't comment.

 

But if your intention is to build a OMElement from a String then I can
only say that the string needs to be a well formed SOAP XML Payload.

 

You want get from the address line of any browser a complex object as
OMElement is. 

So what you need is a real axis2c_client, then build your OMElement
programmatically and pass it to the service. 

 

With a browser you can only send simple data types like strings and
int's etc. to the service but certainly NOT OMElement.

Josef

 

Von: Shuaib Siddiqui [mailto:shua...@gmail.com] 
Gesendet: Montag, 20. Februar 2012 17:13
An: c-user@axis.apache.org
Betreff: Reading multiple input from client for POST method

 

Hi,

I am very new to axis2/c and web services in general. My goal is to
implement a service that takes in different values for an ethernet
interface (e.g., ip address, name, etc) as input and make respective
changes in the kernel of the target machine. It will be a POST REST
method and I've gone through the echo example but in that input from
client, "Hello World" string is predefined. I want to take the input
from the client through web browser and then feed it to the
build_om_payload_for_myservice. 
Does anyone has any pointer to such an example ? Or how can we go about
this problem ?

Any help would be highly appreciated.

Regards,

S.S

Reply via email to