Click here to Skip to main content
15,890,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am having one existing web services (.asmx not WCF), that is used in one windows application. Now i want to create same application in android using qt, but need to use the same web services. What is the best solution for doing this?

I search it in google about gSoap. But in gSoap initial step says something related to .wsdl and all. how to do this? Any sample code is available?
Posted

1 solution

Generally you access the WSDL from the end point for your web service.

WSDL is Web Service Description Language.

If your webservice is at the following end point:

https://mydomain.com/myarea/myservice.asmx

Using the following additional querystring will change the services behaviour and get it to output the WSDL.

https://mydomain.com/myarea/myservice.asmx?wsdl

This will then give you an XML output which describes your service.

It's the same technique your visual studio IDE uses to understand which methods are available for you web service.

Sometimes the WSDL behaviour can be switched off in production environments. You may have to get it from your original development project.
 
Share this answer
 
Comments
seetha.M 8-Sep-14 10:14am    
How can i use this services in Qt? Do you have any idea about this?
Stephen Hewison 8-Sep-14 10:48am    
This question asked about getting access to the WSDL. And you have your answer. Give it a go. I don't know QT but I do know web services. Download your WSDL and follow the gSoap initial steps. As you said, the initial step is the WSDL and now you know how to get it. If you get stuck using gSoap then ask another question.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900