cancel
Showing results for 
Search instead for 
Did you mean: 

How to consume a Query As A WebService in .Net application

Former Member
0 Kudos

Hi,

Our company is using Business Objects XI R2, but I have almost no knowledge of Business Objects. I am working on asp.net applications. Our Business Objects guy actually is not able to help me either because he is just starting his BO web services stuff and further more, he would be just creating web service by Query As a WebService and I need to figure out how to consume this service in my application. My question is, for example, he created one service which gets all employees' infomation, how am I able to call this service? I went through SDK library (https://www.sdn.sap.com/irj/boc/sdklibrary), but could not find appropriate code samples. Can any or you help me with some peieces of sample codes?

Thanks in advance!

Accepted Solutions (1)

Accepted Solutions (1)

ted_ueda
Active Contributor
0 Kudos

QaaWS WSDL isn't documented, but it's pretty much a standard XML Schema.

So you'd make a Web Reference or Server Reference to the Web Services from the WSDL, and you'd be able to figure out the call invocations from the generated API.

Sincerely,

Ted Ueda

Former Member
0 Kudos

Thanks for your answer. Are you saying that I just need to call this service the same way as other regular web services? Since I checked Web Services .NET Consumer SDK and Web Services .Net SDK Sample code which seem no way that it can be figured out without samples. Anyway I will give it a try and see how that goes, but meantime, if anybody can share their experience would be very much appreciated.

ted_ueda
Active Contributor
0 Kudos

Once you specify the Web Service, it should be straightforward.

There will be a service method for logon - where you'll retrieve the session ID, then a different method to retrieve the data as rows you can iterate (using the session ID in one of the call parameters).

Consumer libraries aren't provided for the QaaWS WSDLs, since the WSDLs are dynamically generated when you create the QaaWS web service data source. The BIPlatform and ReportEngine Web Services Consumers won't apply in your situation.

Sincerely,

Ted Ueda

Answers (0)