Web Services Quick Start Tutorial
Testing a Web Method that Returns a Collection from Terminal
Once again we can test the service using Terminal. Here are the steps:
Open Terminal in the namespace in which you are working.
Use the WSDL to regenerate a client for the service and then instantiate the client.
Use the client to execute the GetContactByName
service. In the following code client
points to the client created in the previous step.
USER>Set list = client.GetContactByName("D")
USER>Set contact = list.GetAt(1)
Due to the randomness of the generated data, your results might be different.