xml - Adding user to blackboard using ColdFusion -


i'm able create authentication session i'm receiving following [wsfw000]null error when attempting add user.

this package i'm sending:

<cfsavecontent variable="soappackage"> <?xml version='1.0' encoding='utf-8'?> <soapenv:envelope xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/xmlschema" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance">   <soapenv:header>     <wsse:security soapenv:mustunderstand="true" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">       <wsse:timestamp xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">         <wsse:created xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2015-03-16t13:18:56z</wsse:created>       </wsse:timestamp>       <wsse:usernametoken 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">         <wsse:username xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">session</wsse:username>         <wsse:password type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#passwordtext" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">c5bc911f5632441d96776470653f6ccd</wsse:password>       </wsse:usernametoken>     </wsse:security>   </soapenv:header>   <soapenv:body>     <ns1:saveuser xmlns:ns1="http://user.ws.blackboard">       <ns1:user>         <ns1:extendedinfo>           <ns1:givenname>mary</ns1:givenname>           <ns1:familyname>mary</ns1:familyname>         </ns1:extendedinfo>         <ns1:name>t1245op2sss24zx</ns1:name>         <ns1:password>test</ns1:password>         <ns1:insroles>staff</ns1:insroles>         <ns1:systemroles>user</ns1:systemroles>       </ns1:user>     </ns1:saveuser>   </soapenv:body> </soapenv:envelope> </cfsavecontent> 

this call:

<cfhttp url="https://nu-test.blackboard.com/webapps/ws/services/user.ws" method="post" timeout="20" >     <cfhttpparam type="header" name="content-type" value="application/soap+xml;charset=utf-8">     <cfhttpparam type="header" name="accept" value="application/soap+xml, multipart/related">     <cfhttpparam type="header" name="user-agent" value="xweb:coldfusion">     <cfhttpparam type="header" name="connection" value="keep-alive">     <cfhttpparam type="header" name="soapaction" value="saveuser">     <cfhttpparam type="header" name="content-length" value="#len(trim(soappackage))#">     <cfhttpparam type="body" value="#trim(soappackage)#"> </cfhttp> 

this response:

<?xml version='1.0' encoding='utf-8'?> <soapenv:envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">   <soapenv:body>     <soapenv:fault>       <soapenv:code>         <soapenv:value>soapenv:receiver</soapenv:value>       </soapenv:code>       <soapenv:reason>         <soapenv:text xml:lang="en-us">[wsfw000]null</soapenv:text>       </soapenv:reason>       <soapenv:detail />     </soapenv:fault>   </soapenv:body> </soapenv:envelope> 


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -