Skip to Content

SAP PI 7.3 BPM - invalid content type for SOAP: TEXT/HTML; HTTP 403 Forbidden

Hi,

I am following william li's blog for bpm scenario in PI 7.3 single stack.

I have soap receiver channel for sending PI message to BPM.

target url -http://localhost:port/MessagingSystem/receive/JPR/XI

used logon data for non sap system ,gave user id and password.

But in comm channel monitoring the error is coming as :

MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException:

java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 403 Forbidden

Please advise on it.

Regards

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

10 Answers

  • Apr 17, 2013 at 02:26 PM

    Hi,

    What is your end to end commnunication? Cud u pls check if Path sap/xi/engine is activated in SICF transaction..

    Add comment
    10|10000 characters needed characters exceeded

    • Could u pls check the SOAP request that is going in..Take the help of SOAP UI to see if the request sent to the webservice is having any issues.Or use the WS navigator to see if u cud connect to the webservice using the data.

  • Jan 25, 2014 at 03:28 AM

    Hi,

    I just faced the same issue and I resolved myself.

    Solution:-The configured user in SOAP receiver channel for BPM should have role: SAP_XI_APPL_SERV_USER

    Best Regards,

    Praveen Gujjeti

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 17, 2013 at 02:55 PM

    Hi,

    Please check your End URL in Browser whether you can reach BPM. Don't think Action is required to reach specific function in SOAP Adapter. Is it Synchronous interface?

    Also check Authorization credentials in SOAP Channel.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 17, 2013 at 05:01 PM

    Hi,

    Please refer to the thread below and it might be because of one of the reasons mentioned in the thread.

    http://scn.sap.com/thread/168956

    I faced this issue long back and it turned out to be because of the SOAP header in the request.

    Ambrish

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 18, 2013 at 06:33 AM

    This issue is due to the receiver webservice.

    It may require a SoapHeader or some specific WS-Addressing parameters. Please, contact the service provider in order to ask him clarification about it.

    Could be also due to a Soap 1.2 service provider, instead of a "classical" Soap 1.1, which is supported by the Sap PI Soap Adapter (Soap 1.2 isn't still supported, unfortunately).

    If you need to customize your Soap Message, you can refer to this page:

    http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/03/11/soap-12-ws-addressing-on-pi-711

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 30, 2013 at 05:52 AM

    Hello,

    I'm not sure if your issue is resolved or not, I was also getting the same error. When I checked the JPR Monitor(NWA), the JPR bean was on error status The SAP Note - 1842582 fixes this issue. I haven't applied this note yet, but I'm sure this will solve the issue.

    Thanks,

    Justin.    

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 30, 2013 at 09:20 AM

    Hi,

    maybe your issue is caused by the message content.

    If you are using restictions in your data type like maxLenght or xsd:integer instead of string and your test message (or the response from BPM) does not fit with your definition, you receive this error message.

    Regards,

    Chris

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Justin Santhanam

      Hi Justin,

      after Ranjeet's reply, I had another idea.

      Please check in JAVA User Management, if the user is marked as a techical user and not as standard user. One of our admins told me that it sometimes happens, that the permissions of a standard user (which was used for communication to another system) got lost from time to time and that the solution was to change the profile.

      This could be an explanation why a restart solves the issue...

      Regards,

      Chris

  • avatar image
    Former Member
    May 03, 2013 at 02:58 AM

    On the receiver channle

    1. check the don't use soap envelope

    2.add the module messagetransform bean

    transform.contenttype=text/xml

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 04, 2015 at 02:35 PM

    As suggested by Praveen please check the role assigned to the user which used in the receiver SOAP communication channel also please make sure that the same user is having the SAP_BPM_TRIGGER_EVENT role to invoke the BPM.

    Thanks

    Pavan

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 29, 2016 at 11:04 AM

    Hi ,

    I Am facing same issue now. Can you share the solution for the issue?

    Regards,

    mani

    Add comment
    10|10000 characters needed characters exceeded