Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

Error creating a new Contact (6 Comments)

$
0
0

Topic by Murty Srirangam

Content

Hi,

I am new to RIght now API and am trying to create a contact using Apache Axis2/xmlbeans data binding format.

After creating client side stub and trying to create a contact, I am getting the following error below. Also the Soap message that stub is generating can also be found below. Can you please let me know what I could be doing wrong.

 

Thank you,

Murty

 

<fault>RightNowSyncService|urn:wsdl.ws.rightnow.com/v1_2 failed
Found out-of-order or unrecognized node ProcessingOptions|urn:objects.ws.rightnow.com/v1_2 while parsing node of type CreateMsg|urn:messages.ws.rightnow.com/v1_2
NULL value is set to a non-nillable element Create of object Create 
NULL returned from the Create deserializer due to missing or invalid XML</fault>

 

The following is the Soap Message that is being generated:

<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<v1:ClientInfoHeader xmlns:v1="urn:messages.ws.rightnow.com/v1_2" soapenv:mustUnderstand="0">
<v1:AppID>RightNowWrapper</v1:AppID>
</v1:ClientInfoHeader>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" mustUnderstand="1">
<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>
<v1:Create xmlns:v1="urn:messages.ws.rightnow.com/v1_2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<v11:RNObjects xmlns:v11="urn:messages.ws.rightnow.com/v1_2" xmlns:v1="urn:objects.ws.rightnow.com/v1_2" xsi:type="v1:Contact">
<v1:Login>christest2.omland@example.com</v1:Login>
<v1:Name>
<v1:First>Christophertest</v1:First>
</v1:Name><v1:ValidNullFields />
</v11:RNObjects>
<v1:ProcessingOptions>
<v1:SuppressExternalEvents>false</v1:SuppressExternalEvents>
<v1:SuppressRules>false</v1:SuppressRules>
</v1:ProcessingOptions></v1:Create></soapenv:Body></soapenv:Envelope>

Code Block


Viewing all articles
Browse latest Browse all 2504

Trending Articles