cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member190681
Active Participant
0 Kudos

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

Accepted Solutions (0)

Answers (0)