Hi Josef,

Thanks a lot for the reply. Please find my concern inline.

Regards.

S.S

On Tue, Feb 21, 2012 at 9:30 AM, Stadelmann Josef <
josef.stadelm...@axa-winterthur.ch> wrote:

> Hi S.S****
>
> ** **
>
> build_om_payload_for_myservice
>
This will build the OMElement programmatically.

> ****
>
> ** **
>
> 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.
>
Can you please, forward any pointer to an example ?

> ****
>
> ** **
>
> 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.
>
For building the OMElement programmatically, I need to have input from the
client, e.g, in my case, Interface name (eth0) and IP address
(192.168.1.1), etc. How do I take input from user ? My question could be
very naive so please bear with me as I am new to this stuff.

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

> ****
>
> Josef****
>
> ****
>
> ** **
>
> *Von:* Shuaib Siddiqui [mailto:shua...@gmail.com]
> *Gesendet:* Montag, 20. Februar 2012 17:13
> *An:* c-user@axis.apache.org
> *Betre**ff:* 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