I’m Consuming a webservice which expects 2 inputs, one - a string and the other a XML.
I’m getting [ISS.0085.9281] Http Error: 400 - Bad Request error when i invoke the webconnector.
I got the SOAP request that is being sent from the logs, and tried to invoke with the same SOAP msg in the SOAP UI tool… I was able to get the response back from the service successfully.
Any pointers to where I’m going wrong? or is there any known issue with the SoapClient.
The 400 Bad Request error is an HTTP status code that means that the request you sent to the website server (i.e. a request to load a web page) was somehow malformed therefore the server was unable to understand or process the request.
Resolution
Check for errors in the URL. The most common reason for a 400 Bad Request error is because the URL was typed wrong or the link that was clicked on points to a URL with some kind of mistake in it.
Though it’s rare, the 400 Bad Request error could be an issue with the web site’s server that you are trying to access. You may want to attempt to contact the webmaster or another site contact and inform them of the error message. The webmaster of most Internet sites can be reached via email at webmaster@[I]website.com[/i], replacing website.com with the actual website name.
Just check the above IS/OS level and remote site also.