cancel
Showing results for 
Search instead for 
Did you mean: 

wsdl file

Former Member
0 Kudos

Hi...All,

i am doing RFC-SOAP Scenario, for this i need WSDL File is required for my requirement. my client is not providing wsdl file, i want to generate the wsdl file, i dont know how to genarate the wsdl file..pls suggest me to generate the wsdl file..

regards,

Jain.

Accepted Solutions (1)

Accepted Solutions (1)

former_member556603
Active Contributor
0 Kudos

Hello Jain,

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: http://localhost:51000/irj/servlet/prt/soap/AutoGenProducer?style=doc_lit

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,

Satya Kumar

Reward if it is useful

Answers (8)

Answers (8)

former_member556603
Active Contributor
0 Kudos

Hello Jain

Click this link and download the document..

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0fe13f0-0e56-2910-bcb1-cbd79c8f...

Thanks,

Satya Kuamr

Former Member
0 Kudos

Hi Jain,

Is this Problem Solved??

I request you please close all your threads for others refference in future

Regards

Seshagiri

Former Member
0 Kudos
Former Member
0 Kudos

what we generally do in the SOAP scenario to generate the wsdl is :

In the configuration,go to tools menu,select define webservice,provide the url for and select generate wsdl...

but im unable to follow ur requirement for it..

ne wez reward points if proved helpful

Former Member
0 Kudos

Hi,

If Receiver is the Webservice means we have to get the WSDL File from the Third Party.

If we have the WSDL File means we can Import the Target Structure in IR and can do the mapping.

In this case we are Posting the data According to the Target Application Structure.So we shld get the Target Application WSDL File inorder to post the data to Target .

In case of Sender is ur Webservice means. we have provide the WSDL File to Third party . why because they have to post the data to XI According to the Source Structure we defined in IR.

This Generation of WSDL we can do in ID--Tools-Define Webservice.

Regards

Seshagiri

Former Member
0 Kudos

Hi JAIN,

Steps to create the WSDL in the Integration Directory:

1. Go to Tools &#61664; 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>;

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 &#61664; 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 &#61664; 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

Regards,

Ramesh.

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

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

Regards

Biplab