Error while Trying to Add New Country Record
Content
Hi,
am trying to add a single record for country and set its ISO code since same cannot be done from console (it does not allow ISOCode set)
Below code is being tested from http://wsdlbrowser.com/ that I use for testing XML calls.In past it has worked fine for QueryCSV, QueryObjects etc.The only change I've made is the soap body
Error: Data element in the Message is NULL
Can someone guide me?
Thanks,
MB
Version
Oracle Service Cloud November 2014 (Build 171, CP 171) SP4Code Snippet
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <ns7:ClientInfoHeader xmlns:ns7="urn:messages.ws.rightnow.com/v1_2" soapenv:mustUnderstand="0"> <ns7:AppID>Create Country as Cuba with ISO code</ns7:AppID> </ns7:ClientInfoHeader> <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" mustUnderstand="0"> <wsse:UsernameToken> <wsse:Username>*****</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">*****</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <ns7:Create xmlns:ns7="urn:messages.ws.rightnow.com/v1_2"> <ns7:RNObjects xmlns:ns4="urn:objects.ws.rightnow.com/v1_2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns4:Country"> <ns4:Abbreviation>CUB</ns4:Abbreviation> <ns4:ISOCode>CU</ns4:ISOCode> <ns4:Names> <ns4:LabelList> <ns4:LabelText>Cuba</ns4:LabelText> </ns4:LabelList> </ns4:Names> </ns7:RNObjects> </ns7:Create> </soapenv:Body> </soapenv:Envelope>
0