Skip to Content
author's profile photo
Former Member

How to call an Outbound Interface as a Web Service?

Hi there,

We are struggling to understand how to call a outbound interface (defined in IR) via the soap adapter. We have developed an application that will call the web service and configured and enabled the adapter.

What we can not figure out is what url the calling application should call and if any what other steps we need to take on the XI server to enable this applican to call the interface.

Here is some info about our SOAP adapter configuration:

Port: 4444

Service: /myservice/ws (not sure if this shouldn't point somewhere else)

Namespace: logicaCMG.com

Outbound Interface: AuthenticateUser

SenderSystem: webBookingSystem

ReceiverSystem: SAPBookingSystem

Hope you can help.

Regards

Christiaan

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Jul 20, 2004 at 01:36 PM

    Hi!!!

    1. When you want to send a message to XI via SOAP adapter then:

    a) here you have an example of url that your app should use:

    private final static String url = "http://localhost:8250/myservice/ws";

    b) here you have an example of your SOAP adapter configuration:

    XMB.TargetURL=http://<YOUR_XI_SERVER_NAME>:<YOUR_PORT>/sap/xi/engine?type=entry

    XMBWS.WSPort=8250

    XMBWS.WSPath=/myservice/ws

    XMB.SenderBusinessSystem=SENDER_BUSINESS_SYSTEM

    XMB.SenderInterfaceNamespace=http://zibo.pl

    XMB.SenderInterfaceName=CreateCustomer

    IMPORTANT NOTE: Port (8250) and path(/myservice/ws) MUST be equal on both components.

    2. When you want to send a message from XI to another app via SOAP adapter then:

    a) here is an example of the end point in the Directory:

    HTTP://<YOUR_ADAPTER_HOST_NAME>:8255/myservice/xmb

    b) here you have an example of your SOAP adapter

    XMBWS.TargetURL=http://localhost:8081/axis/services/GMCustMIPort?method=GMCustMI

    XMBWS.XMBPort=8255

    XMBWS.XMBPath=/myservice/xmb

    IMPORTANT NOTE: Port (8255) and path(/myservice/xmb) MUST be equal on both components.

    c) a good idea is to use WSDL created by the Directory to

    generate Web Service (you can use it to generate java code or C# code, for example).

    I hope this will help you. Good luck!

    Have a nice day,

    Andrzej Filusz

    Add comment
    10|10000 characters needed characters exceeded