Skip to Content
avatar image
Former Member

SOAP Adapter URL with User ID and Password

Hi Experts,

Could any one advice how do the thrid party integrate the user id and password to the URL while sending the request?

The URL should of the format

http://<hostname>:<port>/ XISOAPAdapter/MessageServlet? channel=<party>:<service>:<channel>

Now if I want to add the log on data to the URL, how it should look like

http://<hostname>:<port>/ XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>&sap-user=<username>&sap-password=<password>

OR

http://<hostname>:<port>/ XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>&sap-user=<username>:&sap-password=<password>

I mean should there be a colon (😊 after the channel name and before the &.

How do the third party use the same while sending the request?

Thanks

Sanjaya

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 06, 2011 at 07:31 AM

    Hi,

    >>>http://<hostname>:<port>/ XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>&sap-user=<username>&sap-password=<password>

    you cannot add logon data to the URL of the SOAP request

    maybe try calling an HTTP adapter (this way you don't have to user and pass - as you can put it in SICF)

    Regards,

    Michal Krawczyk

    Add comment
    10|10000 characters needed characters exceeded

    • >>>> Then how do the third party system send the request?

      I beleive you are creating soap sender for the third party system to send request . So create the wsdl using PI as below and pass it to the third party system. Basically they will consume your webservice.

      Do the following in the sender soap adapter

      Transport Protocol HTTP or HTTPS

      Message Protocol SOAP1.1

      Adapter Engine Central Adapter Engine

      HTTP Security Level HTTP or HTTPs or whatever your requirement

      Quality of service Best Effort for synchronous other options for asynchronous

      Now WSDL generation part:

      Go to IR, under tools -> display wsdl -> Use the URL syntax below (dont click propose url)

      http://hostname:j2eeport/XISOAPAdapter/MessageServlet?channel=:sender_business_ system:sender_communication_ channel

      hostname ex dev.abc.com

      j2eeport ex 50000 (no abap port 8****)

      sender_party or sender_busines_system ex: BC_XXXX

      sender_communication_channel ex: abc_soap_sender

      in the subsequent page enter

      outbound interface name

      and Outbound interface namespace

      then finally it will generate wsdl. save it. Use that wsdl for accessing your web service

      Note: Outbound Interface for sender webservice (sender soap)

      Inbound interface for receiver webservice (receiver soap)

      Hope I answered your first question. If not let me know.

      >>>> Where do we pass the user Id?

      Provide user ID information manually to the third party. They will use that information in their side.

      Example: If they write client webservice program they will use login information in their side. Or if they test using soapclient , they will add in the request.

      >>> Is there any provision for us to configure the user id in SICF or the third party system need to configure at their end?

      Talk to your basis team. They will create one user Id for the third party system to use your SAP System.

      Hope I answerd your question.

  • avatar image
    Former Member
    Jan 06, 2011 at 09:35 AM

    Logon data could be added only when you post it to Integration server.

    The URL you've provided is to post messages to an adapter engine.

    -

    Srikanth Srinivasan

    Add comment
    10|10000 characters needed characters exceeded