Java Reference
In-Depth Information
5.5.1 Check WSDL
Listing 5-6. A WSDL of a CXF Web Service Application
<
wsdl:definitions
xmlns:ns1
=
"
http://schemas.xmlsoap.org/soap/http
"
xmlns:soap
=
"
ht-
xmlns:tns
=
"
http://cxf.ws.bemach.com/
"
xmlns:wsdl
=
"
http://schemas.xmlsoap.org/wsdl/
"
xmlns:xsd
=
"
http://www.w3.org/2001/XMLSchema
"
name
=
"
EmployeeDataService
"
targetNamespace
=
"
http://cxf.ws.bemach.com/
"
>
<
wsdl:types
>
<
xs:schema
xmlns:ns1
=
"
http://bemach.com
"
xmlns:tns
=
"
http://cxf.ws.bemach.com/
"
xm-
lns:xs
=
"
http://www.w3.org/2001/XMLSchema
"
attributeFormDefault
=
"
unqualified
"
elementFormDe-
fault
=
"
unqualified
"
targetNamespace
=
"
http://cxf.ws.bemach.com/
"
>
<
xs:import
namespace
=
"
http://bemach.com
"
/>
<
xs:element
name
=
"
createEmployee
"
type
=
"
tns:createEmployee
"
/>
<
xs:element
name
=
"
createEmployeeResponse
"
type
=
"
tns:createEmployeeResponse
"
/>
<
xs:element
name
=
"
deleteEmployee
"
type
=
"
tns:deleteEmployee
"
/>
<
xs:element
name
=
"
deleteEmployeeResponse
"
type
=
"
tns:deleteEmployeeResponse
"
/>
<
xs:element
name
=
"
getEmployee
"
type
=
"
tns:getEmployee
"
/>
<
xs:element
name
=
"
getEmployeeResponse
"
type
=
"
tns:getEmployeeResponse
"
/>
<
xs:element
name
=
"
updateEmployee
"
type
=
"
tns:updateEmployee
"
/>
<
xs:element
name
=
"
updateEmployeeResponse
"
type
=
"
tns:updateEmployeeResponse
"
/>
<
xs:complexType
name
=
"
createEmployee
"
>
<
xs:sequence
>
<
xs:element
minOccurs
=
"
0
"
name
=
"
employee
"
type
=
"
tns:employee
"
/>
</
xs:sequence
>
</
xs:complexType
>
<
xs:complexType
name
=
"
employee
"
>
<
xs:sequence
>
<
xs:element
name
=
"
emplNo
"
type
=
"
xs:long
"
/>
<
xs:element
minOccurs
=
"
0
"
name
=
"
firstName
"
type
=
"
xs:string
"
/>
<
xs:element
minOccurs
=
"
0
"
name
=
"
lastName
"
type
=
"
xs:string
"
/>