• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

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
reply
    Bookmark Topic Watch Topic
  • New Topic