Java Reference
In-Depth Information
Inspecting the Generated WSDL File
Each web service requires a WSDL file for describing the service contract. XFire can generate the WSDL
file for your service dynamically. For the weather service, you can access the WSDL file through the
following URL:
The generated WSDL file for your weather service is shown following. For simplicity, the less
important parts are omitted.
<?xml version="1.0" encoding="UTF-8" ?>
<wsdl:definitions targetNamespace=" http://weather.springenterprise"
<xsd:schema xmlns:xsd=""
attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="" >
<xsd:complexType name=" ArrayOfDateTime">
<xsd:element maxOccurs="unbounded" minOccurs="0"
name="dateTime" type=" xsd:dateTime" />
<xsd:element name=" getTemperatures">
<xsd:element maxOccurs="1" minOccurs="1" name=" in0"
nillable="true" type=" xsd:string" />
<xsd:element maxOccurs="1" minOccurs="1" name=" in1"
nillable="true" type=" tns:ArrayOfDateTime" />
<xsd:complexType name=" ArrayOfTemperatureInfo">
<xsd:element maxOccurs="unbounded" minOccurs="0"
name="TemperatureInfo" nillable="true"
type=" tns:TemperatureInfo" />
<xsd:complexType name=" TemperatureInfo">
<xsd:element minOccurs="0" name=" average" type="xsd:double" />
<xsd:element minOccurs="0" name=" city"
nillable="true" type="xsd:string" />
<xsd:element minOccurs="0" name=" date" type="xsd:dateTime" />
<xsd:element minOccurs="0" name=" max" type="xsd:double" />
<xsd:element minOccurs="0" name=" min" type="xsd:double" />
Search WWH ::

Custom Search