Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

  • Newbies
Posted

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.

Posted

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

  • Newbies
Posted (edited)

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
  • 3 months later...
Posted

Hi Cril,

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

  • Newbies
Posted
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

  • 2 years later...

This topic is 1968 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.