Hello,
Having issue with above webservice method. I have imported the WSDL into SOAPUI to test results from avaya outbound web services.
However, the FindContactsByCustomField has parameters which return an error if not supplied, and error if supplied with value I believe to be correct;
Fields;
<!--Optional:-->
<ccm:ContactStatus>
<dat:Id>16</dat:Id>
<!--Optional:-->
<dat:Name>Waiting</dat:Name>
</ccm:ContactStatus>
I have blanked fields, tried without the Name field.
When blank I get response back;
<soap:Text xml:lang="en">Server was unable to read request. ---> There is an error in XML document (7, 30). ---> Input string was not in a correct format.</soap:Text>
Where line 7 is the <dat:id> entry
The Value 16 comes from looking at the cls.CodeMapping table in the Multimedia database. That is the NumericValue column for a ContactStatus of waiting (newly added contacts to a campaign).
I also tried the Database table ID column value is case was referring to that. Neither worked.
I get error back (in SOAPUI)
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<soap:Fault>
<soap:Code>
<soap:Value>soap:Receiver</soap:Value>
</soap:Code>
<soap:Reason>
<soap:Text xml:lang="en">A Soap Exception Occurred - Details : 19045An Exception Occurred - Details :Object reference not set to an instance of an object.</soap:Text>
</soap:Reason>
<soap:Node>https://10.10.10.17/ccmmoutboundwebservices/OutboundContactWS.asmx</soap:Node>
<detail>
<Error xmlns="http://webservices.ci.ccmm.applications.nortel.com">
<ErrorNumber>19044</ErrorNumber>
<ErrorMessage>A Soap Exception Occurred - Details : 19045An Exception Occurred - Details :Object reference not set to an instance of an object.</ErrorMessage>
</Error>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>
BTW, tried the SDK test app which is for 6.x level system and that throws error when using its Find by custom field dialog box as well.
Any ideas what doing wrong?
As a side; It appears Campaign automatically get set to complete when last call is handled and then not visible in the GetCampaigns method!. I wanted to create a perpetual Campaign where I would add calls to Campaign with web services in the background!.
Is there a way to prevent this auto completed?
Thanks
SImon
|