Xojo Conferences

« MonkeyBread Software … | Home | MBS Real Studio Plugi… »

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

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.
16 05 12 - 15:24
eight comments

I would like to use your fantastic plugin to retrieve information about the validity or not of a VAT Number.
European Community has a SOAP service which can be used to do it (http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl)
I’ve tried to start from your example to end with the information I need, but I cannot figure out how to pass the 2 values to the WSDL page.
Can you help me?

Thank you

Silvio - 10 10 13 - 11:11

We provide an example for this webservice with the next plugin prerelease.
Christian Schmitz - 10 10 13 - 14:26

MBS Plugin is treasure for me.
It is a very convenient utility.
However, I have a big problem now.
I am troubled with connection of Web Service using a certification file in HTTPS.
How is it all right to be concrete to be connected to Web Service using a certification file of PKCS # 12?
I want you to help me if there is a person knowing the method that can be settled.

Please lend the wisdom to me.
Thank you

Yuichi Inagaki - 08 01 14 - 16:54

You can use CURL with the right options to use a certificate file. Not sure which file formats are supported by curl exactly.

Christian Schmitz (URL) - 08 01 14 - 19:10

Do you have an example of using a multipart form POST for uploading a local file to a web or file server?
Thanks so much, this plug-in is amazing!

Tom H
Tom Horton (Email) - 14 08 14 - 20:15

Please check the “CURL Send Form.fmp12” example.
Now check the CURL.FormAdd* plugin functions. e.g. with CURL.FormAddKeyContainerContentType you can add a container as file in a multipart form.
Christian Schmitz (URL) - 14 08 14 - 22:10

How do you configure this example to pull data via the Amazon Advertising API?
Catherine Edwards (Email) - 17 01 16 - 01:01

We don’t have such an example here, but you can make one by changing on of our examples.
Christian Schmitz - 17 01 16 - 11:56

Remember personal info?

Emoticons / Textile

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.