on 06-29-2007 6:39 AM
I Could use some code samples or snippets for using/ consuming the QWAAS (Query as a Web Service) from a Windows .NET App.
In Visual Studio, you'd consume QaaWS as you would any other Web Service service - it should be relatively straightforward.
I create a QaaWS on ueda.sample.net named TestQaaWS. In VS2005, I create a Web Reference to the WSDL, http://ueda.sample.net:8080/dswsbobje/qaawsservices/TestQaaWS?WSDL, selecting the default package name.
Then in my application:
net.sample.ueda.TestQaaWS qaaws = new net.sample.ueda.TestQaaWS1();
net.sample.ueda.Row[] rows = qaaws.runQueryAsAService("CMSUSER", "CMSPASSWORD", ...)
foreach(net.sample.ueda.Row row in rows) {
// Do stuff with row - note that
// data columns will be exposed as properties
// of variable row.
}
Sincerely,
Ted Ueda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.