2
Reply

Assistance in comsuming information from a web service

Chad

Chad

Sep 20 2008 11:47 PM
2.5k

I would be truly grateful for some assistance in retrieving some information from a web service. I’m new to using web services but need to obtain some information but the only way is to “create” some sort of program to retrieve the information. I have read numerous tutorials for the last few days but still unable to get anything to work.

This is the information I have:

The web service application can be accessed at the following address: http://www.nphase.com/SIMCommissioningWS/commissioning.asmx

Logging in - "login" is the initial function that all applications must call to access the commissioning application. The function accepts a username, password, and an application name. THe username and password are verified to determine access to the application. If the username and password are valid, a secure token is returned to the calling application.

To login ot the NDCS application, call the login () function as follows:

[WebMethod]

public int Login (string UserName, string Password, string AppName, ref string token)

I, of course have the information that is needed but any way I try to do it, it just will not work.

Any help is greatly appreciated. Thanks. Chad


Answers (2)