on 05-26-2008 11:42 AM
Hello XI SDN'ers,
I am calling an external webservice through my "SOAP (Axis)" adapter and I am getting the response. The response header looks like this:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)/Tomcat-5.5
Set-Cookie: JSESSIONID=4DF8F0B8FAF5A1F2D7EE6A0110A33E70; Path=/
Content-Type: text/xml;charset=utf-8
Date: Mon, 26 May 2008 10:07:58 GMT
Connection: close
I want to get this "Set-Cookie" from my initial "Login" response and set the cookie in further "Synchronous Request" so that I won't loose my sessions.
so I wrote my UDF to get this SetCookie:
DynamicConfiguration conf = (DynamicConfiguration) container
.getTransformationParameters()
.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create(
paramNamespace, paramName);
String value = conf.get(key);
return myString;
but I am getting "Null" value.
Please correct me to get "Set Cookie" value from my response!
Thanks & Regards,
Satish.
Hi,
Check this URL for more clarification:
help.sap.com/saphelp_nw70/helpdata/en/a6/10b98ae47ef14799a918db66ee9477/content.htm - 34k
Thanks,
Boopathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you checked this guide:
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Stefan,
I checked that guide already and even we discussed once about the possible corrections. Anyway, now I am able to get the header parameters after updating our systems to SP15 (PI7.0).
The "H2G" says, we'll get the header parameters if we have SP12... but that is not true... we have to update the system with SP15... so please do the necessary corrections in the guide.
Thanks & Regards,
Satish, Dhamodharam.
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.