<?php
$operation = new SimpleXMLElement('<Operation/>');
$details = $operation->addChild('Details');
$details->addChild('requester', "Kumar");
$details->addChild('subject', "Hardware");
$details->addChild('description', "RAM ISSUE");
$details->addChild('priority', "High");
Header('Content-type: text/xml');
$xmldata = $operation->asXML();
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_MUTE, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: text/xml'));
curl_setopt($ch, CURLOPT_POSTFIELDS, $xmldata);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$output = curl_exec($ch);
print_r($output);
curl_close($ch);
Please help me...Its urgent for me..