Skip to Content
author's profile photo Former Member
Former Member

samples or snippets for using/ consuming the QWAAS

I Could use some code samples or snippets for using/ consuming the QWAAS (Query as a Web Service) from a Windows .NET App.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 30, 2007 at 05:13 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.