Question Web Service Connection Failure

Potish

Member
I am developing an application that needs to connect to a HTTPS web service for request and response processing. The host has provided an Web Service URL but I cannot get my progress program to successfully connect. My connection method looks something like this

DEFINE VARIABLE hWebService AS HANDLE NO-UNDO.
CREATE SERVER hWebService.

hWebService:CONNECT("-WSDL 'httpsURL?targetURI=WSDLuri'
-Service 'SomeService'
-Port 'SomePort'").

The connection method fails and gives this error
Error loading WSDL document httpsURL?targetURI=WSDLuri: Cannot resolve URI
httpsURL?targetURI=WSDLuri status code: 500 (11748)

When I paste the URL to a browser I get the following XML response

<soapenv:Envelope>
<soapenv:Body>
<soapenv:Fault>
<soapenv:faultcode>500</soapenv:faultcode>
<soapenv:faultstring>Dynamic backend host not specified</soapenv:faultstring>
<soapenv:detail>Dynamic backend host not specified</soapenv:detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>

Any ideas/suggestions on what the root cause of this is and how I can resolve the problem?
 
Back
Top