cancel
Showing results for 
Search instead for 
Did you mean: 

receiver soap adapter attachment issue

former_member223435
Participant
0 Kudos

Hi Experts,

I am using Soap receiver channel and File (NFS) as sender channel.

I need to attach a file and send from NFS to receiver HTTP URL through the receiver SOAP channel.

for sender its picking main file and attached file successfully and processd in Moni also.

But its failing in receiver SOAP channel.

I refered all post but it couldnt help me.

I am getting an error

Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error

anybody Experts please help me.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

former_member223435
Participant
0 Kudos

Hi,

I got the solution from my senior, aftter trying various settings.

in receiver SOAP There is a Module Tab, under that there are two thingas

  1. Processing Sequence
  2. Module Configuration

Here we need to do few settings:

Under Processing Sequence:

     Module name                                     Type                                    Modulekey

AF_Modules/MessageTransformBean   Local Enterprise Bean               trans

sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean  Local Enterprise Bean soap

Under Module Configuration

Modulkey  ParameterName  Paramaeter value

soapXMBWS.Timeout5400000

trans      Transform.ContentType       text/xml

if we checked Keep attachment or not also it will work.

Thanks for the reply who are all tried to help out of it.

Regards,

Sreenath AK

Answers (3)

Answers (3)

former_member192238
Participant
0 Kudos

Sreenath,

Try using the SOAP UI.

check with the SOAP URL which you are using in the SOAP channel.

Regards

Praveen

former_member223435
Participant
0 Kudos

Hi Praveen,

SOAP UI is a tool? if its how i can use that?

need to download it?

without using this anyother way is there?

Please assist me.

Thanks.

udo_martens
Active Contributor
0 Kudos

Hi,

presumedly this is an error from the SOAP channel, which cannot handle the content type of the services response. So the webservice responsed with a html error message to your soap request.

You need to test the service before to get an successful request example and to analyze why the service sends the html error message. Good tools are for example SOAP UI (free ware), Firefox poster (free ware) or XML Spy (not free ware).

Regards,

Udo

former_member223435
Participant
0 Kudos

Hi Udo,

Without attachment i can able to send a file to the target URL.

if i keep attachment then only i am facing issue.

do the needful.

Thanks.

udo_martens
Active Contributor
0 Kudos

Hi,

with SOAP UI you can add an attachment

You should test the flow with SOAP UI, to be able to analyze the service response.

Regards,

Udo

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Have you executed a successful request using SOAP UI to the said webservice? Is the content type correct? Have you checked the keep attachment options in the receiver CC?

Regards,

Mark

former_member223435
Participant
0 Kudos

Hi,

  1. i have checked Keep attachments option
  2. also checked Keep Headers
  3. Content type is correct because its excuting in mapping thats why its processed in integration engine
  4. i am understanding "Have you executed a successful request using SOAP UI to the said webservice?"

Thanks..

Do the needful.

former_member223435
Participant
0 Kudos

Hi Mark,

  • i am not understanding "Have you executed a successful request using SOAP UI to the said webservice?"

Thanks..

Do the needful

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

It meant that if you have tried using a third-party tool like SOAP UI to execute a successful request going to the webservice?

Regards,
Mark