cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure SOAP Adapter?

Former Member
0 Kudos

Hi!!!

I saw a few thread about this topic but they didn't help me a lot.

I'm using Apache Axis. I can deploy simple web services to it and access them using client code.

In my scenario, I'm using the following url in my client code:

http://localhost:8081/HelloWorld.jws

But how to configure SOAP Adapter to be able to use it as, for example, an outbound adapter?

What should I put to these properties?

XMBWS.TargetURL=???

XMBWS.DefaultSOAPAction=???

XMBWS.UseSOAPAction=receiver

etc.

There is only one page in the documentation about it.

I would be grateful for a small example.

Regards,

Mariusz

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Find below sample configuration of SOAP adapter.

Regards, Guy Crets

  1. Bubble adapter java class

classname=com.sap.aii.messaging.adapter.ModuleBubble

  1. Sets the bubble module helper that can instantiate your bubble bag

Bubble.Helper=com.sap.aii.messaging.adapter.ModuleBubbleHelperXMBWSImpl

            1. Part 0 (FromWS and ToWS) : common part ######

  1. Keeps the XMB headers in web service messages

XMBWS.KeepHeaders=true

  1. Encodes the xmb headers into a special HTTP header string x-xmb_ws_encoded

XMBWS.UseEncoded=false

            1. Part 1 (FromWS) : WS clients to XMB server ######

  1. The target URL of XMB broker, to which the adapter sends XMB messages.

XMB.TargetURL=http://xiserver:port/sap/xi/engine?type=entry

XMB.User=XIAPPLUSER

XMB.Password=xipass

  1. The port and path where the adapter waits for web service messages from clients.

XMBWS.WSPort=8212

XMBWS.WSPath=/myservice/ws

  1. The following XMB attributes are used to fill default XMB messages.

XMB.SenderBusinessSystem=xxx

XMB.SenderInterfaceNamespace=yyy

XMB.SenderInterfaceName=OB_zzz

XMB.QualityOfService=EO

            1. Part 2 (ToWS): XMB clients to WS server ######

  1. The target URL for the web service, to which the adapter sends web service messages.

XMBWS.TargetURL=http://wsserver:port/axis/services/MessageService

  1. The port and path where the adapter waits for XMB messages from clients.

XMBWS.XMBPort=8211

XMBWS.XMBPath=/myservice/xmb

XMBWS.User=user

XMBWS.Password=passwrd

  1. The default SOAPAction HTTP request header to the web Service server

XMBWS.DefaultSOAPAction=xmbws

  1. Uses the "Receiver" name as the SOAPAction and sets the delimiter

XMBWS.UseSOAPAction=receiver

XMBWS.SOAPActionDelimiter=&

  1. END

Former Member
0 Kudos

Hi!!!

Thanks a lot for you help!!!

Fortunately I managed to send and receive a simple message via SOAP adapters (inbound and outbound).

I generated a WSDL file using menu option in the destination point --> Define as a Web Service. I used it to generate java code with WSDL2java tool and deploy this code (with some business logic) as a web service to Axis. It was working fine.

I have a childish question: is it possible to generate also a java code which puts a message into XI (via SOAP adapter)? I've written a simple java code that does it but it concatenates strings using a message as a pattern. It's very ugly and I'm not happy with it. I failed writing java code that creates proper objects and sends a SOAP message to SOAP adapter.

Has anyone done it and can give me a hint?

Regards,

Mariusz

Former Member
0 Kudos

Hello Mariusz,

right now I am totally lost in regard of using the soap adapter. Actually I want to do the same like you, just sending a soap message to the integration server and receiving an answer. But I have no idea how to do this. I don't recognize the configuration entries. Where do you set those? In my scenario there is one machine with XI 3.0 with some adapters. I can see them when I want to create a communication channel, but where are the settings you are talking about?

Hopefully you can help me,

Oliver