Scenario 3: Web service deployed but the server is not running
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
In this scenario, a Web service is deployed, but its server is not running. At this point:
- The client sends the following connection request:
Connect_Orderinfo("", "", ") - The WSA:
- Receives the request
- Determines that the server is not available
- Records the following in its log:
[02/12/11@16:17:27.349-0500] P-000120 T-Thread-11 2 OrderInfo ABL-Provider (reqid:8) Error in SOAP request execution: Connect Failure: Application Service asbroker1 Unknown at NameServer at Host servicehost Port 5162. (8234) (10926) - Sends a SOAP message with a SOAP fault back to the client. The
message is as follows:
<?xml version="1.0" encoding="UTF-8" ?> <soap:Envelope namespaces defined here…> <soap:Body> <soap:Fault> <faultcode>SOAP-ENV:Server</faultcode> <faultstring>An error was detected … request. (10893) </faultstring> <detail> <FaultDetail xmlns="http://servicehost:8080/wsa/wsa1"> <errorMessage>Error in SOAP request execution: Connect Failure: Application Service asbroker1 Unknown at NameServer at Host servicehost Port 5162. (8234) (10926) </errorMessage> <requestID>2e62cab6b81150d5:-87f76e:f20f57227d:-8000#8 </requestID> </FaultDetail> </detail> </soap:Fault> </soap:Body> </soap:Envelope>
- The interface translates the SOAP fault into a SOAP exception.
- The client catches the SOAP exception.
- The client displays this error message (assuming the client application
has a user interface):
