Dear All,

I am trying to use a ARS webservice to create a trouble ticket. But i am 
getting an exception. Please suggest what should i do.

following is the cold fusion code -
================================================================
<cfinvoke
  webservice 
="http://newthor.d48.lilly.com/arsys/WSDL/public/newthor/Trouble_Ticket";
  method ="Create" >
  <cfinvokeargument name="Customer_name" value="KUMAR SANDEEP">
    <cfinvokeargument name="Severity" value="3">
        <cfinvokeargument name="Logger_name" value="KUMAR SANDEEP">     
        <cfinvokeargument name="Short_description" value="This is a test for 
CFX_ARS">
    <cfinvokeargument name="Customer_location" value="MC/75/06/Seat No-172">
        <cfinvokeargument name="Assignee_group" value="Z1/CAMS">
    <cfinvokeargument name="Customer_ID" value="U6X7825">
        <cfinvokeargument name="Status" value="OPEN">   
    <cfinvokeargument name="Date_time_occurred" value="8/19/2007 3:34:00 AM">   
    
        <cfinvokeargument name="Customer_dept" value="MC861">
</cfinvoke>
<cfoutput>Sandeep Dear Ticket number is=#TT#</cfoutput>

================================================================


and following is the exception-

================================================================
Could not perform web service invocation "Create" because AxisFault faultCode: 
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: 
faultString: MessageType: 2 MessageNum: 307 MessageText: Required field 
(without a default) not specified AppendedText: 536870914 faultActor: 
faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace: AxisFault 
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException 
faultSubcode: faultString: MessageType: 2 MessageNum: 307 MessageText: Required 
field (without a default) not specified AppendedText: 536870914 faultActor: 
faultNode: faultDetail: MessageType: 2 MessageNum: 307 MessageText: Required 
field (without a default) not specified AppendedText: 536870914 at 
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260) 
at 
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169) 
at 
org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1015)
 at org.apac... 
================================================================

And-
================================================================
Exceptions

09:26:18.018 - Application Exception - in 
\\isgnas_dev01\DEV01.GRP\gcc\webroot\Sandeep_Kumar\Webroot\Login\DM-TOOL\cpdDmProcess_GITCM\test_cfx.cfm
 : line 29
            Could not perform web service invocation "Create" because AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: 
MessageType: 2
MessageNum: 307
MessageText: Required field (without a default) not specified
AppendedText: 536870914
 faultActor: 
 faultNode: 
 faultDetail: 
        {http://xml.apache.org/axis/}stackTrace: AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: 
MessageType: 2
MessageNum: 307
MessageText: Required field (without a default) not specified
AppendedText: 536870914
 faultActor: 
 faultNode: 
 faultDetail: 


MessageType: 2
MessageNum: 307
MessageText: Required field (without a default) not specified
AppendedText: 536870914
        at 
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)
        at 
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
        at 
org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1015)
        at org.apac... 
================================================================


Thanks
Sandeep     





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286595
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to