on 04-29-2015 9:16 AM
Hi Experts
I am currently working on an interface in which we have created a REST communication channel on the receiver side.
The below error comes up in the PI when we try to perform the GET operation on the URLs given below:
Error Message: HTTP error occurred: HTTP/1.1 400 Bad Request
URLs -
i) https://<myHost>:<myPort>/businesses/search?Keyword=Viridor&ResultsPerPage=10
ii) https://<myHost>:<myPort>/businesses/ec92a1e9-cef0-48aa-8800-a2e500ce8b1c/sites?Keyword=Viridor&ResultsPerPage=10
When we use SOAP UI to perform the above test, it works perfectly fine and fetches the required response from the target REST server.
Also, when we use the URL - https://<myHost>:<myPort>/businesses in the receiver communication channel in PI, it works fine and retrieves the
values of all the businesses present on the target server, however on making URL more specific - like the two URLs above, it does not work
and gives the bad request message.
Please can you let me know what could be the issue.
Thanks,
Maheswarareddy
Hi All,
Issue resolved:) ...that due to When calling a URL in the REST Receiver Channel, all GET variables are ignored
so we had to upgrade SP10 patch level 5 and all services are working as we expected.
Also pls check Note :2114322
Thanks,
Maheswarareddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.