AnsweredAssumed Answered

Have anyone ever used Blackboard Webservice and got a session?

Question asked by obraun on Jun 14, 2016
Latest reply on Jun 21, 2016 by ahulme

Hi, for weeks i am trying now to use the SOAP Web Services and tried a lot of things, but i dont get a session.
I am using SOAP UI and i wasnt able to get a correct expected response, can do whatever i want.

 

My Header in Request looks like

 

 

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
        <wsa:Action>initialize</wsa:Action>
        <wsa:MessageID>uuid:b975e989-a4ce-4e1e-abd6-500945346c40</wsa:MessageID>
        <wsa:ReplyTo>
            <wsa:Address>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:Address>    
        </wsa:ReplyTo>
        <wsa:To>https://bbsrvtest.oth-aw.de:8443/webapps/ws/services/Context.WS</wsa:To>    
        <wsse:Security soap:mustUnderstand="1">
            <wsu:Timestamp wsu:Id="Timestamp-47d0d017-4fd1-46c2-b1b4-2431402cf847">
                    <wsu:Created>2016-05-27T14:00:48.736Z</wsu:Created>
                    <wsu:Expires>2016-05-27T16:00:48.736Z</wsu:Expires>
            </wsu:Timestamp>
            <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="SecurityToken-1b71e23a-2d84-40a5-9509-b75902ec8b76">    
                <wsse:Username>session</wsse:Username>
                <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">nosession</wsse:Password>        
                <wsse:Nonce>lAW2qXrXZ1maNNkCEzlHGA==</wsse:Nonce>    
                <wsu:Created>2016-05-27T14:00:48.736Z</wsu:Created>
            </wsse:UsernameToken>
        </wsse:Security>
    </soap:Header>
 </soap:Envelope>

 

 

.. of course with correct timestamp, but i alwys get response :

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <soapenv:Fault xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
         <faultcode>wsse:InvalidSecurity</faultcode>
         <faultstring>Error in extracting message properties</faultstring>
         <detail/>
      </soapenv:Fault>
   </soapenv:Body>
</soapenv:Envelope

>

I dont know what else i can do.Maye someone has a request which is working and can tell me which version of blackboard he is using?

 

Or is someone able to explain me where i can find and use the REST API.
Which possibility i can use to authenticate Blackboard from extern.

 

Thank you very much for help me!!

 

Big Greets

 

Ottavio

Outcomes