Binding results
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
After a successful attempt to bind a Web service, the server object is initialized for the Web service. This means that on the server object handle:
- The
CONNECT( )method returns the value,TRUE, during invocation - The server object's
SUBTYPEattribute returns the value,"WEBSERVICE" - The server object's
CONNECTED( )method returns the value,TRUENote: A value ofTRUEdoes not indicate the state of the HTTP/S connection between the client and Web service. Subsequent requests can fail if there is an HTTP failure at any point between the client and Web service. ATRUEvalue indicates that the WSDL document named in the-WSDLparameter was successfully read and any other parameter values (-Service,-Port, or-Binding) correctly match items in that WSDL document.
An attempt to bind a Web service can fail for any of the following reasons:
- A corrupt WSDL file
- A parameter specification in the connection-parameters string is invalid
- The value specified for the
-TargetNamespaceparameter does not match the target namespace specified in the WSDL document. (This is a version check.) - The specified WSDL document is not found
- The value for the
-WSDLUseridor the-WSDLPasswordparameter is invalid