Hi All - We have a web service running on ARSystem ( Remedy) and all we
would like to do is - 

-Invoke this web service from our Coldfusion page
-Pass 3 parameters in a method invoking 'opCreate', while invoking this
Remedy service
-This dump of webservice object shows the return type of opCreate as
'void'

The WSDL looks like this..

HTML Code:
---------------------
  <?xml version="1.0" encoding="UTF-8" ?> 
- <wsdl:definitions
targetNamespace="urn:CHG_Change_WebService_OpCreate_DisplayOnly_v2"
xmlns="http://schemas.xmlsoap.org/wsdl/";
xmlns:s="urn:CHG_Change_WebService_OpCreate_DisplayOnly_v2"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
- <wsdl:types>
- <xsd:schema elementFormDefault="qualified"
targetNamespace="urn:CHG_Change_WebService_OpCreate_DisplayOnly_v2">
  <xsd:element name="OpCreate" type="s:CreateInputMap" /> 
- <xsd:complexType name="CreateInputMap">
- <xsd:sequence>
  <xsd:element name="Description" type="xsd:string" /> 
  <xsd:element name="Requester_Login_Name" type="xsd:string" /> 
  <xsd:element name="Requester_Name" type="xsd:string" /> 
  </xsd:sequence>
  </xsd:complexType>
  <xsd:element name="OpCreateResponse" type="s:CreateOutputMap" /> 
- <xsd:complexType name="CreateOutputMap">
- <xsd:sequence>
  <xsd:element name="Description" type="xsd:string" /> 
  <xsd:element name="Requester_Login_Name" type="xsd:string" /> 
  <xsd:element name="Requester_Name" type="xsd:string" /> 
  </xsd:sequence>
  </xsd:complexType>
  <xsd:element name="AuthenticationInfo" type="s:AuthenticationInfo" /> 
- <xsd:complexType name="AuthenticationInfo">
- <xsd:sequence>
  <xsd:element name="userName" type="xsd:string" /> 
  <xsd:element name="password" type="xsd:string" /> 
  <xsd:element minOccurs="0" name="authentication" type="xsd:string" /> 
  <xsd:element minOccurs="0" name="locale" type="xsd:string" /> 
  <xsd:element minOccurs="0" name="timeZone" type="xsd:string" /> 
  </xsd:sequence>
  </xsd:complexType>
  </xsd:schema>
  </wsdl:types>
- <wsdl:message name="OpCreateSoapOut">
  <wsdl:part element="s:OpCreateResponse" name="parameters" /> 
  </wsdl:message>
- <wsdl:message name="ARAuthenticate">
  <wsdl:part element="s:AuthenticationInfo" name="parameters" /> 
  </wsdl:message>
- <wsdl:message name="OpCreateSoapIn">
  <wsdl:part element="s:OpCreate" name="parameters" /> 
  </wsdl:message>
- <wsdl:portType
name="CHG_Change_WebService_OpCreate_DisplayOnly_v2PortType">
- <wsdl:operation name="OpCreate">
  <wsdl:input message="s:OpCreateSoapIn" /> 
  <wsdl:output message="s:OpCreateSoapOut" /> 
  </wsdl:operation>
  </wsdl:portType>
- <wsdl:binding
name="CHG_Change_WebService_OpCreate_DisplayOnly_v2SoapBinding"
type="s:CHG_Change_WebService_OpCreate_DisplayOnly_v2PortType">
  <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"; /> 
- <wsdl:operation name="OpCreate">
  <soap:operation
soapAction="urn:CHG_Change_WebService_OpCreate_DisplayOnly_v2/OpCreate"
style="document" /> 
- <wsdl:input>
  <soap:header message="s:ARAuthenticate" part="parameters"
use="literal" /> 
  <soap:body use="literal" /> 
  </wsdl:input>
- <wsdl:output>
  <soap:body use="literal" /> 
  </wsdl:output>
  </wsdl:operation>
  </wsdl:binding>
- <wsdl:service
name="CHG_Change_WebService_OpCreate_DisplayOnly_v2Service">
- <wsdl:port
binding="s:CHG_Change_WebService_OpCreate_DisplayOnly_v2SoapBinding"
name="CHG_Change_WebService_OpCreate_DisplayOnly_v2Soap">
  <soap:address
location="http://oldtas184/arsys/services/ARService?server=OLDTAS184&web
Service=CHG_Change_WebService_OpCreate_DisplayOnly_v2" /> 
  </wsdl:port>
  </wsdl:service>
  </wsdl:definitions>------------
My simple invocation to this Java Web Service on Remedy looks like
this..
------------
<cfinvoke
webservice="http://oldtas184/arsys/WSDL/public/OLDTAS184/CHG_Change_WebS
ervice_OpCreate_DisplayOnly_v2" method="opCreate"
returnvariable="aString">
<cfinvokeargument name="Description" value="test"/>
<cfinvokeargument name="Requester_Login_Name" value="testLogin"/>
<cfinvokeargument name="Requester_Name" value="testRequester"/>
</cfinvoke>
<cfoutput>#aString#</cfoutput>
------------------
The Exception I am receiving is as follows:

Could not perform web service invocation "opCreate"
Here is the fault returned when invoking the web service operation:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/
Server.userException
faultSubcode: 
faultString: 
MessageType: 2
MessageNum: 8961
MessageText: Required element expected in the input XML document
AppendedText: <Description>

-------------------

I would appreciate if someone could please HELP us in solving this
puzzle.

Thanks!

-S
***********************************************************************
This email may contain confidential material. 
If you were not an intended recipient, 
please notify the sender and delete all copies. 
We may monitor email to and from our network. 

***********************************************************************



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:1932
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to