on 01-26-2006 3:11 PM
Hi Experts,
we implemented a scenario in which we call XI via http to get a URL of a file in a contentserver.
However, the character '&' gets replaced by '&' in the response.
Do you know how to avoid this ?
Thanks, Rolf
here the traffic:
POST http://gddebes100100:8000/sap/xi/adapter_plain?bs=GEDASPLM_BUSINESS_SYSTEM&namespace=urn%3asap-com%3... HTTP/1.0
Host: gddebes100100
Accept: /
Content-Length:220
Authorization: Basic bGlzc2U6cm9sc2Fw
<rfc:Z_GEDAS_GET_URL xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<DOKNR>0000000000000010000000000</DOKNR>
<DOKAR>SED</DOKAR>
<DOKVR>00</DOKVR>
<DOKTL>00</DOKTL>
<WSAPPL>JPG</WSAPPL>
</rfc:Z_GEDAS_GET_URL>
Response:
HTTP/1.0 200 OK
set-cookie: sap-usercontext=sap-client=200; path=/
content-type: application/xml
content-length: 303
msgguid: E6886E706FA811D9AF5A000BCDC57F8A
server: SAP Web Application Server (1.0;640)
<rfc:Z_GEDAS_GET_URL.Response xmlns:rfc="urn:sap-com:document:sap:rfc:functions"><URL>http://gddebes100100.de.gedas-grp:1090/contentserver/contentserver.dll?get&pVersion=0046&contRep=PLU-BLN&docId=40A20D749653434BB5331D384D663828&compId=Floorjack.jpg</URL></rfc:Z_GEDAS_GET_URL.Response>
This cannot be avoided.
If the RFC adapter would not escape the &, it won't be a valid xml structure and couldn't be processed with the XI.
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 rolf,
maybe you have solved the problem but i have an other question:
i am looking for the solution you have done in the URL: a dynamical URL. several threads in this forum i have posted but without the wished success.
either help.sap.com or blogs could not help me.... maybe you?
how was it possible, that you make the URL dynamical? Did you put the URL static in the HTTP Adapter?
many thanks
alex schramm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.