cancel
Showing results for 
Search instead for 
Did you mean: 

Sender Soap Adapter

Former Member
0 Kudos

Dear Experts,

1. When we use *Sender SOAP Adapter how the connectivity is happening with Remote Clients.

2. How sender SOAP Adapter get those webservices from remote clients and when exactly Remote clients will send webservices to SOAP Adapter

3. *I need exactly how the webservices request is passing through sender SOAP Adapter.

I will reward you guys full points for sure. pls send me the details as soon as possible.

Take care

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi Friends,

How to see the Already defined webservices for configured Scenarios in Integartion Directory.

Regards,

Karthik

Former Member
0 Kudos

hi,

Theres no such way in XI 3.0 But sure thats possible in PI 7.1 in which all the webservices are registered in services registry.

Thanks,

Durga

former_member537867
Active Contributor
0 Kudos

Hi Karthik,

1. When we use *Sender SOAP Adapter how the connectivity is happening with Remote Clients.

A:SOAP is an XML-based protocol for exchanging information in a decentralized, distributed environment.SOAP is a technology that allows XML to move easily over the Web. SOAP does this trough an XML envelope for delivering XML content and specifying a set of rules for services to follow when they receive a SOAP message.The fundamental change brought about by SOAP has been the ability to move data anywhere across the Web.

When ever XI needs to talk to a webservice you will go for SOAP adapter. If you need to enable some functionality as webservice using XI you can use SOAP Sender adapter. If you need to send request to a webservice you will go for SOAP Receiver

SOAP Message Structure :

SOAP Envelop: The outermost element of SOAP message. The envelope element is the root of the XML document that defines a SOAP message.

SOAP Header: An optional, yet key element in architecting a distributed system around XML. The header element provides a modular way of directing SOAP servers to do processing before passing the SOAP message on. For example, it is possible to add SOAP header information that instructs a server to add transaction or authentication information. Header are also important in building piped architectures where processing is done in stages and data is modified as it is passed from handler to handler.

SOAP Body: An element that must appear in a SOAP message. The Body element is where the transported XML is loaded. SOAP makes no assumptions about the kind of XML transport in the body of a SOAP message. XML or it may take the form of remote procedure call.

also these weblogs can give you a view where you can use SOAP adapters

EP-XI Integration using Web Services and Web Dynpro MVC

https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1334 [original link is broken] [original link is broken] [original link is broken]

Looking for replacing SAP.NET connectors with SAP XI?

https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken]

how the connectivity is happening with Remote Clients?

A:Configuring the Sender SOAP Adapter

http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm

2.How sender SOAP Adapter get those webservices from remote clients and when exactly Remote clients will send webservices to SOAP Adapter?

It purely depends on ur client & if ur client provides WSDL file then u no need to develop it in ID and use that WSDL.WSDL describes a particular web service. Using a wsdl, we are requesting the broker to point the exact system, application, message interface. Once it is found, the SOAP channel is opened between the provider and the consumer. So the WSDL is a must to access web services.

in XI, we have to define the Web service which we want to use for the Sender SOAP channel. It is done by choosing Define Web Service from the tool menu of Integration Directory.

There is no need to code any thing. Here, what you are doing is, just exposing the sender service,channel,Message Interface as a web service.

In XI, we need to map the incoming messages to the target message( to the actual web service from the provider) format and to maintain the technical and logical routing between the sender and receiver.

Check this blog to generate WDSL file...

Configuring a SOAP Sender Channel:

When we create a SOAP sender channel we have to define the namespace and the name of a message interface (values can be taken from Integration Repository).

Select the Quality of Service according to your interface type. If you are using a synchronous interface, select Best Effort. Otherwise, select Exactly Once or Exactly Once in Order.

Transport protocol : HTTP

Message protocol : SOAP 1.1

Adapter Engine: Integration Server

3. I need exactly how the webservices request is passing through sender SOAP Adapter.

After completion of ur scenario u can use XML spy for testing ur scenario.

Refer this Blog how to send SOAP message from XML Spy

Web Services Testing: SAP Netweaver Platform

http://www.crosschecknet.com/web_services_testing_SAP.php

Refer the following blogs for SOAP sender Configuration:

How to Use the XI 3.0 SOAP Adapter

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873...

How Tou2026Set Up a Web-Service-Related Scenario with SAP XI

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f22...

have a look at this weblog:

SOAP Adapter

http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/content.htm

Architecture of connector for SAP XI

http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_adapters.doc/d...

Configuring the Sender SOAP Adapter

http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm

Security Settings for the Sender SOAP Adapter

http://help.sap.com/saphelp_nw04/helpdata/en/1f/7e2441509fa831e10000000a1550b0/content.htm

Regards,

Vinod.

Former Member
0 Kudos

Hi Karthik,

I have tried to answer ur questions hopefully that satisfies u.

1. When we use *Sender SOAP Adapter how the connectivity is happening with Remote Clients.

Ans: Connectivity between Sender SOAP adapter and remote client is done via the URL which is given at the time of wsdl generation:

The URL format is:

http://host:port/XISOAPAdapter/MessageServlet?channel=<service>:<channel>;

2. How sender SOAP Adapter get those webservices from remote clients and when exactly Remote clients will send webservices to SOAP Adapter

This is done via the WSDL file you generate in ID and give to the sender system.

in the WSDL file you have a URL(which you give at the time of WSDL creation),the sender system(Remote client) basically posts messages to this URL.Since the URL points to correct sender party,service and communication channel the corresponding objects are invoked and message processing is done.

3. *I need exactly how the webservices request is passing through sender SOAP Adapter.

Follow this procedure:

1. Go to ID and complete all configuration steps.

2. Go to Tools--> Option

3. Click on Define web service

4. Specify the URL of the web server that is to receive the web service. The URL should be

http://host:port/XISOAPAdapter/MessageServlet?channel=<service>:<channel>;

5. Specify the sender message interface details

6. Specify the sender details of the message

7. click on finish button

8. Click on Save

9. Provide a name and location for web service

10. click on OK

Kindly rewards points if helpful.

Former Member
0 Kudos

Dear Friends,

I like to thank from bottom of my heart for these follwoing people:

1. Aamir

2. Sadhna,

3. Kummari.

I really able to get some valuable points from you Honourable People for Sender SOAP Adapter functionality.

If i have any doubt on this further i will post you to people.

For all of you i have rewared the points.

Former Member
0 Kudos

Hi sadhana,

What happens if the URL in the WSDL generated is not accessible by the sending system

http://host:port/XISOAPAdapter/MessageServlet?channel=<service>:<channel>;

Say the sending system and PI are separated by a Firewall or say PI system need VPN to access it.

In this case, how can the sending system access the URL

How to overcome the situation

-keerthi

Former Member
0 Kudos

hi karthik

2. How sender SOAP Adapter get those webservices from remote clients and when exactly Remote clients will send webservices to SOAP Adapter

The XI system allows you to create a WSDL file from an interface description and upload

a WSDL file. The message exchange is performed by the SOAP adapter, which can

transform a SOAP message to an XI message and back.

When working with the SOAP adapter you do not need to worry about the SOAP

envelope, as the SOAP adapter adds this envelope for outbound messages and

removes it for inbound messages. The SOAP body is identical to the payload of the XI message. Therefore, the payload of the XI message must be a valid XML.

3. *I need exactly how the webservices request is passing through sender SOAP Adapter.

Testing the Scenario Using a SOAP Client

Before you can test your scenario, you need to make all necessary configuration steps

for the receiver and interface determination and activate the scenario.

If you use Altova® XML Spy® you can upload the WSDL file you have created from the Integration Directory. Since XML Spy® takes the proxy settings from the Internet browser

that is installed on your PC, make sure that the proxy server is bypassed for internal calls

if your Integration Engine is installed in the same network as your PC.

In the XML Spy® menu, choose SOAP -> Create new SOAP request. In the dialog

window, select your wsdl file. In the next dialog window, choose the SOAP operation

(there should only be one).

XML Spy® now creates a proposal for the SOAP request, which you can edit. You canenter valid parameters instead of the term String.

In the menu, choose SOAP -> Send request to server. For your first call, you have to

enter your user and password to log on to the Adapter Framework. Enter the logon data

for a service user such as xiappluser. If the request is successful you will receive a SOAP response, which is empty in an asynchronous scenario:

If the request is not successful, you will receive an error message:

Depending on the error code, you may get a more detailed description in the SOAPresponse.

If the error code is 0, check the URL and the proxy settings in your Internet browser. Tocheck whether you can reach the SOAP adapter, type in the URL in your browser window.

regards

kummari

Former Member
0 Kudos

>>When we use *Sender SOAP Adapter how the connectivity is happening with Remote Clients.

This is done via the WSDL file you generate in ID and give to the sender system.

in the WSDL file you have a URL(which you give at the time of WSDL creation),the sender system(Remote client) basically posts messages to this URL.Since the URL points to correct sender party,service and communication channel the corresponding objects are invoked and message processing is done.

Thanx

Aamir

Former Member
0 Kudos

Hi,

1.When there r web services in our SLD we will go with the SOAP Adapter.

2.Logon to Integration Directory -> Tools -> Web services.

There u have to follow these steps and fill those.

i) URL of the web service

http://<host>:<j2eeport>/SOAPAdapter/MessageServlet/Channel?

=:BS:CC

here BS means Business System

CC means Communication Channel.

ii) specify the interface

nothing but the outbound interface in ur case

iii) specify the service.

nothing but the sender service name.

3. SOAP Adapter transforms the messages in the form of SOAP envelopee XML messages.

To check whether SOAP Adapter is working or not we have to create SOAP messages in the softwares available like ALTOVA XML SPY.

Edited by: pavan k on Jul 2, 2008 3:18 PM