Error at client:SoapClient - [ISS.0085.9281] Http Error: 400 - Bad Request

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.

I’m using 7.1.2, with these fixes being applied -

IS_7-1-2_Core_Fix7
IS_7-1-2_FlatFile_Fix2
IS_7-1-2_Flow_Fix2
IS_7-1-2_SrvPrtcl_Fix6
IS_7-1-2_WebSvcsXML_Fix6
IS_7-1-2_XA_Fix1

Thanks,
Nandan

general cause when 400 Bad Request error:

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

  1. 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.
  2. 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.

HTH,
RMg

thanks for the pointer RMG,
The issue was with the URL. it had a “space” inbetween.

UH!..good catch…:slight_smile: