This content has been marked as final. Show 3 replies
You should be able to use anything, as a client, that's capable of sending SOAP messages. However, you will find some differences between clients in how they format the XML that comprises the SOAP message. If you build your client app in C++ then you'll be better off using the gsoap technology that InDesign uses. You'll be less likely to encounter any compatibility problems. I'd recommend just taking code from the SoapClient SDK sample and using it in your app - and using Codewarrior (if you can still find a copy)
If you're comfortable with Java then Axis (available from ws.apache.org/axis) also works well. You can build that using any IDE you're comfortable with. I've used XCode to build Java apps to communicate with IDServer.
In CS2 the desktop and server versions are both covered by the same SDK.
It can be helpful, if you're experimenting with some other client technology, to get a packet sniffer to capture the XML SOAP packet sent by the SDK sample app. You can compare that to what your client is sending if InDesign Server doesn't seem to be responding to your messages. The problem is often that the client is formatting the XML in a way that IDServer doesn't recognize.
Through thread I came to know that you are able to run testclient. Please tell me how you have done it in fact I am also trying to do it but not able to do it.
See below what I have done:
I have run the Indesign server on port 19865, the I opened a new command window and given the path of testclient folder, now it also want pathname and scriptname, script name is ok but what is the pathname.
I am using local system for the indesignserver.
Please help me.
I run InDesign on port 18383 but I don't think it is important.
In another command window and from the folder of testclient I run the command:
"myscript,js" is the path name of the script.
You can place the script directly in the folder of testclient, in this case the path is simply the name of the script.
If you place the script in another folder you must specify the full path of the script.
this is the Mac way.
If you are on Windows the command is similar
testclient myscript.js (without "./" )
I hope it can be helpful for you.