I am trying use the BabelFishService translation web service. In my asp.net site, which includes C# for the coding.
The wsdl is from:
In the C# code below I create a BabelFishService object and tried to translate the german word habe, which should return 'have'.
Through I found the C# code becomes locked for a time, then returns a time of exception. But does not become locked for all words I have tried to translate. I just wondered if there was an try, catch exception I could use if the webservice cannot translate the word entered?
Does anyone know if the web-service should return " " value to the string translation, if the word could not be translated by the webservice?
BabelFishService webservice = new BabelFishService();
string translation = webservice.BabelFish("de_e