Blackboard Learn 9.1 Service Pack 6 Includes Fix For User Web Service
We are now testing our use of Blackboard Learn 9.1 web services in Service Pack 6. Previously, up to Service Pack 5, we were not able to use Blackboard's User web service to update an existing Blackboard user's data. The same tests that were failing for updating an existing Blackboard user using the User web service now pass in Service Pack 6.
Prior to Service Pack 6, the SOAP envelope returned by Blackboard when calling the save method of the User web service with an existing Blackboard user was:
<soapenv:Code>
<soapenv:Value>soapenv:Receiver</soapenv:Value>
</soapenv:Code>
<soapenv:Reason>
<soapenv:Text xml:lang="en-US">[User.WS001]Failed to save user along with the portal and system roles kcole</soapenv:Text>
</soapenv:Reason>
<soapenv:Detail />
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
Now running our same tests with SP6, we correctly get back the user id of the existing user's whose information was updated:
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
<soapenv:Body>
<ns:saveUserResponse xmlns:ns="http://user.ws.blackboard" xmlns:ax214="http://user.ws.blackboard/xsd" xmlns:ax213="http://ws.platform.blackboard/xsd">
<ns:return>_481612_1</ns:return>
</ns:saveUserResponse>
</soapenv:Body>
</soapenv:Envelope>
I've updated my documentation and example project for using Blackboard's User web service.
I am writing one webservice which will be deployed that as a building block in BBLearn.
Earlier it was working fine with AXIS1.
Now I have upgraded this webservice to AXIS2.
But from the newly generated stubs I am not able to access the building block Webservice.
Are our webservices currently running in tomcat are AXIS1 or Axis2 based?
If Axis2 based do we need to provide any extra configuration parameters or do we need to deploy in different way?
I've not created my own web services and deployed them as part of a building block so I cannot help you with that specific case.
Thanks for all info on the WS for Bb.
Are you able to specify/save a system role for a user or to update the same? The only way I can create or
update a user, is to set system role to null before calling createUser.
Thank you,
Jasmin
Using Blackboard Lean 9.1 Service Pack 1 and Service Pack 6 I'm able to create a new user using the User web service without specifying a system role.
Using Service Pack 1 I'm not able to update a user even if I specify a system role. Using Service Pack 6 I am able to update a user without specifying a system role.
Your problem may be related to which version of Blackboard Learn 9.1 you are using.
I am just curious if you are able to save a user with the system role other than
"NONE", which is I guess default, when it is not specified in the call.
I am using SP6.
Jasmin
You were right about not needing to specify a system role when creating a new user or updating exisiting user.
But it seems that system and insitution roles cannot be updated, and if you try to specify system role for a new user, it returns WS001.
Jasmin