Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Call WebService on startup

Not applicable
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
2 Replies
Not applicable
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
Not applicable
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