Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple Web Service doesn't work!

Status
Not open for further replies.

countdrak

Programmer
Jun 20, 2003
358
US
Code:
<cfinvoke
  webservice="[URL unfurl="true"]http://www.freewebs.com/jimmy_cheng/CurrencyExchangeService.wsdl"[/URL]
  method="getRate"
  returnvariable="aRate"
  timeout="30">
    <cfinvokeargument name="country1" value="united states"/>
    <cfinvokeargument name="country2" value="united kingdom"/>
</cfinvoke>
 
<cfoutput>
1 USD = #aRate# Euros
</cfoutput>

I cant get it to work. Any ideas why. I get this huge error below.

Could not perform web service invocation "getRate" because AxisFault faultCode: { faultSubcode: faultString:
 
Are you using cfhttp or cfinvoke?

When I click on the link I can see the wsdl.

Also is it possible that certain services dont allow a cfhttp post?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top