Http service Editor, soap service, how to declare parameters

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Http service Editor, soap service, how to declare parameters

gabri124
This post was updated on .
Hello I'm testing Orbeon forms, and I have a doubt about to put parameters on Http service.

I have declare this http service declared



But i wanna to put data in envolope from parameters from url that calls the form new.

How can i declare parameters inside the soap envelope? or declare variables and in the action put the request.getParameters...

I know how to declare no visible vars in my form and initial load data from the request.



But i dont know how to take this data or take fields from form and put inside soap envelope.



Can you help me, please

Thank's for reading my doubts.
Reply | Threaded
Open this post in threaded view
|

Re: Http service Editor, soap service, how to declare parameters

gabri124
This post was updated on .
I have found the solution.

Here it is if someone need it

This is my soap envelope



You can see that i dont have put any data inside envelope tags (centro, nhc....)

Then I define the action like this one



Then I only have to define with the XPATH where it has to put the field value inside SoapEnvelope

/*:Envelope/*:Body/*:infoepi/inputData/centro

NameSpace are not working cause Orbeon can't find the definition's namespace, then you can use * instead namespace name