Re: Create comment in a discussion topic

I’m using the standard create XML which comes with the XML api kit but the create xml doesnot seem to work is there anything missing..

<?xml version=”1.0″ encoding=”UTF-8″ ?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV=”http://schemas.xmlsoap.org/soap/envelope/” SOAP-ENV:encodingStyle=”http://schemas.xmlsoap.org/soap/encoding/”>

<SOAP-ENV:Body>

<er:ExecuteXMLCommand xmlns:er=”http://www.eroom.com/eRoomXML/2003/700″ xmlns:xsi=”http://www.eroom.com/eRoomXML/2003/700/XMLSchema-instance”>

<er:eRoomXML>

<er:command er:select=”Rooms/Room[URLName=’OCIOManagement’]/HomePage/Items/Item[Name=’Discussion Forum’]/Items/Item[Name=’Classification of dti users’]”>

<er:create>

<er:Item xsi:type=”erItemTypeComment”>

<er:Name>A comment on Topic2</er:Name>

</er:Item>

</er:create>

</er:command>

</er:eRoomXML>

</er:ExecuteXMLCommand>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Related:

Leave a Reply