Ask a Question related to Macromedia ColdFusion, Design and Development.
-
Katosoft #1
cfinvoke calling web service
I'm having trouble consuming a web service with cfinvoke. The service is
called fetchUserInfo. Here is what I'm trying to use: <cfinvoke
webservice='http://myaddress.com/chwlogin/UASWebService?WSDL'
method='fetchUserInfo' loginID='ACCOUNTNAME1' returnvariable='myVar'> It's
failing on the returnvariable line with the error: 'Invalid web service
parameters supplied. Missing value for uASUserInfoRequest.' I know I have to
somehow reference uASUserInfoRequest, but I'm not sure how. Suggestions? The
group that created the service provided this example SOAP Input Message:
<!--REQUEST.................--> <env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'> <env:Body
env:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'>
<m:fetchUserInfo xmlns:m='http://myaddress.com/chwlogin'>
<uASUserInfoRequest xmlns:n1='java:com.chw.login.dto'
xsi:type='n1:UASUserInfoRequest'> <loginID
xsi:type='xsd:string'>ACCOUNTNAME1</loginID> </uASUserInfoRequest>
</m:fetchUserInfo> </env:Body> </env:Envelope>
Katosoft Guest
-
Calling an ASP.NET web service from ASP
Hello, When I call an asp.net web service that returns a string from an asp page, it works fine, but when I call an asp.net web service that... -
Who is calling my WEB SERVICE ?
hi all I have a few web services, I want to find out when a particular web service is called........ is it possible in my web service to find the... -
Calling a web service from ASP
We are moving some current VB6 DLL functionality to a web service but still need to call it from clasic ASP. There is some debate about weather to... -
Calling an Asynch web service within a web service.
I have read two different articles regarding optimizing thread pool utilization by calling asynchrounous web methods and then calling an... -
C++.NET calling VB.NET web service
Hello all, I'm a bit new to this, so I'm not sure if I'm going to sound stupid, but my very simple web service is trying to return a simple... -
Katosoft #2
Re: cfinvoke calling web service
I got it: <cfset myuASUserInfoRequest = StructNew()> <cfset a =
StructInsert(myuASUserInfoRequest, 'loginID', 'UGAN001', 1)> <CFXML
variable='xmlVarName' caseSensitive='no'> <MyDoc></MyDoc> </cfxml>
<cfinvoke webservice='http://myaddress.com/chwlogin/UASWebService?WSDL'
method='fetchUserInfo' uASUserInfoRequest=#myuASUserInfoRequest#
returnvariable=xmlVarName> </cfinvoke>
Katosoft Guest



Reply With Quote

