on 06-25-2010 7:56 PM
Hi sdners! I have a requirement in which XI has to make a HTTP Post, using html-form. I tried to do it with SOAP receiver adapter and StrictXml2PlainBean module. It responses "user required", but I'm sending the user!
What am I doing wrong?
Any help is highly appreciated.
Did u use anytype of authentications?
and you are using proper user in that?
Thanks,
Hetal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, thanks all for the quick answers.
Hetal, I dont have a user yet, but I should get another error. I am sending the user and the password, so I should get an error like "The user and password are invalid".
Rodrigo, the trace execution is fine also. Using tcpGateway I saw that the message I am sending is not the one I want.
This is what is expected:
"POST http://xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Host: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: es-es,es;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: JSESSIONID=0000JWP7LDJyZewMGt93vhi1kR1:-1
Content-Type: multipart/form-data; boundary=--
But I am sending this:
"
POST http://xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Proxy-Authorization: Basic YnJjb212bWk6QlJ2bWkyMDIwIw==
Accept: /
Host: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
User-Agent: SAP-Messaging-com.sap.aii.messaging/1.0505
content-id: payload-15d81c6182aa11dfab3c0004ac5760e7
Content-Type: text/plain
Content-Length: 519
SOAPACTION:
Content-Type: multipart/form-data; boundary=--
"
So I think the http header is wrong. If you check the last one, it has Content-type twice (one is created by SOAP adapter, I created the second content-type). How can I fix it?
hi, also check carefully the trace of the execution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
do you have a proxy configuration?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi fede
check this out to be sure you configured right the module
Xml to Text conversion made easy by StrictXml2PlainBean
/people/pooja.pandey/blog/2009/02/23/xml-to-text-conversion-made-easy-by-strictxml2plainbean
what can you see in communication chennel monitoring in RWB?
Thanks
Rodrigo P.
Edited by: Rodrigo Alejandro Pertierra on Jun 25, 2010 4:16 PM
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.