Skip to Content
0

how to pass target SOAP Receiver Content type as text/xml in RFC to Soap?

Jan 31, 2017 at 04:53 PM

427

avatar image

Dear Experts,

i have created RFC to Soap integration and used JavaMapping in operation mapping.becuase of Target data

1) credencials need to pass as headers

2) need to pass multiple reocords in single element as CDATA and UTF-16 format.

for that i have created java mapping and check usesoapEnvelop check box in Receiver channel.

but my target structure is required text/xml format but while i am sending data through RFC content type is Application/xml. if i am sending through integration Test data is coming as text/xml. my structure is proper the converted data if i am sending through soapUI it got successfull but not through SAP PI. because content type it is taking application/xml format.

i have maintained module parameter to change the content type as text/xml.

Module name 'localejbs/AF_Modules/MessageTransformBean'
Module type: 'Local Enterprise Bean'
Module key: 'mtb'
Add the following additional row to the module configuration:
Module key: 'mtb'
Parameter name: 'Transform.ContentType'
Parameter value: 'text/xml;charset=utf-8'

but no use can u guide me how to send content type as text/xml.

Regards,

Kiran Polani

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers