A
Atul Saxena
While creating an appointment, I am getting Error: HTTP/1.1 403 (Forbidden)
error.
My code is:
<?xml version='1.0'?><aropertyupdate xmlns:a='DAV:'
xmlns:m='urn:schemas:mailheader:' xmlns:cal="urn:schemas:calendar:"
xmlns:mapi="http://schemas.microsoft.com/mapi/"
xmlns:e="http://schemas.microsoft.com/exchange/"
xmlns:dt='urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/'
xmlns:mail='urn:schemas:httpmail:'>
<a:set><arop><a:contentclass>urn:content-classes:appointment</a:contentclass><eutlookmessageclass>IPM.Appointment</eutlookmessageclass><a:id>AQEAAAAAAEZ1AgAAAAAoCAgAAAAA
</a:id></arop><arop><mail:subject>Solve Hexadecimal Error by Atul Saxena
</mail:subject></arop><arop><mail:textdescription>Netaji Subhash
Palace</mail:textdescription></arop><arop><cal:location>Netaji Subhash
Palace</cal:location></arop><arop><cal:dtstart>2007-09-27T03:30:00.000Z
</cal:dtstart></arop><arop><cal:dtend>2007-09-27T04:00:00.000Z
</cal:dtend><cal:instancetype
dt:dt="int">0</cal:instancetype></arop><arop><cal:busystatus>BUSY
</cal:busystatus></arop><arop><cal:meetingstatus>TENTATIVE
</cal:meetingstatus><cal:alldayevent
dt:dt="boolean">0</cal:alldayevent><cal:responserequested
dt:dt="boolean">1</cal:responserequested><cal:reminderoffset
dt:dt="int">900</cal:reminderoffset><m:to>[email protected]</m:to><mapi:finvited
dt:dt="boolean">1</mapi:finvited></arop></a:set></aropertyupdate>
oXMLHttp = CreateObject("Microsoft.XMLHTTP")
oXMLHttp.open ("PROPPATCH",
"http://192.168.111.10/Exchange/[email protected]/Calendar/", False,
Me.UserNameAlias, Me.Password)
' Set up request headers.
oXMLHttp.setRequestHeader("Content-Type", "text/xml")
' Send the query.
oXMLHttp.send(sQuery)
Response is:
<?xml version="1.0"?><a:multistatus
xmlns:b="http://schemas.microsoft.com/exchange/"
xmlns:a="DAV:"><a:response><a:href>http://192.168.111.10/Exchange/[email protected]/Calendar</a:href><aropstat><a:status>HTTP/1.1
403
Forbidden</a:status><arop><a:id/></arop></aropstat></a:response></a:multistatus>
This error is not coming when I am updating any appointment but at the time
of creation this response is coming. Please tell me the solution of this.
Thanks in advance.
Atul Saxena
error.
My code is:
<?xml version='1.0'?><aropertyupdate xmlns:a='DAV:'
xmlns:m='urn:schemas:mailheader:' xmlns:cal="urn:schemas:calendar:"
xmlns:mapi="http://schemas.microsoft.com/mapi/"
xmlns:e="http://schemas.microsoft.com/exchange/"
xmlns:dt='urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/'
xmlns:mail='urn:schemas:httpmail:'>
<a:set><arop><a:contentclass>urn:content-classes:appointment</a:contentclass><eutlookmessageclass>IPM.Appointment</eutlookmessageclass><a:id>AQEAAAAAAEZ1AgAAAAAoCAgAAAAA
</a:id></arop><arop><mail:subject>Solve Hexadecimal Error by Atul Saxena
</mail:subject></arop><arop><mail:textdescription>Netaji Subhash
Palace</mail:textdescription></arop><arop><cal:location>Netaji Subhash
Palace</cal:location></arop><arop><cal:dtstart>2007-09-27T03:30:00.000Z
</cal:dtstart></arop><arop><cal:dtend>2007-09-27T04:00:00.000Z
</cal:dtend><cal:instancetype
dt:dt="int">0</cal:instancetype></arop><arop><cal:busystatus>BUSY
</cal:busystatus></arop><arop><cal:meetingstatus>TENTATIVE
</cal:meetingstatus><cal:alldayevent
dt:dt="boolean">0</cal:alldayevent><cal:responserequested
dt:dt="boolean">1</cal:responserequested><cal:reminderoffset
dt:dt="int">900</cal:reminderoffset><m:to>[email protected]</m:to><mapi:finvited
dt:dt="boolean">1</mapi:finvited></arop></a:set></aropertyupdate>
oXMLHttp = CreateObject("Microsoft.XMLHTTP")
oXMLHttp.open ("PROPPATCH",
"http://192.168.111.10/Exchange/[email protected]/Calendar/", False,
Me.UserNameAlias, Me.Password)
' Set up request headers.
oXMLHttp.setRequestHeader("Content-Type", "text/xml")
' Send the query.
oXMLHttp.send(sQuery)
Response is:
<?xml version="1.0"?><a:multistatus
xmlns:b="http://schemas.microsoft.com/exchange/"
xmlns:a="DAV:"><a:response><a:href>http://192.168.111.10/Exchange/[email protected]/Calendar</a:href><aropstat><a:status>HTTP/1.1
403
Forbidden</a:status><arop><a:id/></arop></aropstat></a:response></a:multistatus>
This error is not coming when I am updating any appointment but at the time
of creation this response is coming. Please tell me the solution of this.
Thanks in advance.
Atul Saxena