cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP content server update problem

Former Member
0 Kudos

Hello,

We are currently moving interfaces from PI 7.1 to PI 7.3 AEX. One interface is converting a file into an html file which is uploaded to content server. This works fine in PI 7.1. However when testing the interface on PI 7.3 AEX the content server is updated, but only approximately half of the html message is displayed when viewing the file on the content server. However there are some differences in the SOAP header generated by the SOAP adapter. Otherwise the payloads are identicall for both systems. The same content server is used for testing for both PI 7.1 and PI 7.3.

This is the SOAP header from PI 7.1:

POST http://xxx01.xxx.no:1090/ContentServer/ContentServer.dll?create&pVersion=0046&contRep=T1&docId=662e4... HTTP/1.0
Accept: */*
Host: xxx01.xx.no:1090
User-Agent: SAP-Messaging-com.sap.aii.af.sdk.xi/1.0505
CallingType: SJM
content-id: payload-001F29C761621ED19CB76C0FAF2A1A38@sap.com
Content-Type: multipart/form-data;boundary=xTest_MIME_AA00FFCC
Content-Length: 17856
SOAPACTION:

--xTest_MIME_AA00FFCC
x-compId: data
Content-Type: text/html; charset=UTF-8
Content-Length: 17728

In PI 7.3 the SOAP header looks like this:

POST http://xxx01.xx.no:1090/ContentServer/ContentServer.dll?create&pVersion=0046&contRep=T1&docId=662e4daa-71bb-11e1-9afc-000000131686 HTTP/1.0
Accept: */*
Host: xxx01.xx.no:1090
User-Agent: SAP-Messaging-com.sap.aii.af.sdk.xi/1.0505
CallingType: SJM
Content-ID: <payload-9d45488471b811e19f6a0000008ae152@sap.com>
Content-Disposition: attachment;filename="MainDocument.xml"
Content-Type: multipart/form-data;boundary=xTest_MIME_AA00FFCC
Content-Description: MainDocument
Content-Length: 17855
SOAPACTION:

--xTest_MIME_AA00FFCC
x-compId: data
Content-Type: text/html; charset=UTF-8
Content-Length:17728

The SOAP adapters are configured in exactly the same way.

Has anyone had the same experience and know what could lead to this strange occurrence?

Thanks,

Per Rune

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Can you insert a space between header field and value? In PI 73 version might be missing one

Content-Length:17728 -> insert a space after :, as in first header

Content-Length: 17728

Answers (0)