on 07-25-2011 8:51 AM
hello everybody,
i'm working with SAP PI 7.1
I designed my interface IDOC-PI-HTTP.
when i send idoc from R3 i see this message in PI monitor:
HTTP server code 400 reason Bad Request explanation Bad Request
i tried to configure a HTTP port in SM59 and use it in my Communication Channell, but when i test connection i have same error.
I'm using a https address.
have you any suggestion?
thanks
Alex
Hello,
It would be best to consult with the third party (HTTP) to see what type of request they are expecting so that it saves development time e.g HTTP Method (in PI it is always POST), Content Type, SOAP Envelope?, etc...
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
seems the SOAP protocol is not a good method.
I concentrate me to use HTTP channell.
I already verify with 3 party developer. He confirmed me he is expecting i send data by POST.
Content type is a String.
i still to have this error:
HTTP server code 400 reason Bad Request explanation Bad Request
and he still to don't receive nothing.
one question:
he gave me a url address https://..
where i need set the parameter HTTPS??
In communication channell configuration i don't find nothing and in SM50 too
Hello,
I already verify with 3 party developer. He confirmed me he is expecting i send data by POST.
Yes, but how does the HTTP Body looks like?See sample webservice below:
http://ws.cdyne.com/delayedstockquote/delayedstockquote.asmx?op=GetQuickQuote and scroll down to see how an HTTP POST looks like
Content type is a String
Normally, the content-type for an http post is application/x-www-form-urlencoded. But then, you need to know the prolog and epilog in the http body.
he gave me a url address https://..
where i need set the parameter HTTPS??
https (http with ssl) is configured in mm59 type G (external server). To enable https, you need to select the SSL folder in which you have installed the CA (certificate authority) certs. Make sure that once you have installed the CA certs, you have performend an ICM Restart.
Hope this helps,
Mark
Edited by: Mark Dihiansan on Jul 25, 2011 11:21 AM
The Web server thinks that the data stream sent by the client was 'malformed' i.e. did not respect the HTTP protocol completely. So the Web server was unable to understand the request and process it.
Also you need to configure SSL in PI
http://help.sap.com/saphelp_nw70/helpdata/en/14/ef2940cbf2195de10000000a1550b0/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in SM59 no i set radiobutton SSL active (anonymous) and now i have error:
Error while creating the HTTP client with destination "my dest name"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.