Skip to Content
avatar image
Former Member

Testing from WSNavigator - SOAP to Proxy

Hello,

I have a scenario of SOAP to proxy in PI 7.3.

When I am performing a test using WSNavigator I am getting an error.

ADAPTER.JAVA_EXCEPTION

com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

I did browse SCN and tried the following:

1)Refresh cache

2)Check 'Do not use SOAP envelope'

3)Checking the user credentials and the URL

But nothing seems to be working for me.

Can any one suggest, if I am missing something?

Thanks in Advance.

Error.xml (5.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 16, 2015 at 06:57 PM

    Make sure that user has proper authorizations in place.

    SAP_XI_APPL_SERV_USER

    • Q: I get an authorization error "401 Unauthorized" from the adapter's servlet. What went wrong?

               A: The adapter's servlet is protected by default. You must use one of the user names assigned in security role xi_adapter_soap_message for component XISOAPAdapter. Please consult the documentation for Visual Administrator to view and change the security setting.
               The user authentication of the SOAP adapter is not part of the SOAP adapter but of the web container of the J2EE engine. The default authentication setting is defined in the web.xml descriptor file of the SOAP dapter web application. This setting may be modified from Visual Administrator with some restriction. Please refer to the security documentation for the J2EE engine.
               Please note that 710 onwards there is no Visual Administrator instead the Netweaver Administrator is to be used to assign the roles to the user to access the SOAP adater servlet.The user must be assigned one of the following roles SAP_XI_IS_SERV_USER, SAP_XI_APPL_SERV_USER, SAP_XI_DEVELOPER_J2EE, SAP_XI_ADMINISTRATOR_J2EE. Assigning any one of these roles to the user provides necessary permissions for the user to access the SOAP adapter servlet.To assign these roles to the user, path in Netweaver Administrator is Operation Management -> Identity Management

    Reference : 856597 - FAQ: XI 3.0 / PI 7.0/7.1/7.3 SOAP Adapter

    Add comment
    10|10000 characters needed characters exceeded