cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1205
Views
2
Helpful
3
Replies

I am using function NBRStorageService of NBR Api but I am getting 403 Foribiden response in return

ashoksinghcs
Level 1
Level 1

Hi ,

I want to download Recording Files into my server  using DownloadNBRStorageFile Api . I have integrated this  but I am not getting correct soap response.

I am sending Request as :

POST /nbr/services/NBRStorageService HTTP/1.0

Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related,
User-Agent: Axis/1.1
Host: eduwizards.webex.com:80
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: Content-Length: 1111

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<soapenv:Body>

  <ns1:downloadNBRStorageFile
  soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:ns1="NBRStorageService">

<siteId xsi:type="xsd:long">266248</siteId>

<recordId xsi:type="xsd:long">20150623</recordId>

<ticket
  xsi:type="xsd:string">
64cea870fcb8b7e82f4cfea0a011b2b91234</ticket>

  </ns1:downloadNBRStorageFile>

</soapenv:Body>

<soapenv:Body>

  <ns1:downloadNBRStorageFile
  soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:ns1="NBRStorageService">

<siteId xsi:type="xsd:long">266248</siteId>

<recordId xsi:type="xsd:long">20150623</recordId>

<ticket
  xsi:type="xsd:string">
64cea870fcb8b7e82f4cfea0a011b2b91234</ticket>

  </ns1:downloadNBRStorageFile>

</soapenv:Body>

  </soapenv:Envelope>


Response :

HTTP/1.1 403 Forbidden Date: Wed, 24 Jun 2015 06:48:45 GMT Server: Apache/2.2.29 (Unix) PHP/5.5.16 Content-Length: 28 Connection: close Content-Type: text/html; charset=iso-8859-1 Http/1.1 Service Unavailable


Please help..


1 Accepted Solution

Accepted Solutions

nmorrow
Cisco Employee
Cisco Employee

Hello,

     NBR API uses a data center specific URL that does not use the traditional sitename.webex.com format. For eduwizards.webex.com, the NBR service URL is http://njp2wss.webex.com/nbr/services. Also note that ticket must be a valid session ticket, generated by GetStorageAccessTicket before calling DownloadNBRStorageFile.

View solution in original post

3 Replies 3

nmorrow
Cisco Employee
Cisco Employee

Hello,

     NBR API uses a data center specific URL that does not use the traditional sitename.webex.com format. For eduwizards.webex.com, the NBR service URL is http://njp2wss.webex.com/nbr/services. Also note that ticket must be a valid session ticket, generated by GetStorageAccessTicket before calling DownloadNBRStorageFile.

vijayalaxmi11
Level 1
Level 1

Hello Ashok Singh,

I am also looking for similar kind of solution we are using webex for our php sites thankful to you if you share a solution.

Hi Vijaya laxmi,


I have built a PHP package for NBR API. Please visit this URL for more information GitHub - rsathishtechit/webex: PHP WebEx package for XML and NBR API's.

Let me know if you need any help on this.