Hi,
I am trying to use a web service in my form, but it seems like READER cannot consume web services.
So what I have done is created a web page that accepts a query string as the parameter, and the web page then buffers the return value back.
Now how would I go about consuming this in Adobe Professional 8?
What I have is a text box which the user will enter in the data which becomes my input parameter. So I need to concatenate the GET URL string e.g.
http://mydomain.com/website/service.aspx?val=
I then need to submit this request, and capture the response and stick it into another text box.
So for simplicity sakes, lets say the button is called btnSubmit and there are 2 textboxes, txtInputParamter, and txtOutputValue.
Can some one advise how I would do this using Adobe javascript API please?
Thanks
This is what I have done so far.
I added a BUTTON to the form and in the onmousedown event I add the following code
var val = txtInputParameter.rawValue;
event.target.submitForm("http://website/web/service.aspx?id=" + val);
Now, this will send the HTTP Request to my web page where it extract the ID query string and does its processing. I then need to return a string value back, so in the web page I buffer it out to the response.
Now how can my adobe form get this string result and display it in a text field?
Right now it just shows the rendered HTML response.
Thanks