When I try to do a soap request to the InDesign Soap Service, with utf8 characters in the scripttext, I get the following reply:<br /><br /><i><br />< ?xml version="1.0" encoding="UTF-8" ?> <br /><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:IDSP="http://ns.adobe.com/InDesign/soap/"> <br /><SOAP-ENV:Body> <br /><SOAP-ENV:Fault> <br /><faultcode>SOAP-ENV:Server</faultcode> <br /><faultstring>Timeout</faultstring> <br /><detail>TCP accept failed in soap_accept()</detail> <br /></SOAP-ENV:Fault> <br /></SOAP-ENV:Body> <br /></SOAP-ENV:Envelope><br /></i><br /><br />The scripttext used:<br /><br /><I><br />#includepath "*****/InDesign_JS_Libs_tst"<br />#include "LibText.jsxinc"<br />#include "LibDocument.jsxinc"<br /><br />var result;<br />var global_ind_log = true;<br />var myDoc;<br />if (FindOpenDoc("4035"))<br />var result = PlaceText("66599","YAM72_T_18","4","Test неслася; бедный чёлн<\\n>По ней стремился одиноко test");<br />Output2XML(result);<br /></I><br /><br />If i do the same request, using a text without the rusian utf8 characters, there are no problems and indesign server executes my script.<br /><br />My question is:<br />Is there a way to use utf8/unicode characters in the scripttext without getting the timeout error. In another soap service I use, I can encode everything using base64, is there a similar solution for InDesign server?<br /><br />TIA,<br /><br />Erik Bruinsma
↧