on 01-06-2009 3:47 PM
Hello all,
I'm trying to retrieve a parameter from the HTTP header of a SOAP request.
I have created a SOAP sender communication channel, checked "Set Adapter-Specific Message Attributes" and "Variable Transport Binding", and entered the name of the parameter in Variable Header (XHeaderName1).
When I send the SOAP request, DynamicConfiguration exists with all standard parameters, but there is no XHeaderName1...
If I try the same with sender HTTP adapter, it works fine.
In the other way, if the dynamic configuration parameter XHeaderName1 already exists, and I try to add it in a HTTP header parameter in a receiver SOAP CC, that works.
Does somebody know why this doesn't work in the sender one?
Thanks,
Greg
PS: I'm using PI7.0 SP14
HI Greg
What is the value you tried to capture in XHeaderName1. The names of the fields and parameters must correspond to the names of the fields and parameters that also go through the HTTP request. The attribute name space for the adapter is http://sap.com/xi/XI/System/SOAP.It should work
Thanks
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gaurav,
I have added a custom parameter in the HTTP header of the request, named "TestParam", and I try to retrieve it with the SOAP sender adapter by entering the name "TestParam" in the XHeaderName1 field.
But when I look at the dynamic configuration, there is no XHeaderName1 parameter...
I have tested exactly the same thing with HTTP sender adapter, and it worked.
I don't understand why the SOAP adapter doesn't retrieve it.
Thanks,
Greg
Hello,
The names of the fields and parameters must correspond to the names of the fields and parameters that also go through the HTTP request. and the attribute namespace for the adapter is http://sap.com/xi/XI/System/SOAP.
Regards,
Sreenivas.
Hello,
I can see in dynamic configuration, with the namespace http://sap.com/xi/XI/System/SOAP, the standard HTTP parameters like SServerHost, SRemoteUser, etc...
But if I add a HTTP header parameter in the SOAP request, and I try to retrieve it with the SOAP sender CC, the parameter is not added in the dynamic configuration. If the name of the added HTTP header parameter is "TestParam", I put "TestParam" in the XHeaderName1 field of the sender CC, but the value is not added in the dynamic configuration. This is my problem.
Thanks,
Greg
Hi all,
I saw a few posts with the same issue. This could just be a bug (might have been fixed in some newer releases?).
If you are still having this issue, you should open a ticket so that this issue will be fixed.
An alternative solution is to simply use the axis adapter. Its FAQ Note has a few examples working with the HTTP headers.
Best regards, Yza
I did find a note that seems to address it, but it did not. It could be a specific problem with our system, so here is the note anyway:
https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1470127
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.