How to make same service call different Forms Servers, without editing the service? Follow
This note refers to the case when you have a web service that was created on a specific Forms server, and you want this service to call multiple Forms servers without changing the service.
So, the Service definitions would remain the same, and by default it would be calling Forms Server A, but sometimes you would like the Service to call Forms server B, C or D.
See below the instructions on how to make it happen.
Instructions:
When you call the web service, add the following parameter to the query string/json request:
FormsUrl=<full forms url> |
For example:
http://<host>:<port>/ServiceManager/Macro/ExecMacro/getCustomerDetails?username=A&password=b&customerId=200&FormsUrl=http://<host>:<port>/forms/frmservlet?config=myForm
or:
POST http://<host>:<port>/ServiceManager/Macro/ExecMacro/getCustomerDetails
{
"username":"A",
"password":"b",
"customerId":"200",
"FormsUrl":"http://<host>:<port>/forms/frmservlet?config=myForm"
}
Comments
0 comments
Please sign in to leave a comment.