hi all.. 

Currenctly we have 2 Coldfusion Server (different location) and we would like 
to retrieve the data between this 2 server. 
According to the Forum the best way to achive that is using Web services. 
I am new to this component .. just wondering what error with the code below:


CFC File
-----------------------------------
<cfcomponent>
 <cffunction name="updaterequest" returntype="query" access="remote">
  <cfquery name="listallrequest" datasource="test">
   select org_name from portal_tblmember
  </cfquery> 
  <cfreturn listallrequest>    
 </cffunction>  
</cfcomponent>


CFM File 
-----------------------------------------
<cfinvoke method="updaterequest" 
webservice="http://www.globalknowledge.org/gkps_portal/predict/test.cfc?wsdl"; 
returnvariable="x">
</cfinvoke>
<cfoutput query="x">
#org_name#
</cfoutput>


Error
-------------------------------------------
Could not perform web service invocation "updaterequest" because AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: org.xml.sax.SAXException: Deserializing parameter 
&apos;updaterequestReturn&apos;:  could not find deserializer for type 
{http://rpc.xml.coldfusion}QueryBean
 faultActor: 
 faultNode: 
 faultDetail: 
        {http://xml.apache.org/axis/}stackTrace: org.xml.sax.SAXException: 
Deserializing parameter 'updaterequestReturn':  could not find deserializer for 
type {http://rpc.xml.coldfusion}QueryBean
        at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:302)
        at 
org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:963)
        at 
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:198)
        at 
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:722)
        at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:323)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:347)
        at org.apache.ax... 



Thanks in advance for all suggestion.

Ang





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221616
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to