on 07-27-2010 7:21 PM
Hi gurus,
I am trying to consume a webmethods java webservice via XI/PI NW2004 and when I send a request, PI send the soapaction field in uppercase.
POST http://webservices.kuehne-nagel.com/HelloWorld_test HTTP/1.0
Accept: /
Host: https://webservices.kuehne-nagel.com/HelloWorld_test
User-Agent: SAP-Messaging-com.sap.aii.messaging/1.0505
content-id: <soap-4C4DF1260912013BE10080009E344EB9sap.com>
Content-Type: text/xml; charset=utf-8
Content-Length: 316
SOAPACTION: "http://webservices.kuehne-nagel.com/helloWorld/hello"
It should be exactly like SOAPAction : "http://webservices.kuehne-nagel.com/helloWorld/hello"
How can I set/change it on XI/PI ?
Regards,
Rodolfo Miã
"Field names are case-insensitive"
http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
You need not change it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As I have already written two times, HTTP header field names as SOAPAction are not case sensitive.
This is written in words which I think everyone can understand in rfc2616.
The SOAP adapter has always worked that way and no one complained so far.
Maybe your Java webservise does not work correctly?
Make sure that the web service accepts all HTTP header fields according to RFC 2616.
Edited by: Stefan Grube on Jul 29, 2010 1:06 PM
Stefan,
The issue is related to HTTP verb.
4.4 http:binding
The http:binding element indicates that this binding uses the HTTP protocol.
<definitions .... >
<binding .... >
<http:binding verb="nmtoken"/>
</binding>
</definitions>
The value of the required verb attribute indicates the HTTP verb. Common values are GET or POST, but others may be used. Note that HTTP verbs are case sensitive.
Acording to my Webservice vendor, the SOAPAction are indicated into this section.
Also, I am working with SAP Support and got this repply:
28.07.2010 - 16:38:47 CET - Resposta by SAP
Hello Rodolfo!
... Yes, the value should be SOAPAction
instead of SOAPACTION....
> The value of the required verb attribute indicates the HTTP verb. Common values are GET or POST, but others may be used. Note that HTTP verbs are case sensitive.
This section does not say anything about HTTP headers. GET and POST are not headers, but HTTP methods.
> Acording to my Webservice vendor, the SOAPAction are indicated into this section.
This section has nothing to do with SOAPAction
> Also, I am working with SAP Support and got this repply:
> ... Yes, the value should be SOAPAction
> instead of SOAPACTION....
I do not comment this.
You have now following possibilities:
1. Convince your vendor to accept HTTP headers according to above mentioned RFC
2. Convince SAP that to change SOAPAction
Good luck.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.