Hi All,
I used pub.client:http service to invoke the another service that exist in the another server. It is executed successfully. I want know whether my approach is correct or not.
Invoked pub.client.http service.
- 
 1. Set the url as [URL]http://localhost:5555/invoke/DbSam/sample[/URL]
 
- 
 2. Method as post
 
- 
 3. loadAs is bytes
 
- 
 4. I declared one input document for this service, named as Input, which contains one string element called “eno”. I have mapped the Document Input to “args“ document that is in service in area.
 
- 
 5. Service in contains another doc called “auth” which contains user & pass, I gave the respectively.
 
Then when I run the service it worked correctly.
FYI:
The invoked service “sample” in localhost:5555 is expects one string input called “eno”
Is my approach is correct?
I used the following way to invoke the service via browser, I am using same approach here.
[URL]http://localhost:5555/invoke/DbSam/sample[/URL]
do we have any other way of using pub.client:http service to invoke the service in other server?
Thanks
Devi
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB