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

Create Contacts using SOAP UI Error (8 Comments)

$
0
0

Topic by Rohan Nayak

Hi,

I am trying to create contacts in RightNow using the "Create" method through SOAP API call. The input XML is provided below. While sending the same to RightNow, it responds back with error "Data element in the Message is NULL". I made sure that the user/email does not already exists prior to executing this. Even then same issue. Please help me resolve this issue.

<?xml version = "1.0" encoding = "UTF-8"?>
<inputMessage xmlns:ns1 = "urn:objects.ws.rightnow.com/v1_2">
    <ns0:Create xmlns:ns0 = "urn:messages.ws.rightnow.com/v1_2">
        <ns0:RNObjects xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:type = "ns1:Contact">
            <ns1:Disabled>false</ns1:Disabled>
            <ns1:Emails>
                <ns1:EmailList action = "add">
                    <ns1:Address>abc123@abc.com</ns1:Address>
                    <ns1:AddressType>
                        <ns2:ID id = "0" xmlns:ns2 = "urn:base.ws.rightnow.com/v1_2"/>
                    </ns1:AddressType>
                </ns1:EmailList>
            </ns1:Emails>
            <ns1:Login>s665544</ns1:Login>
            <ns1:Name>
                <ns1:First>NameFirstRN</ns1:First>
                <ns1:Last>NameLastRN</ns1:Last>
            </ns1:Name>
            <ns1:NewPassword>Testpassword</ns1:NewPassword>
        </ns0:RNObjects>
    </ns0:Create>
</inputMessage>


Viewing all articles
Browse latest Browse all 2504

Trending Articles