on 12-29-2006 5:31 AM
Hi,
I am doing file to mail scenario. I got an error
"failed to send mail: java.io.IOException: invalid content type for SOAP:
TEXT/HTML"..
How to solve.
regards,
Ansar.
Ansar,
I guess adapter expects the content as APPLICATION/XML.
To change the SOAP content type in the mail adapter, Add the module "localejbs/AF_Modules/MessageTransformBean" before the standard module. Add the parameter name Transform.ContentType and make the value application/xml
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhavesh,
I done like that but still it is coming...
This is the process of Communication channel
-
2006-12-29 11:42:46 Success Mail: Receiver adapter entered with qos ExactlyOnce
2006-12-29 11:42:46 Success Mail: calling the adpter for processing
2006-12-29 11:42:46 Success Mail: call failed
2006-12-29 11:42:46 Success Mail: sending a delivery error ack ...
2006-12-29 11:42:46 Success Mail: sent a delivery error ack
2006-12-29 11:42:46 Error Mail: error occured: java.io.IOException: invalid content type for SOAP: TEXT/HTML
2006-12-29 11:42:46 Error Exception caught by adapter framework: Failed to call the endpoint
2006-12-29 11:42:46 Error Delivery of the message to the application using connection AFW failed, due to: Failed to call the endpoint.
2006-12-29 11:42:46 Success The message status set to WAIT.
2006-12-29 11:42:46 Success The asynchronous message was successfully scheduled to be delivered at Fri Dec 29 11:47:46 GMT+05:30 2006.
regards,
Ansar.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.