on 04-05-2004 3:21 PM
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
Find below sample configuration of SOAP adapter.
Regards, Guy Crets
Bubble adapter java class
classname=com.sap.aii.messaging.adapter.ModuleBubble
Sets the bubble module helper that can instantiate your bubble bag
Bubble.Helper=com.sap.aii.messaging.adapter.ModuleBubbleHelperXMBWSImpl
Part 0 (FromWS and ToWS) : common part ######
Keeps the XMB headers in web service messages
XMBWS.KeepHeaders=true
Encodes the xmb headers into a special HTTP header string x-xmb_ws_encoded
XMBWS.UseEncoded=false
Part 1 (FromWS) : WS clients to XMB server ######
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
The port and path where the adapter waits for web service messages from clients.
XMBWS.WSPort=8212
XMBWS.WSPath=/myservice/ws
The following XMB attributes are used to fill default XMB messages.
XMB.SenderBusinessSystem=xxx
XMB.SenderInterfaceNamespace=yyy
XMB.SenderInterfaceName=OB_zzz
XMB.QualityOfService=EO
Part 2 (ToWS): XMB clients to WS server ######
The target URL for the web service, to which the adapter sends web service messages.
XMBWS.TargetURL=http://wsserver:port/axis/services/MessageService
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
The default SOAPAction HTTP request header to the web Service server
XMBWS.DefaultSOAPAction=xmbws
Uses the "Receiver" name as the SOAPAction and sets the delimiter
XMBWS.UseSOAPAction=receiver
XMBWS.SOAPActionDelimiter=&
END
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.