AnsweredAssumed Answered

Webservice Troubles - Endpoint Reference not found ; WSDL looks off

Question asked by michaelbb on Dec 18, 2015
Latest reply on Jan 28, 2016 by michaelbb

Hi,

 

We are trying to register a proxy tool in Learn 9.1.201410.160373.

 

We're using PHP, have tried various libraries and solutions including:

 

Learn 9 web services with PHP - EduGarage Forums

https://github.com/stedwards/Blackboard-Web-Services-PHP-Library

 

The first problem is that the WSDL that is returned by Blackboard includes (I think) malformed URLs:

 

It contains links like "https://xxx/webapps/services/Context.WS" instead of "https://xxx/webapps/ws/services/Context.WS"

 

If I modify the code to go directly to the correct WS URL or modify a local WSDL file and use that, then I get the following error:

 

<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Client</faultcode><faultstring>The service cannot be found for the endpoint reference (EPR) https://xxx//webapps/ws/services/Context.WS</faultstring><detail /></soapenv:Fault></soapenv:Body></soapenv:Envelope>

 

The URL appears valid; pasting it in a browser gives back a message about missing security headers, which are presumably being sent correctly when running the script (as I'm getting a different error message then).

 

Web Services are enabled, and discoverable, and I've looked at the permissions within Context and they all seem on board.

 

Any ideas?

Outcomes