Skip to main content
Participating Frequently
May 21, 2007
Question

how to make inDesignCS2 4.0.2 plug-in send an http resuest to web service(20 May 2007)

  • May 21, 2007
  • 10 replies
  • 1026 views
Hi, everyone,

I'm developing a plug-in for inDesign CS2 4.0.2. This plug-in is running on the client side. It requires such a functionality as sending an http request to the server side. Then the server side will response to this request by making an action to SPS portal site and return the result through web service.
Could anyone like to tell me what is the right way for me to implement above functionality. Any suggestion is appreciation.

You may contact me by any mean of the following:

JackLin
SunSourcing (Hangzhou)
http://www.sunsourcing.com
http://www.sunyard.com

Office: +86-571-56686136
FAX: +86-571-56686660
Mobile: +86-13957139071
QQ: 280196343

Email: JackLin@ss.sunyard.com(Business), SHWLin@163.com(Personal)
MSN: SHWLin@hotmail.com
This topic has been closed for replies.

10 replies

_jacklin_Author
Participating Frequently
June 4, 2007
Hi Strizh,
Thanks for your help.
Now, I've implemented the functionality of calling webservice from client side by inDesign plug-in using gSoap2. But I just implemented the basic authorization not the NTLM authorization way. As we all know, NTLM authorization is more secure than the basic way. Can you or anyone else tell me what is the right effort direction?
Kind regards.

Jacklin
Participating Frequently
May 31, 2007
You must download and build boost 1.30.0.
For details see indesign-server-test-client.pdf in documentation folder.
_jacklin_Author
Participating Frequently
May 29, 2007
Dear Eugenio Andres and Jackeen,

can you two help me to remove the compiling error "LINK : fatal error LNK1104: cannot open file 'boost_regex_vc7_mssd.lib'" of sample project "SoapClient" within the Adobe InDesign CS2 4.0.2 Products SDK?
Thanks in advacne.

Jacklin
_jacklin_Author
Participating Frequently
May 29, 2007
Can anyone attach a piece of c++ codes which show how to make inDesignCS2 4.0.2 plug-in send an http resuest to remote web service? If the codes is writng in platform independent way, it is better. At least it can run on both windows and macintosh in my project requirment.
Help me! Save me!
Thanks a lot.
Known Participant
May 28, 2007
Hi Jacklin,

If you decide to code for each platform yourself, the PanelTreeView example shows how you can include platform dependant code elegantly into your plug-in.

Just search for "FileSystemIterator" within this sample project to see how it's done.

Good luck!

Jackeen.
Participating Frequently
May 28, 2007
Hi JackLin,

I would recommend gSoap (this is an opensource X-Platform SOAP toolkit).

checkout http://gsoap2.sourceforge.net/, hope this helps

Best Regards,
- Amit Gupta
amitgupta@metadesignsolutions.com
www.metadesignsolutions.com
_jacklin_Author
Participating Frequently
May 28, 2007
Dear Eugenio Andres and Jackeen,

Thanks a lot for your help. Could you please give me some advices on how to code independent of platform. I need my program run both on windows and macintosh. I suppose there's a way to finish my above task using cross platform soap related c++ classes. Is it right?
Looking forward to your response.

JackLin
SunSourcing (Hangzhou)
http://www.sunsourcing.com
http://www.sunyard.com

Office: +86-571-56686136
FAX: +86-571-56686660
Mobile: +86-13957139071
QQ: 280196343

Email: JackLin@ss.sunyard.com(Business), SHWLin@163.com(Personal)
MSN: SHWLin@hotmail.com
_jacklin_Author
Participating Frequently
May 28, 2007
Thanks for your hints. I'll try it right now.
Known Participant
May 21, 2007
Hi Jacklin,

And for the Mac, take a look at http://developer.apple.com/samplecode/CFNetworkHTTPDownload/index.html

Regards,

Jackeen.
Participating Frequently
May 21, 2007
Hi JackLin,

If you're working on Windows, you can use the Microsoft WinInet functions to do http type queries, and even https and FTP, etc. You can look it up on MSDN and other sites.

Regards,

Eugenio Andres.