|
|
|
|
|
SOAPPrepare (Function) In french: SOAPPrepare Builds the SOAP request for calling a web service function.
stParam1 is Param1
stParam1.Chaîne = "une chaîne"
stParam1.Entier = 2
stRet is Result1
stRet = MaFonction(stParam1)
stParam1 is Param1
stParam1.Chaîne = "une chaîne"
stParam1.Entier = 2
byBuffer is Buffer = SOAPPrepare(MaFonction, stParam1)
SOAPRunXML("http://localhost/webService/", byBuffer, "urn:MonWebservice/MaFonction")
Syntax
<Result> = SOAPPrepare(<Function name> [, <Parameter 1> [... [, <Parameter N>]]])
<Result>: Buffer XML buffer containing the generated SOAP request. <Function name>: Character string Web service function for which the SOAP request must be built. <Parameter 1>: Variant First parameter of the web service function. <Parameter N>: Variant Nth parameter of web service function. Remarks SOAPPrepare SOAPPrepare builds the SOAP request that would be sent to the web service during a call to one of its functions without running the request. Then, the generated buffer can be sent by SOAPRunXML. The returned buffer contains the XML stream encoded in UTF8. The buffer does not contain the HTTP header (indicating the SOAP Action, the content-type, etc.). The headers are automatically added by SOAPRunXML. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|