Answer the question
In order to leave comments, you need to log in
Using Dynamic WSDL in Delphi
We need to pass the received data to the specified web service, which is unknown at the time of compilation. Those. we cannot use the WSDL Import Wizard.
Let's say for a web service its WSDL, the desired operation and the parameter (to which to pass data) are given in the INI file:
[Section]
WSDL=http://example.com/SomePub/ws/SomeService?wsdl
Username=myuser
Password=mypass
OperationName=MyOperation
ParameterName=MyParameter
Answer the question
In order to leave comments, you need to log in
Look at the SOAP implementation code in the VCL. There is some undocumented RTTI that can be used for this purpose. Unfortunately, I don't have the sources, but I've done my own SOAP implementation, so it can be done. True, WSDL will have to be parsed on its own.
Look at the SOAP implementation code in the VCL. There is some undocumented RTTI that can be used for this purpose. Unfortunately, I don't have the sources, but I've done my own SOAP implementation, so it can be done. True, WSDL will have to be parsed on its own.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question