Skip to Content
avatar image
Former Member

RFC adapter error

Hi Experts,

Here my scenario is RFC to SOAP synchronous. Here I am getting below error in sender RFC adapter

Error in processing caused by: com.sap.aii.af.lib.mp.module.ModuleException: call to messaging system failed: com.sap.engine.interfaces.messaging.api.exception.MessagingException: XIAdapterFramework:GENERAL:com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

I had gone through many threads in SDN but no clues. Please help me to fix this issue.

Thank you

Srinivas

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 09, 2011 at 11:38 AM

    Hello,

    Check the credentials that you are passing in your SOAP Receiver Adapter. If you are using dynamic config for URL, you also need to use dynamic config for username password via TAuthKey (Authorization Keys).

    Hope this helps,

    Mark

    Add comment
    10|10000 characters needed characters exceeded

    • hi,

      please do this

      put the URL in your browser and try access. if its OK.

      i want you to

      a) Load WSDL in soap ui

      b) fillup user and password

      c) target url

      d) test it

      if you get response fine, then copy the url used in soap ui and paste it in the soap receiver cc. also use the same user and password.

      Rgds

      RP

      Edited by: Rodrigo Alejandro Pertierra on Nov 9, 2011 12:25 PM

  • Nov 09, 2011 at 02:19 PM

    The error shows that target system which host webservice is expecting the user credentials (user/password). So you get 401 unauthorized error. You need to pass user credentials.

    Add comment
    10|10000 characters needed characters exceeded

    • XMLSpy has the particularity to cache the user and password the first time you execute it. please, close the XMLSpy, open it again and test the service, remember you has to test no the PI URL but the real service.

      also I am sure of PI is requesting for credentials you have 2 main possibilities: bad URL defined in receiver CC or acredential is required.

      1- please try testing your scenario not with XMLspy, because it has the particularity to cache the user and password the first you execute it.

      2- try accessing to the ?WSLD via web browser and check if any credential is required. to do that make sure you close previously all explorer windows.

      3- Also, which URL are you calling: PI service or real service?

      in case of testing with real wsdl URL could you replicate this URL in the communication channel in PI, and test your scenario Again.

      Rgds

      RP