Jump to content
cril

SOAP authentication

Recommended Posts

Hi I'm trying to develop an interface between my filemaker database and a SOAP service. No where in the wsdl is there any authorisation so I believe I need to send my username and password before the SOAP envelope. I'm trying to do that with Scriptmaster but there are only three input parameters none of which appear useful for generating or inputting the HTTP authorisation Basic that needs to be in place. I can't see the fedex modules which may have had the parameters I needed. Can anybody help/advise or suggest another plugin I should use.

 

Many thanks for reading this.

Share this post


Link to post
Share on other sites

Care to share some details, this seems too much to guess... then those of us who have done it might be able to help...

Share this post


Link to post
Share on other sites

Hopefully you can John. Here is what works on the test suite of the service I'm trying to create a link to and it gives me the answer I expect and probably can work with. I cannot see how the necessary information can be put into scriptmaster with the parameters available. Of course that may not be the correct plugin so that leads me to ask if there is any other options people can suggest to a relatively unsophisticated newbie:-) I am using Filemaker as my database on a mac and this was created and tested on SOAPUI.

POST http://api.test.scoteid.com/api HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "http://api.scoteid.com/api/SMGetCattleHoldings"
Content-Length: 553
Host: api.test.scoteid.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
Authorization: Basic aWFpbkBmYXJtc29sdXRpb25zLmNvLnVrOlN0cmVhazc3MjI=

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.scoteid.com/api/">
   <soapenv:Header/>
   <soapenv:Body>
      <api:SMGetCattleHoldingsRequest>
         <ApplicationName>ScotEID Desktop</ApplicationName>
         <ApplicationVersion>1.0</ApplicationVersion>
         <!--Optional:-->
         <ApplicationKey></ApplicationKey>
         <SchemaVersion>1.7</SchemaVersion>
         <Timestamp>2016-12-22T12:16:27Z</Timestamp>
      </api:SMGetCattleHoldingsRequest>
   </soapenv:Body>
</soapenv:Envelope>

Edited by cril

Share this post


Link to post
Share on other sites

Hi Cril,

i see this is the old post with no answer. Have you resolved this?

Share this post


Link to post
Share on other sites
35 minutes ago, milanm said:

Hi Cril,

i see this is the old post with no answer. Have you resolved this?

Hopefully you can John. Here is what works on the test suite of the service I'm trying to create a link to and it gives me the answer I expect and probably can work with. I cannot see how the necessary information can be put into scriptmaster with the parameters available. Of course that may not be the correct plugin so that leads me to ask if there is any other options people can suggest to a relatively unsophisticated newbie:-) I am using Filemaker as my database on a mac.

POST http://api.test.scoteid.com/api HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "http://api.scoteid.com/api/SMGetCattleHoldings"
Content-Length: 553
Host: api.test.scoteid.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
Authorization: Basic aWFpbkBmYXJtc29sdXRpb25zLmNvLnVrOlN0cmVhazc3MjI=

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.scoteid.com/api/">
   <soapenv:Header/>
   <soapenv:Body>
      <api:SMGetCattleHoldingsRequest>
         <ApplicationName>ScotEID Desktop</ApplicationName>
         <ApplicationVersion>1.0</ApplicationVersion>
         <!--Optional:-->
         <ApplicationKey></ApplicationKey>
         <SchemaVersion>1.7</SchemaVersion>
         <Timestamp>2016-12-22T12:16:27Z</Timestamp>
      </api:SMGetCattleHoldingsRequest>
   </soapenv:Body>
</soapenv:Envelope>

I'm not very good with the reply tools here so I sent you a message as well.

 

Yes I got it to work thanks with the help of the plugin from BE. If anyone needs more info I'd be delighted to help out.

 

Cheers

 

Iain

42 minutes ago, milanm said:

Hi Cril,

i see this is the old post with no answer. Have you resolved this?

Finally worked out how to reply. Yep got it working and happy to share with whoever needs help.

Cheers

Iain

Share this post


Link to post
Share on other sites

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

  • Similar Content

    • By 360Works
      360Deploy 2 automates your process of making FileMaker changes and migrating the data to a live or production (PROD) database.

      Experience an easy and safe tool to make changes to your development (DEV) file and send off the changes with the click of a button. With 360Deploy 2, all you'll need to do is use the configuration tool to set up and your users will be enjoying their new database in no time!

      Joe Martin, Senior Developer at 360Works, recently presented at the Houston FMDUT Meeting where he demonstrated the setup of 360Deploy 2 and covered development topics on deploying changes to a PROD file.

      Today we have a video recap of the meeting that has been shortened to 15 minutes so you can briefly observe what the process will look like for you or follow along with the setup! Below the video we have summarized a few answers to questions asked after the presentation.
       
       
      Q&A Summary:

      What happens when you add a new value list?
      If you add a new value list, it will be pulled in from the dev file (prod value list will be wiped out) 360Deploy makes a clone of DEV file and pulls in from it Considering adding a feature to customize this in the future (alternatively pulls from PROD file)

      How are accounts handled?
      360Deploy pulls data and accounts from PROD, and layout and schema from DEV

      What does 360Deploy do with your container data?
      360Deploy does nothing with your container data. Which is the desired behavior. Externally stored containers live in completely separate folders than the database itself. If we run our database migration, and put the production database back in place, the records will still be able to resolve their external container dependency to that data. Container data is ignored, but we maintain the link to it so that when the dev file is swapped out with the prod file those links can re-establish themselves.

      Is 360Deploy FileMaker Cloud compatible?
      360Deploy is not FM Cloud Compatible due to FMS admin technology not made available to us. However, we can host for you. Please contact us at support@360works.com to learn more about hosting.

      Does 360Deploy absolutely require FileMaker Server ...can it be ran locally?
      360Deploy requires a production server to deploy to, as this was the primary goal behind the product. Your DEV files can be local.

      Can 360Deploy run overnight?
      360Deploy can be set to run overnight using an on timer script. You'll need to leave the client open to let it run overnight. In later versions, we plan to have scheduled scripts so you can run the deployment from anywhere such as your iPad.

      Story Behind 360Deploy?
      360Deploy 1 was created by Sam Barnum to create a solution that did not exist (before FileMaker Data Migration Tool was released). He had to come up with several workarounds for abstracting a database import, one being able to dynamically generate a script to determine the next serial number for imported tables. However, now 360Deploy 2 can run imports and migrations faster and smoother since it leverages the new FileMaker Data Migration Tool.

      Our ultimate goal was to provide a nicer way to manage files on your server, providing smoother imports and making tedious work a lot easier. We plan to continue innovating around this goal with features in future version releases.

      Getting Started?
      We recommend using the demo version first to make sure it is going to work for your solution. We'll be happy to help you get a license once you are done your testing. Please email support@360works.com with any questions you may have.
       

      For more information or to download, visit: 360deploy.com.
       
    • By eyepro
      I'm very very very newbie on xml.
      What I need to understand is if it's possibile export in this way.
      I use a xsl stylesheet to export from FM.
       
      I was able to use the <xsl:for-each to export details in the way I want:
      <xsl:for-each select="fmp:FMPXMLRESULT/fmp:RESULTSET/fmp:ROW">
              <Details>
                  <Code><xsl:value-of select="fmp:COL[2]/fmp:DATA"/></Code>
                  <WTN><xsl:value-of select="fmp:COL[3]/fmp:DATA"/></WTN>
                  <Date><xsl:value-of select="fmp:COL[4]/fmp:DATA"/></Date>
                  
      result:
      <Details>
      <Code>0280c1</Code>
      <WTN>1</WTN>
      <Date>10/04/2018</Date>
      </Details>
      <Details>
      <Code>0280c2</Code>
      <WTN>2</WTN>
      <Date>10/04/2018</Date>
      </Details>
      <Details>
      <Code>0280c3</Code>
      <WTN>3</WTN>
      <Date>10/04/2018</Date>
      </Details>
      what i need to know is how put the fmp:COL[1] above the <xsl:for-each to get this:
      <CUSTOMER>ABC</CUSTOMER>
      <INVOICE>01</INVOICE>
      <Details>
      <PrimaryKey>0280c1</PrimaryKey>
      <WTN>1</WTN>
      <Date>10/04/2018</Date>
      <Colours/>
      </Details>
      <Details>
      <PrimaryKey>0280c2</PrimaryKey>
      <WTN>2</WTN>
      <Date>10/04/2018</Date>
      <Colours/>
      </Details>
      <Details>
      <PrimaryKey>0280c3</PrimaryKey>
      <WTN>3</WTN>
      <Date>10/04/2018</Date>
      <Colours/>
      </Details>
       
      Thanks in advance.
    • By DarioDN
      Dear all, I've just create a script to export my records in multiple xml file (one xml for each record) applying also an XSL stylesheet.
      So, if I use the style.xsl taking from my computer ("source" button when filemaker ask me to select the file) it works. If I put the same file online, it doesn't work giving me a SAXParseException error: internal error in NetAccess (occurred in an unknown entity, at line 0, column 0).
      In the same folder where I have the style.xsl there are other xsl files that works, but they are used to "import" process (from XML to FILEMAKER, while in this case I'm working to an export process, from FILEMAKER to XML, I don't know if this could be the problem)
      Someone could help me to understand the error? Thank you
      <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fmp="http://www.filemaker.com/fmpxmlresult" exclude-result-prefixes="fmp" > <xsl:output omit-xml-declaration="yes" indent="yes"/> <xsl:strip-space elements="*"/> <xsl:template match="fmp:FMPXMLRESULT"> <xsl:for-each select="fmp:RESULTSET/fmp:ROW"> <xsl:text>&#xA;</xsl:text> <xsl:text disable-output-escaping="yes">&lt;!--</xsl:text> <xsl:value-of select="fmp:COL[1]/fmp:DATA"/>.<xsl:value-of select="fmp:COL[2]/fmp:DATA"/>.<xsl:value-of select="fmp:COL[3]/fmp:DATA"/><xsl:text disable-output-escaping="yes">--&gt;</xsl:text> <problem display_name="Checkboxes" > <choiceresponse> <label><xsl:value-of select="fmp:COL[4]/fmp:DATA"/></label> <checkboxgroup> <choice correct="{fmp:COL[6]/fmp:DATA}"> <xsl:value-of select="fmp:COL[5]/fmp:DATA"/> <choicehint selected="true"><xsl:value-of select="fmp:COL[7]/fmp:DATA"/> </choicehint> </choice> <choice correct="{fmp:COL[9]/fmp:DATA}"> <xsl:value-of select="fmp:COL[8]/fmp:DATA"/> <choicehint selected="true"><xsl:value-of select="fmp:COL[10]/fmp:DATA"/></choicehint> </choice> <choice correct="{fmp:COL[12]/fmp:DATA}"> <xsl:value-of select="fmp:COL[11]/fmp:DATA"/> <choicehint selected="true"><xsl:value-of select="fmp:COL[13]/fmp:DATA"/></choicehint> </choice> </checkboxgroup> </choiceresponse> </problem> <xsl:text>&#xA;</xsl:text> </xsl:for-each> </xsl:template> </xsl:stylesheet>  
    • By 360Works
      At 360Works, we are focused on helping FileMaker Developers build what works best for their clients by providing products that extend the functionality of the FileMaker platform.
      If you need to add features or customize your database, now is the perfect time. The 360Works DevCon discount is available to receive 15% off of your online order using promo code DEVCON18 during checkout, now through August 10, 2018.

      Click on any of the product links below to learn more or place your discounted order!
      Products and Updates
      This year, we are excited to showcase major improvements in 360Deploy and MirrorSync. Our Email and FTPeek Plugins have also received added features that leverage powerful technology found in Amazon Web Services. We are able to demo in more detail the following NEW updates for you at our DevCon booth:
      360Deploy - now uses the FileMaker Data Migration Tool, experience faster and easier FileMaker data migration and solution version management MirrorSync - more details coming soon, you will want to ensure your maintenance is up to date to receive the newest features when they are released. If you are eligible for a maintenance renewal (still within 1 year of your last maintenance activation), you can renew your maintenance here. Email Plugin - now uses AWS for sending SMS/Text Messages, send texts to subscribers from your FileMaker solution and receive the additional benefits of a complete email plugin with formatted inbound and outbound email sending capabilities. It's a 2-for-1 deal. FTPeek Plugin - now uses AWS S3 for file storage, FileMaker FTP Plugin that is easy to implement and supports SFTP and FTPS  
        Current Suite of FileMaker Plugins and Tools:
      Product Name Product Description 360Deploy Automated, simple deployment of new database versions Charts Easy-to-use charting for FileMaker CloudMail Send and track email marketing campaigns Email Send and receive text and HTML emails in FileMaker DocuBin Document and digital asset management FTPeek FTP upload and download from your FileMaker database JDBC SQL access with JDBC Compatibility MirrorSync Sync FileMaker Go and Pro on a device without network connection, sync FileMaker Servers, and sync FileMaker with SQL databases Plastic Payment processing plugin RemoteScripter Trigger scripts on FileMaker Pro from the web or IWP SafetyNet FileMaker Server offsite backup Scribe Read and write PDF, Word, and Excel files ScriptMaster Adds many new functions & create custom plug-ins SuperContainer A better container field Web Assistant Access internet resources, URLs, and fill out web forms Web Services Manager Publish FileMaker scripts as XML Web Services Zulu FileMaker calendar sync Stop by Our Booth: Free MirrorSync Consulting, FileMaker 17 Books, and More!
      Our booth will be by the entrance of the Longhorn "F" Hall
      Free Consulting - MirrorSync Setup Station:
      Heard about MirrorSync and just haven't found the time to get it set up? At DevCon, we are taking care of the setup up for you! That's right, a service which we typically provide at our hourly consulting rate, we are providing to you, completely free at the 360Works booth during DevCon 2018 (reply to this email for information on limitations).

      Once one of our experienced developers sets up MirrorSync for you, the syncing possibilities will be endless. With MirrorSync, you can sync any combination of FileMaker Pro, FileMaker Go, FileMaker Server, and SQL databases such as MySQL, SQL Server, WordPress, Salesforce, and more! You can even test it out by using it to sync your data while on the go at DevCon. If you need more people or databases to start syncing with a particular database, adding additional configurations and devices is a cinch!

      Spots are filling up fast! Please email us at infobox@360works.com if you are interested in setting up time or to learn more about limitations and preparation.
      Free FileMaker 17 Book from Richard Carlton Consulting:
      Are you a fan of the FileMaker Training Videos? Richard Carlton will have free copies of his new FileMaker 17 book available at our booth. Please note, the books will be available on a first come, first serve basis. Be sure to stop by our booth to secure a copy of the book.
      Sessions - NEW UPDATED TIMES
      The 360Works team will be presenting at two sessions during DevCon 2018, both are now on WEDNESDAY morning:

      1.) 360Works Session: Wednesday, August 8th at 9:00 a.m. - 10:00 a.m.
      Room Location: Dallas 5 - 7

      360Deploy: The Solution for FileMaker Version Management

      Introducing 360Deploy 2, now leveraging the FileMaker Data Migration Tool released with FileMaker 17 and supporting remote deployment to multiple servers! 360Deploy makes it easier and faster than ever to deploy your development database to production. With just one button, 360Deploy clones, transfers, imports, archives, renames, and resumes... while preserving all of your production data. Come see how simple 360Deploy can make your FileMaker development changes.

      This session will also include a short presentation of new features added to 360Works MirrorSync. For a more detailed syncing demonstration, please stop by the 360Works booth (#1).
       
      2.) Integration Session: Wednesday, August 8th at 10:30 a.m. - 11:30 a.m.
      Room Location: Texas C

      Beyond Virtual Machines: Tapping into the AWS Universe of Services

      This session is NOT about how to run FileMaker Server or FileMaker Cloud using Amazon Web Services (AWS). Instead, we will embark on a one hour tour of the incredibly powerful software as a service (SaaS) offerings from AWS. AWS is the largest cloud computing vendor in the world, with services such as real-time message queues, machine learning, and massive on-demand general computing services. You'll learn how to interact directly with any of these services by sending AWS requests using the FileMaker Platforms Insert from URL, JSON, and encryption features. Recommended Background: Experience with the Insert from URL script step, REST APIs, cURL, and JSON.
        Stay updated with 360Works
       
    • By 360Works
      The 360Works FTPeek plugin uploads, downloads, and manipulates remote files on an FTP (File Transfer Protocol) server from within any FileMaker solution.
      FTPeek version 2.1 is now available with an added feature supporting uploads and downloads from Amazon S3!
      Amazon Simple Storage Service (S3) runs on the AWS Cloud Infrastructure. It remains a highly-rated, industry-standard for data storage and retrieval, of any amount of data. As with most AWS services, S3 is versatile, reliable, and secure. It offers flexible storage management and administration capabilities, along with a simple interface that you can use to retrieve data from anywhere on the web.
      Getting started with Amazon S3 in the 360Works FTPeek plugin is easy. Using the function FTPeek_ConnectS3 will connect to your Amazon Web Services account when specifying the parameters for your AWS region and bucket, access key, and secret key. Once connected, you can then upload, download, and list files like any other FTP Server. Full reference documentation can be obtained at 360works.com/ftp-plugin
      Pricing for FTPeek starts at $195 for a 10-user workgroup license - less than $20 per user! Current version 2 license holders can upgrade to FTPeek 2.1 at no additional cost. Version 1 license holders can upgrade to version 2 at a nominal cost. For more on upgrade pricing or to download, please visit 360works.com/ftp-plugin
      More Reasons to Use the 360Works FTPeek plugin:
       
      Security: public encryption key is included with support for FTP over SSL (FTPS) and FTP over SSH (SFTP) Universal Binary cross-platform support: Windows and Mac compatible Runs on your FileMaker Server: Automate nightly FTP batch transfers with scheduled scripts or embed FTP scripts into WebDirect or Custom Web Publishing Transfer directly to/from FileMaker fields: FTP documents and images directly from text and container fields to the FTP server Includes a built-in FTP user interface: Give users full FTP access to the server, a full-featured, 100% FileMaker FTP solution is included with the plugin  
      What Do Other FileMaker Developers Think?
      "I think you guys are filling a big gap with that single plugin. The fact that it supports FTP, SFTP, and FTPS is key . We have replaced two plug-ins (one for FTP and one for SFTP) with a single plugin and can now offer FTPS as an alternative to our customers." - Matt Klein, Small Business Computers of New England, Inc.
      Free Demo or Download FTPeek 2.1 Stay updated with 360Works
       
×

Important Information

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