Quantcast
Viewing all articles
Browse latest Browse all 2504

RightNow call from java using v1.3 results in "Data element in the Message is NULL" message

Topic by Victor Chirita

Content

Hello everybody, I am noob with RightNow and I am trying to understand what is going on when calling the API to retrieve some data.

I have a simple select query with CustomFields, executed using wsdl 1.3 definition, like this:

        Holder<CSVTableSet>  queryCSV = new Holder<>();
        Holder<byte[]> b = new Holder<>();
        client.queryCSV(queryString, PAGE_SIZE,",",false,true, queryCSV, b);

where query is like this

SELECT C.Emails.Address,
       C.CustomFields.c.Storerefnum,
       C.CustomFields.c.retailername,C.CustomFields.Retailer.contact_name,
       C.CustomFields.Retailer.house_number,C.CustomFields.Retailer.Street1,
       C.CustomFields.Retailer.Street2,C.CustomFields.Retailer.City,C.CustomFields.Retailer.postal_code,
       C.CustomFields.Retailer.Country,C.CustomFields.Retailer.retailer_inbound_service,C.CustomFields.Retailer.phone_number,
       C.CustomFields.Retailer.Billing.Street1,C.CustomFields.Retailer.Billing.Street2,C.CustomFields.Retailer.Billing.City,
       C.CustomFields.Retailer.Billing.PostalCode,C.CustomFields.Retailer.Billing.Country,C.CustomFields.Retailer.Billing.VATnumber,
       C.CustomFields.Retailer.Billing.PhoneNumber,C.CustomFields.Retailer.Billing.BillingEntityName,C.CustomFields.Retailer.Billing.Email,
       C.CustomFields.Retailer.Billing.ContactName FROM Contact C  WHERE Contact.PrimaryContactIncidents.ReferenceNumber = '***-***' AND C.Emails.AddressType = 0

and pagesize = 10;

When the query is run from java, I get: javax.xml.ws.soap.SOAPFaultException: Data element in the Message is NULL

What could be wrong?

 

Version

RightNow Api 1.3

Viewing all articles
Browse latest Browse all 2504

Trending Articles