Skip to Content
0
Former Member
Nov 18, 2010 at 12:56 PM

HTTP Post not working

127 Views

Hi,

We are tried to call one jsp page thru HTTP Post. This JSP page will return output as XML.

URL:

http://<IP>:<Port>/com/genrad/app/xml/client/DataExchangeInterface.jsp?message=<REQUEST><IMPORT><SITE>TEST1</SITE></IMPORT></REQUEST>

If i give this URL in HTTP Post URL and execute it is showing error as Action Failed.

But if i call this URL from any page which is inside workbench, it is returning the result XML.

I tried by splitting it also like http://<IP>:<Port>/com/genrad/app/xml/client/DataExchangeInterface.jsp?message= in URL and <REQUEST><IMPORT><SITE>TEST1</SITE></IMPORT></REQUEST> in document to post. but it is not working.

Content-type and encoding are same as default (application/x-www-form-urlencoded, UTF-8). But still it is showing same Action failed message.

How to call this?

Regards,

Senthil