cancel
Showing results for 
Search instead for 
Did you mean: 

WSDL file for SOAP adapter ?

former_member190178
Participant
0 Kudos

Hi Experts,

I am working on File->XI--Mail.

For Mail, I am not using Mail Adaptor but the SOAP adaptor.

I need to have the WSDL file for it. Can anybody tell me how to get it ?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

>>For Mail, I am not using Mail Adaptor but the SOAP adaptor.

You First tell us, why dont you use Mail Adapter for this Communication

Regards

Seshagiri

former_member190178
Participant
0 Kudos

Actually I am already done with the Mail adapter and now I would like to test SOAP adapter.

former_member183906
Active Contributor
0 Kudos

go to integration directory

click on tools->create webservice

there u have to provide interface name.interface namespace, url

the URL format should be like

http://url:port/XISOAPAdapter/MessageServlet?channel=:service:channel

Steps to create the WSDL in the Integration Directory:

1. Go to Tools  DefineWebService….

2.A wizard will be open and click on continue

3.A new window will be opened

Specify the URL of the web service and click on continue

If SOAP adapter channel belongs to service with party the address is as follows.

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

OR

If SOAP adapter channel belongs to service without party the address is as follows

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

4. Click on continue a new window will be open, give the message interface name (outbound) and continue.

5.Give service name, Interface name, Interface Namespace and click on continue

6.and click on finish to create the Web Service Document

7.A WSDL file will be created

8.you can also save the WSDL file created, to save the WSDL file click on the save button

9.A new pop up will be opened, specify the location where you want to save the WSDL file.

The WSDL file created in the Integration Directory can be provided to the web service developer to create the web service

For testing our end to end scenario using this WSDL created, we can use the XML SPY to send request to the web service

Using XML SPY

Steps to make a request using the XML SPY:

1. Open the XML SPY, in the menu go to SOAP  Create new SOAP request

2.it will open a new window you will provide the path wsdl file that you have recently save .

3.Click on OK button a new window will be opened which shows the SOAP request

4.In the menu choose SOAP  Send request to server

5.Asynchronous Request: If your request is successful you will receive a SOAP response which will be empty response in an asynchronous request .

After creating the WSDL, Import it into the IR

A) Go to IR, Integration objects->external definitoin select WSDl file from ur desktop and file type as WSDl.

In case of sender and receiver Communication channels, what do i put for sender and receiver source and target directories?

After creating the WSDL, how do i import it into the IR?

A) Go to IR, Integration objects->external definitoin select WSDl file from ur desktop and file type as WSDl.

In case of sender and receiver Communication channels, what do i put for sender and receiver source and target directories?

A) If u have a file adapter then u need to put either file on application server of XI or u can use FTP server and create ur folder and put the file on that directory.

SOAP adapter u just refer the below link for configuration

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

former_member190178
Participant
0 Kudos

Hi please help.

I am not able to create the WSDL file using the Define WEB SERVIDE WIZARD in ID. Please tell:

What should I provide for the WEB SEVICE URL ?

At very next screen I am getting:

Name:

Namespace:

Software Component Version:

In all, I am not understanding where and what to do ?

Former Member
0 Kudos

hi soniya,

this is the url for creating WSDL file for testnig ur scenario

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f...

if u want to test your scenario

go to MS infopath and test it from there

Rgds

JOHN

Former Member
0 Kudos

for testing u can use purpose URL and u can try it will work

Rgds

JOHN

former_member183906
Active Contributor
0 Kudos

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

Configuring Your WSDL File

Applicable to: remote role assignment, remote delta link, WSRP application sharing

This procedure is relevant only for producer portals running NW7.0 SPS7 and earlier. Later versions use an automated service for providing WSDL information to registering consumers over HTTP and HTTPS protocols.

Use

To describe the WSRP services provided by your portal server (the producer) and the set of operations within each service, you need to setup a WSDL file on your portal. When a consumer connects to your portal to retrieve content, the system administrator connects to this WSDL file.

A standard WSDL template file is automatically created for you when you install the portal. You need to configure the settings in the file based on your system landscape.

You can generate multiple WSDL files and configure each one for a specific use case. For example: one for a regular network proxy and another for a reverse proxy; or (ii) one for HTTP connectivity and another for HTTPS. Make sure you supply your content consumers with the URL to the appropriate WSDL file.

In a cluster environment, the WSDL file needs to be configured, as described below, on every server node.

Once a consumer has registered on your portal, the WSDL file is no longer needed by the consumer, unless the consumer needs to reregister after unregistering. You can therefore edit its contents at any time.

If you move the WSDL file to a new location, you need to provide the updated path to consumers that have not yet registered or need to reregister. These consumers need to update the WSDL path in the properties of their existing producer object (see Editing Connection Properties to Producers).

Procedure

1. In the producer server, browse to the following folder:

Windows: c:usrsap<SID>JC<x>j2eeclusterserver<node_number>appssap.comirjservlet_jspirj ootportalappscom.sap.portal.ivs.wsrpservicewsdl

UNIX: /usr/sap/<SID>/JC<x>/j2ee/cluster/server<node_number>/apps/sap.com/irj/servlet_jsp/irj/root/portalapps/com.sap.portal.ivs.wsrpservice/wsdl

2. In any text-based editor, open the file: wsdl.html

3. Note that all four services in the WSDL file reference the same servlet. The relevant WSDL information regarding your producer portal is described in this servlet. In most cases, you do not need to modify referenced servlet.

By default, each service references the WSRP servlet at:

For each service, do the following:

a. Specify the Web protocol through which the WSRP servlet is accessible: http or https

b. Replace the default localhost value with the host name of your portal.

c. Replace the default 51000 value with the port number of your portal (the port must match the Web protocol you have defined).

If you are using a reverse proxy, enter instead the protocol, host address, and port of the reverse proxy.

4. Save the WSDL file.

We recommend you make a backup of the WSDL file in case it is overwritten during a portal system upgrade.

Thanks,

Former Member
0 Kudos

hi

generate the WSDL from ID

regards

kummari

former_member190178
Participant
0 Kudos

Hi Vijayant,

Thanks for the reply.

Could you please tell me more about these following lines written by you:

*Specify the URL of the web service and click on continue

If SOAP adapter channel belongs to service with party the address is as follows.

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

OR

If SOAP adapter channel belongs to service without party the address is as follows

http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>*

I am not able to understand, What is the WEB SERVICE and the SOAP adapter Channel etc etc. Please tell me how to go with this ??