cancel
Showing results for 
Search instead for 
Did you mean: 

File to Mail Scenario

Former Member
0 Kudos

Hi ,

I am doing a simple File to Mail Scenario. I am getting an error in Mail CC.

Error: Mail: call failed; java.io.IOException: invalid content type for SOAP: TEXT/HTML.

my source file is a xml file with two inputs.

Could some give idea what could be the wrong.

Thanks in advance

Shaik

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member529475
Active Contributor
0 Kudos

Hi Shaik

What is the adapter that you are using?

Please provide some information about the Scenario...

Regards

Vasu

santhosh_kumarv
Active Contributor
0 Kudos

Hi Azias

What adapter type have u used for the receiver CC?

Regards

Santhosh

Former Member
0 Kudos

Hi

Some Web services do not accept the message , if Content type is application/XML in the HTTP Header, it will accept only Text/XML. So While calling the Web service, the content has to be changed.

Refer this blog.

/people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi

Former Member
0 Kudos

Dear Dava,

i am using File as my sender CC and Mail As my Receiver CC. the Error which is mention is from the Mail Adapter not from SOAP Adapter.

Dear Santhosh,

I am using Mail Adapter as my receiver CC.

Shabarish_Nair
Active Contributor
0 Kudos

Are you using this schema in your mapping ?

Ref:

Note 748024 - XI Mail Adapter XML Schema

Also can you tell us the configurations used in your mail adpater.

santhosh_kumarv
Active Contributor
0 Kudos

Hi Azias,

Try giving the transport protocol as SMTP and the message protocol as XIPAYLOAD and the Adapter engine as IS.

In the connection parameters for mail server attribute

give the url as smtp://<ur mailbox url>

check the "configure user authentication" check box and give the authentication method as Plain.

User : <ur user name>

Password: <ur mailbox password> check that u have entered the right password

correctly in both the password box.

Regards

Santhosh

*If found Usefull Reward Points*