• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to use Babelfish web service for Chinese ...

 
Carmen Brianick
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!