Format of commands send to a oo-service
Posted: Fri May 08, 2009 12:09 pm
Hello,
I know that I can start oo as a service with
soffice.exe -headless -nologo -norestore -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager
Now I should send requests via TCP to port 8100.
I want to send documents to convert it. I found a lot of examples JODConvert ... which done this but I have to program it in delphi. I need a description in which format data has to be send to the oo-service. Do I encapsulate them in a XML, do I simply send binary stream like a post to a http-site, ..? How have the command to be send to let oo know what to do with the data?
Could anybody point me to the docs for that?
Thanks
Stefan
I know that I can start oo as a service with
soffice.exe -headless -nologo -norestore -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager
Now I should send requests via TCP to port 8100.
I want to send documents to convert it. I found a lot of examples JODConvert ... which done this but I have to program it in delphi. I need a description in which format data has to be send to the oo-service. Do I encapsulate them in a XML, do I simply send binary stream like a post to a http-site, ..? How have the command to be send to let oo know what to do with the data?
Could anybody point me to the docs for that?
Thanks
Stefan