Topic by Narendra Muttineni
Content
Hi Cudos,
I am trying to update the Incident record using webservices. It is throwing error as "java.net.UnknownHostException: interface-tst.custhelp.com". what is this error about?
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"xmlns:v1="urn:messages.ws.rightnow.com/v1_2" xmlns:v11="urn:base.ws.rightnow.com/v1_2">
<soapenv:Header>
<ns7:ClientInfoHeader xmlns:ns7="urn:messages.ws.rightnow.com/v1_2"soapenv:mustUnderstand="0">
<ns7:AppID>Basic Create</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="1">
<wsse:UsernameToken>
<wsse:Username><username></wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<ns7:Update 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:Incident">
<ID xmlns="urn:base.ws.rightnow.com/v1_2" id="1340457"/>
<ns4:CustomFields xmlns:ns2="urn:generic.ws.rightnow.com/v1_2"xsi:type="ns2:GenericObject">
<ns2:ObjectType>
<ns2:TypeName>IncidentCustomFields</ns2:TypeName>
</ns2:ObjectType>
<ns2:GenericFields dataType="OBJECT" name="c">
<ns2:DataValue>
<ns2:ObjectValue xsi:type="ns2:GenericObject">
<ns2:ObjectType>
<ns2:TypeName>IncidentCustomFieldsc</ns2:TypeName>
</ns2:ObjectType>
<ns2:GenericFields dataType="STRING" name="sn_queue">
<ns2:DataValue>
<ns2:StringValue>N_US_XXX</ns2:StringValue>
</ns2:DataValue>
</ns2:GenericFields>
<ns2:GenericFields dataType="STRING" name="u_target_incident">
<ns2:DataValue>
<ns2:StringValue>RightNow</ns2:StringValue>
</ns2:DataValue>
</ns2:GenericFields>
<ns2:GenericFields dataType="STRING" name="u_source_incident">
<ns2:DataValue>
<ns2:StringValue>System</ns2:StringValue>
</ns2:DataValue>
</ns2:GenericFields>
<ns2:GenericFields dataType="STRING" name="u_source_incident_number">
<ns2:DataValue>
<ns2:StringValue>12345IN</ns2:StringValue>
</ns2:DataValue>
</ns2:GenericFields>
</ns2:ObjectValue>
</ns2:DataValue>
</ns2:GenericFields>
</ns4:CustomFields>
<ns4:StatusWithType>
<ns4:Status>
<ns3:ID xmlns:ns3="urn:base.ws.rightnow.com/v1_2" id="8"/>
</ns4:Status>
</ns4:StatusWithType>
<ns4:Threads>
<ns4:ThreadList action="add">
<ns4:EntryType>
<ID xmlns="urn:base.ws.rightnow.com/v1_2" id="1"/>
</ns4:EntryType>
<ns4:Text>Ticket received by System</ns4:Text>
</ns4:ThreadList>
</ns4:Threads>
<!--
processingOptions are always false, don't be change
-->
</ns7:RNObjects>
<ns7:ProcessingOptions>
<ns7:SuppressExternalEvents>false</ns7:SuppressExternalEvents>
<ns7:SuppressRules>false</ns7:SuppressRules>
</ns7:ProcessingOptions>
</ns7:Update>
</soapenv:Body>
</soapenv:Envelope>
Please help me to find what the exact issue is?
Any small help it would be great appreciate.
Regards,
Narendra