web services - Use WSDL dynamically in Delphi -
how can use dynamic wsdl, it's operations , parameters, given in program config file?
for example, have config file:
[section] wsdl=http://example.com/somepub/ws/someservice?wsdl username=myuser password=mypass operationname=myoperation parametername=myparameter
i.e. have use web-service, unknown, given (by ini-file) in run-time. so, cannot use wsdl import wizard in delphi.
can write in delphi such program, load these settings configuration, , pass data specified operation in specified parameter on web-service, specified given wsdl?
using soapui, import service , perform sample call. copy raw request , raw response notepad. modify real data 'tags' , include each raw template value in ini. when need make call, open ini, grab raw response template , replace tags real values. manually send soap request , parse response in same way using raw template.
Comments
Post a Comment