Web Service Example 1: Define a Web Service Provider |
This topic is the first part of Web Service Example 1: RPC-Oriented Method with Simple Type Parameters To define the web service provider:
SELECT * FROM tour WHERE destination = :destination AND tour_type = :tour_type
All input and output parameters are generated. Parameter names are unique (case sensitive): there can be two different destination and DESTINATION parameters. USoft determines the XML Data Type of all parameters automatically. The order of the parameters is the order in which the bind variables appear in the SQL statement. This may not be the order in which you want to think of, or expose, the parameters in the web service. If necessary, check and re-arrange the order of parameters.
Application: TRAVEL User: TRAVELUSER Password: traveluser Host Name: MyWebServer Port Number: 7777 Access Point File: C:\inetpub\wwwroot\TravelService\TRAVELSERVICE.asp Access Point URL: http://MyWebServer/TravelService/TRAVELSERVICE.asp WSDL File: C:\inetpub\wwwroot\TravelService\TRAVELSERVICE.wsdl WSDL URL: http://MyWebServer/TravelService/TRAVELSERVICE.wsdl Target Namespace: http://MyWebServer/TravelService/TRAVELSERVICE.wsdl
The web server publication folder now contains a TRAVELSERVICE.xml, TRAVELSERVICE.asp file, and TRAVELSERVICE.inc file.
The web server publication folder now contains a TRAVELSERVICE.wsdl file.
Next: Web Service Example 1: Define a Web Service Component that calls the TRAVELSERVICE web service provider. |