« SOAP Kit & Fedex | Home | MBS Filemaker Plugin,… »

Access Web Services (with SOAP) from Filemaker using MBS Plugin

16 05 12 - 15:24 With our MBS FIlemaker plugin we have CURL functions which can do various network things. One of them is to send requests to a web service. Now it can be a little bit tricky to get this done in a Filemaker script, so we made an example for one service:

The CDYNE Weather is a free SOAP Web Service that provides you with up to date weather information in the United States. This information is derived from the National Oceanic and Atmospheric Administration's (NOAA) National Weather service into a clean and easy to parse XML format.
The WSDL describes the functions and you can read it here. Looking at the GetCityWeatherByZIP function you see exactly what XML you need to send and what you receive as answer.

With MBS Plugin, we start a new CURL session. We set various options to turn it into a HTTP POST request to our web service URL. We also need to specify a few header fields for SOAP Action and content type. Than we send request. From the answer, we parse the field values and apply them to our fields.

You can see the example database here: WeatherWebService.fp7.zip
If you have a question, please do not hesitate to ask us.
No comments

  
Remember personal info?

Emoticons / Textile

Comment moderation is enabled on this site. This means that your comment will not be visible on this site until it has been approved by an editor.



Notify:
Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.