on 09-06-2012 7:20 AM
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.
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
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
soap | XMBWS.Timeout | 5400000 |
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sreenath,
Try using the SOAP UI.
check with the SOAP URL which you are using in the SOAP channel.
Regards
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
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.