Altova MapForce 2024 Enterprise Edition

Importing Web Service Parameters from URL

Home Prev Top Next

If the URL to the Web service uses parameters, you can instruct MapForce to parse the URL and import any parameters automatically. When you use this option, any template, matrix, or query parameters extracted from the URL become available in the Parameters table of the Web Service Call Settings dialog box, where you can further manipulate them as necessary.

 

The following are examples of various URL styles:

 

URL with template parameters

http://example.org/api/products/{id}

URL with matrix parameters

http://example.org/api/products;sort=asc;category=1;page=1

URL with query parameters

http://example.org/api/products?category=1&page=2&sort=asc

 

Note:A URL must begin with either "http://" or "https://" to be parseable.

To import Web service parameters from a URL:

1.Open the Web Service Call Settings dialog box (see Web Service Call Settings ).

2.Under Service Definition, select Manual.

3.Click Import from URL.

mf_ws_06

4.Enter or paste the URL to the Web service in the text box, and click OK.

© 2018-2024 Altova GmbH