vadim_ti
asked on
WSDL publishing in WebService
I use Delphi 7 professional edition.
I developed Ā number of web services and i have a next problem
I need to add to automatically generated WSDL string restrictions like minlength, maxlegth, or enumeration values.
Also i need to add minOccurs, maxOccurs attributes to show what elements are optional and what elements are optional and
what arguments are obligatory.
Another opportunity (less wanted) how i can supply my own WSDL instead of automatically generated.
I developed Ā number of web services and i have a next problem
I need to add to automatically generated WSDL string restrictions like minlength, maxlegth, or enumeration values.
Also i need to add minOccurs, maxOccurs attributes to show what elements are optional and what elements are optional and
what arguments are obligatory.
Another opportunity (less wanted) how i can supply my own WSDL instead of automatically generated.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I think you need go to see source code automatically generated from a WSDL at first. It ought have a function like this. Please read its souce code. You will get how to link your own WSDL.
function GetServicePortType(UseWSDL : Boolean; Addr: string; HTTPRIO: THTTPRIO): ServicePortType;
function GetServicePortType(UseWSDL
ASKER
i spent a lot of time to discover source code
and do not find something best than in OnBeforePublishEvent handled to read WSDL file manually ,
and to build a response,
so i get a wanted result but can be a problem from maintenance point of view,
i would like to get more "authomatic" solution.
Have any idea?
and do not find something best than in OnBeforePublishEvent handled to read WSDL file manually ,
and to build a response,
so i get a wanted result but can be a problem from maintenance point of view,
i would like to get more "authomatic" solution.
Have any idea?
ASKER