Highlighted

Call WebService on startup

Avatar

Guest

01-07-2008

I have a form that uses web services. A user enters a order number for an existing order and about 10 fields are populated. This works great.



I now want to pass the order number in when the form is launched and call the web service on start up/form load.



Thanks

Replies

Highlighted

Avatar

Guest

02-07-2008

Hi Chris,

By script you can execute web service also

//Javascript

xfa.connectionSet.YourWebServiceConnName.execute(1);



Since you bind the orderNumber to your web service's request parameter, web service will work correctly.



Hope helps,



Asiye
Highlighted

Avatar

Guest

02-07-2008

That looks easy enough. I just need to know how to pass the orderNumber into the PDF on startup. I need to populate teh orderNumber field before calling the web service.



I should mention that I am calling the PDF from a web application java/tomcat. I currently just have an http link to the PDF. I want to replace that with a call that would pass in the orderNumber.



Thanks