private static void createSDFTransaction(CALLS thisCalls)
{
int paramValue = 0;
int response = 0;
SOAPRequestObject soapObject = new SOAPRequestObject("http://schemas.cordys.com/Ucf/Metering/OrganizationDomain/1.0",
"InsertTransaction",null,null);
String parameterString = "<Transaction>" +
"<Transaction xmlns=\"http://schemas.cordys.com/Ucf/Metering/GlobalDomain/1.0\">" +
"<applicationid>com.cordys.demo.servicedesk</applicationid>" +
"<type>Call Inserted</type>" +
"<username>" + BSF.getUser() + "</username>" +
"<reference>" + thisCalls.getREFERENCE() + "</reference>" +
"<Attribute>" +
"<name>Product</name>" +
"<value>" + thisCalls.getPRODUCT() + "</value>" +
"</Attribute>" +
"</Transaction>" +
"</Transaction>";
try
{
paramValue = BSF.getXMLDocument().parseString(parameterString);
soapObject.addParameterAsXml(paramValue);
soapObject.setUser("cn=provisioning,cn=organizational users,"+BSF.getOrganization());
response = soapObject.execute();
}
catch (UnsupportedEncodingException e)
{
}