Skip to main content
Legend
November 29, 2018
Question

Passing values to a web service

  • November 29, 2018
  • 2 replies
  • 513 views

Hi,

Can some body please guide me how to pass values to a web service for a particular operation from InDesign.

For example, if my Web service (http://demo.company.com/WebService/WebService.asmx) has "saveISBNs" operation, then how the values can be passed to the corresponding operation.

Thanks!

This topic has been closed for replies.

2 replies

Benreyn
Participating Frequently
December 4, 2018

I have used Porky in the past GitHub - Schreiber-und-Freunde/porky: JavaScript ExtendScript Toolkit (ESTK) automation library with SQL database, JSON,…

getting JSON from an API and parsing the data I need into InDesign documents,

Community Expert
November 29, 2018

You could try the socket object, i found a thread with discussion on the same. Mentioned below is the link

Re: POST

Also you could try executing some command line utility like curl, or call your webservice using AppleScript, VbScript that is invoked from your JS code.

-Manan

-Manan