Jump to content

web services posting xml


This topic is 3458 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi All,

 

I was tasked with building a solution to communicate with a web service. I have to my disposal :

FMAdv 13

Fmnexus plugin

WDSL for the web service.

Server certificate for this web service 

 

With this solution I have to post xml to the web service ( over https ) and then parse the xml again. The producing and parsing of the xml should not be a problem. However, I am not sure of three things :

1. Is the filemaker 13 http-post function capable of posting xml ? or is this just a simple tool ?

2. Does anyone know the state of the FMNexus plugin ? The website where we used to be able to get the plugin just says it has not been tested.

3. Is there a better alternative for a plugin that can do this. I have heard about the baseElements plugin ; is this plugin capable of doing this ?

 

Thanks in advance !

Link to comment
Share on other sites

I believe it is, but you're still not telling us exactly what "this" involves. The part that seems to me as potentially problematic is the posting of XML data: there is no native functionality to produce XML "in memory", so you might have to hack it using text functions.

Link to comment
Share on other sites

It seems that the posting of xml with http-post is problematic

 

I don't think it's any more problematic than posting key/value pairs (as shown in the example here: http://www.filemaker.com/help/13/fmp/en/html/non_toc.46.34.html#1079151). It's just that there's more room for error when you are forming XML manually.

 

In any case, I suggest you try it and see what problems you run into.

Link to comment
Share on other sites

  • 2 weeks later...

The problem I am currently running into is dat every time I post to the url, I get :

 

<h2>403 - Forbidden: Access is denied.</h2>

  <h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3>
 
Could this have to do with FileMaker Pro and communicating with a certificate ?
Link to comment
Share on other sites

Could this have to do with FileMaker Pro and communicating with a certificate ?

 

Possibly. Although "FileMaker cannot perform a certificate check to verify that the server that you specify is the server that replies", so it's more likely that you are not supplying the correct credentials correctly.

 

Have you tried posting using other means, e.g. cURL or the BE plugin (also using cURL as its engine, I believe)?

 

Link to comment
Share on other sites

  • 2 months later...

The FMNexus plugin seems to be more or less dead in the water.

I currently hope I can use the Monkeybread plugin ( over 2700+ functions ). It seems to have quite a lot of cURL support. I don't know cURL, so if anyone here knows something about that. In any case cURL seems to be better known in the world than FM :sad:

Link to comment
Share on other sites

This topic is 3458 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.