From an interface address, user name and password, two parameters (the order number, product number), query the product detail information, (user name and password, two parameters (the order number, product number) is the json format) should be how to write the statement, with reference to the above network, he has a few still not solved, with reference to http://blog.csdn.net/cb168/article/details/8817830 this address above methods IdHTTP1. Post (url, params); Returns the HTTP/1.1 500 Internal Server Error Error, WSDL file set up by using the webservice prompt "text string, but can't find the quotes"
CodePudding user response:
In the case of XE2,
In the project, the new orther - webservice - WSDL Importer.
The locations of the WSDL File or URL: input webservice URL +? WSDL, and then press next to import interface unit,
In the main form in the cell reference into the interface unit,
Put a THTTPRIO control,
Set THTTPRIO controls the URL of the properties for the web service URL,
To invoke the web service method returns the results after
MSG:=(HTTPRIO3 as qqOnlineWebServiceSoap). QqCheckOnline (parameters);