• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

How to use Babelfish web service for Chinese ...

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I'm trying to use Babelfish's translation web service, I try to do Chinese translationmode = "en_zh" (spanish en_es works fine though), I get error (pasted partially below code). I know this is not java code, but is there a workaround to this? Basically I have a bunch of form values that I want translated into a particular language.

*** code ***
<cfinvoke
webservice = "http://www.xmethods.net/sd/2001/BabelFishService.wsdl"
method = "BabelFish" translationmode = "en_zh" sourcedata = "boy"
returnVariable = "foo">
<cfoutput>#foo#</cfoutput>

*** partial error message ***
Could not perform web service invocation "BabelFish".
Here is the fault returned when invoking the web service operation:
AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultSubcode: faultString: Could not translate. Network problem experienced.
faultActor:

Thank you in advance,
C
 
What's wrong? Where are you going? Stop! Read this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic