cancel
Showing results for 
Search instead for 
Did you mean: 

Web Services error message ! !??

cdumont69
Contributor
0 Kudos

Hello,

I try to use a .NET WS with XI 3.0 SP16.

When I try this WS with IE or XMLSpy all work fine.

I configure the URL, the Action, and a user authentication with domain suffix : user@domain.com

With XI I receive an error message :

<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
  <SAP:Category>XIAdapterFramework</SAP:Category> 
  <SAP:Code area="MESSAGE">GENERAL</SAP:Code> 
  <SAP:P1 /> 
  <SAP:P2 /> 
  <SAP:P3 /> 
  <SAP:P4 /> 
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML</SAP:AdditionalText> 
  <SAP:ApplicationFaultMessage namespace="" /> 
  <SAP:Stack /> 
  <SAP:Retry>M</SAP:Retry> 
</SAP:Error>

Does anybody know how to solve this issue ?

Thanks

Regards,

Chris

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member185845
Active Participant
0 Kudos

Dear collegues,

i am trying to invoke Ws using SOAP Adapter,

i configured the user authentification & proxy also.

still i get this error

<b>sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML</b>

i searched the forums some one suggested to change the content type to text/xml,

where & how to do this.

Regards

chandra

cdumont69
Contributor
0 Kudos

I find the problem.

The authentication by Login / pwd doesn't work.

It is a know problem with XI and WS ?

Thanks

Regards,

Chris

Former Member
0 Kudos

Chris,

how did you solved this issue I´m experiencing the same problem

Thanks!

cdumont69
Contributor
0 Kudos

Hello Rick,

To solve this issue we remove the NTLM Authentication.

I think the best way is to use certificate.

Regards,

Chris

stefan_grube
Active Contributor
0 Kudos

This error occurs always, when the response of the message is HTML. Usually the URL is wrong and you receive a 404 error, or the authorisation is not valid and you recive a 401 error.

Did you apply the user inside the communication channel User/password setting or inside the URL?

Regards

Stefan

cdumont69
Contributor
0 Kudos

Hi Stefan,

Yes I use the communication channel User / Password setting with domain suffix.

Can XI use NTLM or Kerberos authentication ?

Thanks

Regards,

Chris

manish_bhalla2
Contributor
0 Kudos

Hi Christophe,

Which adapter are you using? You need to be using the SOAP adapter.

Also, try giving the content type as text/XML.

Cheers

Manish

cdumont69
Contributor
0 Kudos

Hi Manish,

> Which adapter are you using? You need to be using the

> SOAP adapter.

Yes I use the SOAP adapter without proxy generation.

> Also, try giving the content type as text/XML.

How can I do it ?

Thanks

Regards,

Chris