Академический Документы
Профессиональный Документы
Культура Документы
Collaborate Succeed
world class skill building and technical enablement
Network
Other company, product, or service names may be trademarks or service marks of others.
Now that you’ve described the message format using XSD, you
next goal is to describe a Web service for retrieving it
For simplicity, the Web service will have a single operation
named getSchedule
The operation will take as input, the schedule id, and return as
output the corresponding schedule document
You can edit the document in the graph tab, the source tab, the
outline view, and the property view.
WSDL describes Web service using a hierachy of constructs:
message, portType, binding, and service
The editor has a wizard that generates binding content for you
Try creating query.wsdl
Import IceHockeyService/query.wsdl before proceeding
The Web service is running but it just returns null at this point
You next need to fill in the implementation of the Java bean
skeleton
The Web service needs to access the League Planet business
tier
If you have not previously done so, create a new J2EE Utility
Project named LeaguePlanetModel and import the source code
from LeaguePlanentModel/src into it
You now have a Web service skeleton and access to the League Planet
business tier.
Your next goal is to implement the Web service.
The generated skeleton class is
com.leagueplanet.ws.query.QuerySOAPImpl
Import
IceHockeyService/src/com/leagueplanet/ws/query/QuerySOAPImpl.java
now
This modified skeleton simply delegates to a new class
com.leagueplanet.Query to avoid confusion with the generated code
Create this new class now and try to implement it
Import IceHockeyService/src/com/leagueplanet/Query.java before
proceeding
In this tutorial you have covered all the major functional areas of
Web service development that are available in WTP
Tools covered included the Web Service Wizard, Web Service
Explorer, XSD Editor, WSDL Editor, TCP/IP Monitor, and WS-I
Test Tools
Technologies covered include XSD, WSDL, SOAP, UDDI, WSIL,
JAX-RPC, and Axis
For further details consult the WTP Help and Web site