You are on page 1of 23

VICTORIA UNIVERSITY

Configuring SAP
Exchange Infrastructure
in a Web Service
Scenario
BCO6679 WEB SERVICES
Special Project Essay
Frederico Chan (3844793)
11/8/2010

BCO6679 - WEB SERVICES

Special Project Essay (Web Service with SAP XI)

Table of Contents
1.0 Introduction to SAP Exchange Infrastructure (XI) ....................................................... 2
1.1 The Basic ................................................................................................................... 2
1.2 The Architecture......................................................................................................... 2
1.3 Adapter Engine and SOAP Adapter ........................................................................... 3
2.0 The Special Project Scope ......................................................................................... 4
3.0 Use of SAP XI to consume Web Services .................................................................. 6
3.1 Setting up a SOAP Adapter........................................................................................ 6
3.2 Uploading the WSDL.................................................................................................. 6
3.3 Creating a SOAP Receiver Channel .......................................................................... 8
3.4 Designing Integration Scenario .................................................................................. 9
3.4.1 Application Component ......................................................................................... 10
3.4.2 Actions .................................................................................................................. 10
3.4.3 Connection ............................................................................................................ 11
3.4.4 Start and End Point ............................................................................................... 11
3.5.0 Configuring Integration Scenario ........................................................................... 12
3.5.1 Test Configuration ................................................................................................. 15
4.0 Challenges ............................................................................................................... 16
5.0 Conclusion ............................................................................................................... 16
6.0 Reference ................................................................................................................ 17
7.0 Appendix .................................................................................................................. 18

Frederico Chan (3844793)

Page 1 of 23

BCO6679 - WEB SERVICES

Special Project Essay (Web Service with SAP XI)

1.0 Introduction to SAP Exchange Infrastructure (XI)


In this section it introduces the basic of SAP Exchange Infrastructure (XI) where it fit in the SAP
Landscape, its basic architecture and the components that make consuming Web Services
possible with SAP XI.

1.1 The Basic


The SAP XI is the integration broker implementation from SAP. It is placed in this diagram as part
of the process integration box. SAP XI leverages the application platform as a runtime
environment.

Figure 1.0 SAP XI shown as integration broker within the Netweaver Platform.
The goal of the SAP XI is to provide a platform for internal and external process integration. It
gets delivered with prepackaged collaboration knowledge and offers a major control point for
business integration. SAPs goal is to centralize cross-system integration in one place within SAP
XI in traditional SAP implementations this is achieved using ALE technology or other EAI tasks
like flat file exchange. SAP XI includes also a BPEL engine which enables not only simple message
routing between systems, but also more intelligent system integration scenarios. This BPEL
capability is not going to replace the existing SAP Business Workflow capabilities that are still
included within any ABAP based SAP instance like CRM, SRM or R/3.

1.2 The Architecture


SAP XI is running on top of the SAP Web Application Server 6.40 and later, a specific difference is
that SAP XI is supported on Unicode platforms only. SAP XI is one of the first new SAP

Frederico Chan (3844793)

Page 2 of 23

BCO6679 - WEB SERVICES

Special Project Essay (Web Service with SAP XI)

middleware components that are using both personalities of an SAP Web Application Server
the Java and the ABAP part.

Figure2.0 SAP XI Architecture showing components.


In the general architecture of SAP XI you can see there are two main blocks. The shared
collaboration knowledge area contains the business packages and business process templates.
They can be built and changed with the Integration builder. To build them, you can access data
from the SLD and export it to the runtime environment. In the collaborative business process
runtime part, the built business processes get connected to different systems in the SLD and
really runs in this environment. Another perspective is to separate between the design,
configuration and runtime environment. As you can see in the above diagram, the runtime
environment can access other SAP systems and other systems using SAP XI adapters.

1.3 Adapter Engine and SOAP Adapter


SAP XI is using adapters to connect any backend system to the integration server. The adapter
portfolio is fairly rich because SAP is partnering with major adapter development business
partners like Seeburger and iWay to use their adapters together with an SAP XI broker. If no
adapter is available for a more exotic backend, the partner connectivity kit can be used to create
a new custom adapter that reflects the special needs of a dedicated backend system.
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.

Frederico Chan (3844793)

Page 3 of 23

BCO6679 - WEB SERVICES

Special Project Essay (Web Service with SAP XI)

Figure 3.0 showing multiple SAP XI adapter in relation to Integration Server.

2.0 The Special Project Scope


The special project goal is to demonstrate SAP XI ability as an integration broker to consume
con
Web
Services.

US Weather Data

SAP XI

Figure 4.0 Example of Consuming Web Services (Weather Data)

First we discussed the consuming of Web Services with SAP XI. In the consuming example (Figure
4.0), the website WebServiceX.NET published US weather data via free web services, the
Victoria University SAP XI system is then configured with a SOAP adapter and a integration
scenario to consume that web service.
service The user interface is a web application
tion generated with
ABAP webdynpro, it serves as the triggering for the web service consumption by inputting the US
city name and triggering the request connection for web service.
service
The WebServiceX.Net is a free web service site providing a one week weather forecast for valid
USA city (eg. Washington, New York, San Francisco, etc). Although WebserviceX.NET provides
provide
other web services we are only using weather forecast in this example. The WSDL Schema
Sch
location can be found below, and for the entire definition file see Appendix A.

Frederico Chan (3844793)

Page 4 of 23

BCO6679 - WEB SERVICES

Special Project Essay (Web Service with SAP XI)

http://www.webservicex.net/WeatherForecast.asmx?WSDL

Integration scenario is build with the use of SAP XI, Turquoise system (EC7), client 001 is used to
create all the mapping and interfacing of model scenario. The interface is a SOAP adapter
prebuild in SAP system and is available by calling it using Integration Builder.
The Web Application is a BSP (Business Server Pages) application use to enable the execution of
web service adapter. This application is use to make the necessary entries and display the results.
To be able to execute the SAP XI adapter after configuration the BSP application must be
activated via ICF (Internet Communication Framework).
Browser
Acces Web
Application

HTTP

Web
Services
www.webservi
cex.net

Web
Application
Abap\Java
Webdynpro
vunw7.vu.edu.au
EC7 : 105, 106, 107

SOAP

SAP
Login

XI
Integration
Engine
SLD
vunw7.vu.edu.au
EC7 : 001

SAP
Login
EC7 - Turquoise

Figure 6.0 SAP XI integration scenario and web application

Frederico Chan (3844793)

Page 5 of 23

BCO6679 - WEB SERVICES

Special Project Essay (Web Service with SAP XI)

3.0 Use of SAP XI to consume Web Services


Web services are a standard format for exchanging data. The standard is based on XML and
consists of a SOAP envelope with a header and a body. The structure of the message and the
information about the connection parameters are stored in a special XML file. The structure of
this file is described with the Web service definition language (WSDL). This file is usually
generated by the Web service provider (receiver of the message) and can be uploaded by the
Web service consumer (sender of the message).
The SAP XI system allows you to 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.

3.1 Setting up a SOAP Adapter


The receiver SOAP adapter connects SAP XI with an external Web service. To call the Web
service, you need to define a message interface that represents the structure of the request and
response of the Web service. You can create this message interface easily with the help of a
WSDL file that represents the Web service. If this is not possible, alternatively you create the
message interface based on data types that you define yourself.

3.2 Uploading the WSDL


In our example the WSDL file is supplied by the WebServiceX.NET and it describes the message
interface, the WSDL definition is uploaded into the Integration Repository at the Software
Component and under the required Namespace.

Frederico Chan (3844793)

Page 6 of 23

BCO6679 - WEB SERVICES

Special Project Essay (Web Service with SAP XI)

In the external definition object, choose Category wsdl and click Import external definitions:

After importing the WSDL file, you can view the included messages on the Messages tab page:

Now create a message interface corresponding to the message types from the external
definition. The message interface is responsible for routing the message to the Web service.

Frederico Chan (3844793)

Page 7 of 23

BCO6679 - WEB SERVICES

Special Project Essay (Web Service with SAP XI)

In the message interface object, select the message types of the external definition object by
using the input help:

After assigning the output and input message, save and activate your work. Now you can use the
message interface for routing and mapping.

3.3 Creating a SOAP Receiver Channel


To call the Web service, you create a communication channel with type SOAP and direction
receiver in the Integration Directory. The obligatory parameters in the configuration are Target
URL and SOAP action. You get the values you have to enter here from the WSDL file. You find the
target URL at the tag soap:address and the SOAP action at the tag soap:operation:
Frederico Chan (3844793)

Page 8 of 23

BCO6679 - WEB SERVICES

Special Project Essay (Web Service with SAP XI)

For the receiver SOAP adapter you need at least the following parameters:

3.4 Designing Integration Scenario


The integration scenario completely models the exchange of messages for a collaborative process
and provides an overview of the process flow. To model the exchange of messages and the
process flow, the integration scenario comprises the objects described below.

Frederico Chan (3844793)

Page 9 of 23

BCO6679 - WEB SERVICES

Special Project Essay (Web Service with SAP XI)

3.4.1 Application Component


An application component is a modeling construct within an integration scenario. From a logical
point of view, it represents a participant of an integration scenario. This contains the business
tasks and concerns that this participant represents within the integration scenario. In our
example we have Application Server 105 and Weather Data Provider.

3.4.2 Actions
Following application component we define the Actions, it represents a function within an
application component that is not subdivided further. Actions subdivide the process flow of an
integration scenario, in our example we have Actions Look Up Weather Data by City assigned to
Application Server 105 and Action Provide Weather Data by City assigned to Weather Data
Provider.

Assigned Outbound Interfaces US_Weather_Forecast_MI to action Look Up Weather Data.

Frederico Chan (3844793)

Page 10 of 23

BCO6679 - WEB SERVICES

Special Project Essay (Web Service with SAP XI)

Assigned Inbound Interfaces US_Weather_Forecast_MI_Inbound to action Provide Weather


Data.

3.4.3 Connection
A connection is a link between two actions within an integration scenario. In our example we
need to create a Cross-Component Connection, it connects actions from different application
components with each other. These actions exchange messages with each other in an integration
scenario, a cross-component connection defines the interfaces and mappings used, in our case
the connection needs to be Synchronous.

3.4.4 Start and End Point


The purpose of start and end actions is on the one hand, to improve clarity for the user, and on
the other, to specify possible points for a mapping to take place. A start action can be any action
from which an integration scenario can begin, in our example this is the Look up Weather Data
by City. Also remember it is possible to have more than one start point.
An end action brings an integration scenario to a logical business conclusion. It is possible to
have more than one end action, and it must be positioned at the end of the application
component. In our example the end point is positioned at action Provide Weather Data by City.

Frederico Chan (3844793)

Page 11 of 23

BCO6679 - WEB SERVICES

Special Project Essay (Web Service with SAP XI)

3.5.0 Configuring Integration Scenario


At configuration time you set up a collaborative process for a specific system landscape. The
configuration data is structured, organized, and saved in the Integration Directory in the form of
configuration objects.
The configuration can be done using Wizard to help configure individual steps. In our example we
will be importing the Integration Scenario. In this step you select the integration scenario and the
component view.

Following the transfer we then need to select the Component View to be used, in our case is the
BCO6679_Ext_WebService_IS build earlier in the project. Once you have executed this activity
the component view is displayed in an interactive graphic.

Frederico Chan (3844793)

Page 12 of 23

BCO6679 - WEB SERVICES

Special Project Essay (Web Service with SAP XI)

The second step you assigned Services to the corresponding Application Components. In this
way, you map the participants in an integration scenario displayed in the component view to
actual senders and receivers of messages in your system landscape.

Frederico Chan (3844793)

Page 13 of 23

BCO6679 - WEB SERVICES

Special Project Essay (Web Service with SAP XI)

Following assignment of services you then need to configure the connections and Generate the
configurations, by selecting Create New in Generated Objects.

At the end of the generation a log provides you with an overview of all changes made in the
Integration Directory as a result of the configuration of the integration scenario. It informs you
which configuration objects have been created or reused. The generation log enables you to
recognize which configuration objects require manual work.
The Generation process should automatically generate the Receiver Determination and the
Interface Determination, if its not then this will need to be done manually.

Frederico Chan (3844793)

Page 14 of 23

BCO6679 - WEB SERVICES

Special Project Essay (Web Service with SAP XI)

Here is a diagram showing the relationship between all individual objects within the integration
directory.

3.5.1 Test Configuration


In SAP XI a test tool is provided to simulate the processing of a message on the basis of the
existing configuration data. You can enter the header and payload of the message as the input
parameters. You can then display and analyze the status of the message after each individual
sub-step and once the message has been fully processed.

Frederico Chan (3844793)

Page 15 of 23

BCO6679 - WEB SERVICES

Special Project Essay (Web Service with SAP XI)

4.0 Challenges
The challenges are the lack of resources required for completing the project, to understand this
we need to first look at what is required to carry out the Web Service project. On a high level the
project tasks can be summarized in three distinct parts, they are developing the Web Application
frontend, configuring Integration Scenario and preparation of the Technical Platform.
In Figure 7.0 below these three distinct project parts are matched against its corresponding SAP
software components. The Web Application frontend which is a SAP WebDynpro program
required access to SAP ABAP Workbench or Netweaver Developer Studio (NWDS) development
tools, these resources are unavailable for the project.
Secondly the technical platform that is the Netweaver 2004s is configured not to allow
connection to internet web service provider (WebServiceX.NET). SAP Netweaver 2004s by default
is setup to only allowed internal consumption and provision of web services , this is by design to
secure the SAP system from internet intrusion. Special request was submitted to make security
configuration changes to the SAP XI system, but due to Victoria University security policy the
request was rejected.

Web Application

WebDynpro

Integration Scenario

Exchange Infrastructure

Technical Platform

NetWeaver 2004s

Figure 7.0 Project tasks with matching SAP software components.

5.0 Conclusion
In conclusion, the project was completed with a focus on designing and configuring the SAP XI
integration scenario only. The integration scenario created in this project demonstrates the
technical use of SAP XI to consume web services over the internet and the use of SAP XI SOAP
adapter in a Web Service scenario.
It is with regret that the Web Service scenario described in the project scope is incomplete, due
to the lack of development tools and system security concerns. However the completion of the
SAP XI Integration Scenario (under the Namespace -http://www.webserviceX.NET) demonstrate
the ability of SAP XI as an integration broker for SOAP messages, it demonstrate the steps once
needs to take in configuring the SAP XI to consume internet Web Services. The project delivery
also succesfully demonstrate the use of web service WSDL file to create customise SAP XI
interface for transmitting SOAP messages.
As part of the project delivery this document outlines the steps taken to configure the SAP XI
integration scenario and the fundamental knowledge required for using SAP XI in web service
scenario. This web service project is likely to continue in future semester and it is the author goal
that this document will be used as reference for future development. With intention additional
Frederico Chan (3844793)

Page 16 of 23

BCO6679 - WEB SERVICES

Special Project Essay (Web Service with SAP XI)

information was added and suggested to assist future SAP XI development, for example the
suggested use of SAP message testing tool.
In the author opinion with considerations of the project scope, future SAP XI special project
should not be carried out under educational SAP Instance. Separate SAP Instance should be
installed for project works to avoid security concerns and minimise risks on damaging dedicated
educational system. With dedicated SAP XI Instance developemt tools can be installed and
system configuration can be changed freely without any impact on scheduled university tutorial
exercises.

6.0 Reference
End-to-End Process Integration How-to Guides for SAP Netweaver 7.0, SAP Community Network,
viewed on 5th November 2010,
<http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/608725f0-2a77-2910-c2b68ddddecc4b5e>
Funk, B. and Nicolescu, V. 2007, SAP Exchange Infrastructure for Developers, SAP Press, Boston
USA.
Introduction to SAP Exchange Infrastructure, IBM Educational Assistant, viewed on 5th November
2010,
<http://publib.boulder.ibm.com/infocenter/ieduasst/v1r1m0/index.jsp?topic=/com.ibm.iea.wsa
piw/wsapiw/5.0/IBMandSAP_Intro2SAP_tech/P04_SAP_NW_Exchange_Infrastructure/player.ht
ml>
SAP XI (Exchange Infrastructure), ERPGenie.com, viewed on 5th November 2010,
<http://www.erpgenie.com/sap/netweaver/xi/xiauthorizations.htm>
SAP How-To Guides, SAP Community Network, viewed on 5th November 2010,
<http://www.sdn.sap.com/irj/sdn/howtoguides>
SAP Library SAP Exchange Infrastructure, SAP HELP, SAP Netweaver 2004 SPS23, viewed on 5th
November 2010,
<http://help.sap.com/saphelp_nw04/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/conte
nt.htm>

Frederico Chan (3844793)

Page 17 of 23

BCO6679 - WEB SERVICES

Special Project Essay (Web Service with SAP XI)

7.0 Appendix
Apendix A. - WebServiceX.NET WSDL definition file

<wsdl:definitions targetNamespace="http://www.webservicex.net">

<wsdl:documentation>
Get one week weather forecast for valid zip code or Place name in USA
</wsdl:documentation>

<wsdl:types>

<s:schema elementFormDefault="qualified" targetNamespace="http://www.webservicex.net">

<s:element name="GetWeatherByZipCode">

<s:complexType>

<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="ZipCode" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>

<s:element name="GetWeatherByZipCodeResponse">

<s:complexType>

<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="GetWeatherByZipCodeResult" type="tns:WeatherForecasts"/>
</s:sequence>
</s:complexType>
</s:element>

<s:complexType name="WeatherForecasts">

<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="Latitude" type="s:float"/>
<s:element minOccurs="1" maxOccurs="1" name="Longitude" type="s:float"/>
<s:element minOccurs="1" maxOccurs="1" name="AllocationFactor" type="s:float"/>
<s:element minOccurs="0" maxOccurs="1" name="FipsCode" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="PlaceName" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="StateCode" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="Status" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="Details" type="tns:ArrayOfWeatherData"/>
</s:sequence>
</s:complexType>

<s:complexType name="ArrayOfWeatherData">

<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="WeatherData" type="tns:WeatherData"/>
</s:sequence>
</s:complexType>

<s:complexType name="WeatherData">

<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Day" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="WeatherImage" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="MaxTemperatureF" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="MinTemperatureF" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="MaxTemperatureC" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="MinTemperatureC" type="s:string"/>
</s:sequence>
</s:complexType>

<s:element name="GetWeatherByPlaceName">

Frederico Chan (3844793)

Page 18 of 23

BCO6679 - WEB SERVICES

Special Project Essay (Web Service with SAP XI)

<s:complexType>

<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="PlaceName" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>

<s:element name="GetWeatherByPlaceNameResponse">

<s:complexType>

<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="GetWeatherByPlaceNameResult" type="tns:WeatherForecasts"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="WeatherForecasts" type="tns:WeatherForecasts"/>
</s:schema>
</wsdl:types>

<wsdl:message name="GetWeatherByZipCodeSoapIn">
<wsdl:part name="parameters" element="tns:GetWeatherByZipCode"/>
</wsdl:message>

<wsdl:message name="GetWeatherByZipCodeSoapOut">
<wsdl:part name="parameters" element="tns:GetWeatherByZipCodeResponse"/>
</wsdl:message>

<wsdl:message name="GetWeatherByPlaceNameSoapIn">
<wsdl:part name="parameters" element="tns:GetWeatherByPlaceName"/>
</wsdl:message>

<wsdl:message name="GetWeatherByPlaceNameSoapOut">
<wsdl:part name="parameters" element="tns:GetWeatherByPlaceNameResponse"/>
</wsdl:message>

<wsdl:message name="GetWeatherByZipCodeHttpGetIn">
<wsdl:part name="ZipCode" type="s:string"/>
</wsdl:message>

<wsdl:message name="GetWeatherByZipCodeHttpGetOut">
<wsdl:part name="Body" element="tns:WeatherForecasts"/>
</wsdl:message>

<wsdl:message name="GetWeatherByPlaceNameHttpGetIn">
<wsdl:part name="PlaceName" type="s:string"/>
</wsdl:message>

<wsdl:message name="GetWeatherByPlaceNameHttpGetOut">
<wsdl:part name="Body" element="tns:WeatherForecasts"/>
</wsdl:message>

<wsdl:message name="GetWeatherByZipCodeHttpPostIn">
<wsdl:part name="ZipCode" type="s:string"/>
</wsdl:message>

<wsdl:message name="GetWeatherByZipCodeHttpPostOut">
<wsdl:part name="Body" element="tns:WeatherForecasts"/>
</wsdl:message>

<wsdl:message name="GetWeatherByPlaceNameHttpPostIn">
<wsdl:part name="PlaceName" type="s:string"/>
</wsdl:message>

<wsdl:message name="GetWeatherByPlaceNameHttpPostOut">
<wsdl:part name="Body" element="tns:WeatherForecasts"/>
</wsdl:message>

<wsdl:portType name="WeatherForecastSoap">

Frederico Chan (3844793)

Page 19 of 23

BCO6679 - WEB SERVICES

Special Project Essay (Web Service with SAP XI)

<wsdl:operation name="GetWeatherByZipCode">

<wsdl:documentation>
Get one week weather forecast for a valid Zip Code(USA)
</wsdl:documentation>
<wsdl:input message="tns:GetWeatherByZipCodeSoapIn"/>
<wsdl:output message="tns:GetWeatherByZipCodeSoapOut"/>
</wsdl:operation>

<wsdl:operation name="GetWeatherByPlaceName">

<wsdl:documentation>
Get one week weather forecast for a place name(USA)
</wsdl:documentation>
<wsdl:input message="tns:GetWeatherByPlaceNameSoapIn"/>
<wsdl:output message="tns:GetWeatherByPlaceNameSoapOut"/>
</wsdl:operation>
</wsdl:portType>

<wsdl:portType name="WeatherForecastHttpGet">

<wsdl:operation name="GetWeatherByZipCode">

<wsdl:documentation>
Get one week weather forecast for a valid Zip Code(USA)
</wsdl:documentation>
<wsdl:input message="tns:GetWeatherByZipCodeHttpGetIn"/>
<wsdl:output message="tns:GetWeatherByZipCodeHttpGetOut"/>
</wsdl:operation>

<wsdl:operation name="GetWeatherByPlaceName">

<wsdl:documentation>
Get one week weather forecast for a place name(USA)
</wsdl:documentation>
<wsdl:input message="tns:GetWeatherByPlaceNameHttpGetIn"/>
<wsdl:output message="tns:GetWeatherByPlaceNameHttpGetOut"/>
</wsdl:operation>
</wsdl:portType>

<wsdl:portType name="WeatherForecastHttpPost">

<wsdl:operation name="GetWeatherByZipCode">

<wsdl:documentation>
Get one week weather forecast for a valid Zip Code(USA)
</wsdl:documentation>
<wsdl:input message="tns:GetWeatherByZipCodeHttpPostIn"/>
<wsdl:output message="tns:GetWeatherByZipCodeHttpPostOut"/>
</wsdl:operation>

<wsdl:operation name="GetWeatherByPlaceName">

<wsdl:documentation>
Get one week weather forecast for a place name(USA)
</wsdl:documentation>
<wsdl:input message="tns:GetWeatherByPlaceNameHttpPostIn"/>
<wsdl:output message="tns:GetWeatherByPlaceNameHttpPostOut"/>
</wsdl:operation>
</wsdl:portType>

<wsdl:binding name="WeatherForecastSoap" type="tns:WeatherForecastSoap">


<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>

<wsdl:operation name="GetWeatherByZipCode">
<soap:operation soapAction="http://www.webservicex.net/GetWeatherByZipCode" style="document"/>

<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>

Frederico Chan (3844793)

Page 20 of 23

BCO6679 - WEB SERVICES

Special Project Essay (Web Service with SAP XI)

<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="GetWeatherByPlaceName">
<soap:operation soapAction="http://www.webservicex.net/GetWeatherByPlaceName" style="document"/>

<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>

<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>

<wsdl:binding name="WeatherForecastSoap12" type="tns:WeatherForecastSoap">


<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>

<wsdl:operation name="GetWeatherByZipCode">
<soap12:operation soapAction="http://www.webservicex.net/GetWeatherByZipCode" style="document"/>

<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>

<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="GetWeatherByPlaceName">
<soap12:operation soapAction="http://www.webservicex.net/GetWeatherByPlaceName" style="document"/>

<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>

<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>

<wsdl:binding name="WeatherForecastHttpGet" type="tns:WeatherForecastHttpGet">


<http:binding verb="GET"/>

<wsdl:operation name="GetWeatherByZipCode">
<http:operation location="/GetWeatherByZipCode"/>

<wsdl:input>
<http:urlEncoded/>
</wsdl:input>

<wsdl:output>
<mime:mimeXml part="Body"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="GetWeatherByPlaceName">
<http:operation location="/GetWeatherByPlaceName"/>

<wsdl:input>
<http:urlEncoded/>
</wsdl:input>

<wsdl:output>
<mime:mimeXml part="Body"/>

Frederico Chan (3844793)

Page 21 of 23

BCO6679 - WEB SERVICES

Special Project Essay (Web Service with SAP XI)

</wsdl:output>
</wsdl:operation>
</wsdl:binding>

<wsdl:binding name="WeatherForecastHttpPost" type="tns:WeatherForecastHttpPost">


<http:binding verb="POST"/>

<wsdl:operation name="GetWeatherByZipCode">
<http:operation location="/GetWeatherByZipCode"/>

<wsdl:input>
<mime:content type="application/x-www-form-urlencoded"/>
</wsdl:input>

<wsdl:output>
<mime:mimeXml part="Body"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="GetWeatherByPlaceName">
<http:operation location="/GetWeatherByPlaceName"/>

<wsdl:input>
<mime:content type="application/x-www-form-urlencoded"/>
</wsdl:input>

<wsdl:output>
<mime:mimeXml part="Body"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>

<wsdl:service name="WeatherForecast">

<wsdl:documentation>
Get one week weather forecast for valid zip code or Place name in USA
</wsdl:documentation>

<wsdl:port name="WeatherForecastSoap" binding="tns:WeatherForecastSoap">


<soap:address location="http://www.webservicex.net/WeatherForecast.asmx"/>
</wsdl:port>

<wsdl:port name="WeatherForecastSoap12" binding="tns:WeatherForecastSoap12">


<soap12:address location="http://www.webservicex.net/WeatherForecast.asmx"/>
</wsdl:port>

<wsdl:port name="WeatherForecastHttpGet" binding="tns:WeatherForecastHttpGet">


<http:address location="http://www.webservicex.net/WeatherForecast.asmx"/>
</wsdl:port>

<wsdl:port name="WeatherForecastHttpPost" binding="tns:WeatherForecastHttpPost">


<http:address location="http://www.webservicex.net/WeatherForecast.asmx"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

Frederico Chan (3844793)

Page 22 of 23

You might also like