We are switching our payment gateway to Tyro. Here is the documentation: https://ecommerce.tyro.com/commerce/docs/apidoc/cardToken?api=payments
I am a Coldfusion programmer. Can I get some advice on the best way to implement this in Coldfusion? There are java and PHP examples given, however I only know Coldfusion and I'm not sure which is the best way to get started is.
You'll need to use the Java SDK:
Load the JAR files into the CF server
Learn how to use 3rd party Java libraries with ColdFusion
Translate the Java examples to CF code.
Doubtful you'll find any examples of how to directly to that with CF. You'll have to find examples of how other 3rd party libraries are used with CF.
You may also check if they have RESTful APIs that you can use with CFHTTP instead.
Related
I have a Java API in jar file with some dependencies from other jar files.
Is there any way to call a specific method from this API, like using PInvoke from .NET?
Here you go :) I've used it myself and was very please with the implementation.
IKVM: Using Java API's in .NET Applications
(1) If you just want some libraries
from Java.
(2.1) If you have access to
the code.
(2.2) Last resort,
dynamically load the Java into .Net
(interpreter)
I don't think it will be an easy task to interoperate .net and java. May be you could use sockets, and use them to send messages from one environment to another. It is just an idea, though.
EDIT:
I have found some libs that say they can do this:
http://www.jnbridge.com/
http://www.codeproject.com/KB/dotnet/Espresso.aspx
You can use CORBA to "call" java methods from .NET.
For .NET here you can find some CORBA libraries.
Java SDK includes CORBA capabilities so you don't have to download 3rd party libraries.
I have a very basic REST API that provides some information, which was written with JAX-RS.
Now I want to implement some azure cli commands, like az acr repository list as well as kubectl.
I found the Azure Java SDK, and read its API reference, but I couldn't figure out how I will basically list the repositories.
Kubernetes example is much better, but I am stuck with Azure Container Registry.
Basically I am asking a code sample (reference), or tutorial, or guidance.
Whatever my experience of using Azure docs, it's little hard to find API doc which will work for you and you may found some discrepancies between docs like one of API via cli vs sdk behaves different.
As per my work with various clouds, most of the cloud clients are inclined to use python SDKs. 3-4 ago, I had used java for openstack, now python. For VCloud, used java but now moving to python, in fact they stopped to provide java sdk.
Hope you have got some pointers.
In my Java Application I want to use Oracle Responsys to trigger individual email in response to some activity detected by my web site
Oracle Responsys is completely new for me and not able find out where to start.
I got SOAP API Developer’s Guide — Standard documentation, and trying to figure out myself. But seems to be I am not understanding the core concept of how to integrate Oracle Responsys in my application.
Please help on how to integrate Oracle Responsys into my web application? I am not able to find any Java SDK for Oracle Responsys, is there one available? If available from where I can get it?
I am not understanding the core concept of how to integrate Oracle Responsys in my application.
The "core concept" is that your application sends requests to the Responsys server's API over HTTP / HTTPS. Your application can (in theory) do this directly by crafting HTTP requests with the correct parameters / payloads / etc, and then parsing the results. Alternatively, it can use either a generic framework (such as JAX-WS), or a specific client library to do most of the tedious stuff for you.
I am not able to find any Java SDK for Oracle Responsys, is there one available.
Responsys provides both REST and SOAP based APIs, but at this time they don't appear to provide any (official) Java client-side libraries for either API.
I did find some 3rd-party client libraries on Github. Rather than listing them, I suggest that you Google for responsys api github and start trawling the search results.
Questions that ask for recommendations on StackOverflow, are off topic, so I'm assuming that you are not asking for one. But, you will need to do your own assessment of the completeness and fitness for purpose of the various library alternatives.
Basically I would like a TFS SDK that I can uses to retrieve files from source control.
Does something like this exist for Java? My searching only returned results from 2007 about rumors that Teamprise was working on a SDK.
You can now download a TFS SDK for Java provided by Microsoft here.
I don't know about an SDK, but if you connect to the TFS URL, you will see that it's actually a standard SOAP webservice with functions pretty much matching the .NET SDK functions 1:1. The rest should be straightforward.
Teamprise plugin is now called "Team Explorer Everywhere" and has a java based command line client (TEE-CLC), also have a look at SvnBridge which would let you use subclipse/other svn clients to connect to TFS.
Another way, suggested by Robaticus in comments is to use the command line utilities that come with TFS. Simple and reliable, although less integration.
Added: The CLI utilities come with TFS itself. A quick google query reveals the official documentation.
A third possibility that came to my mind is to use a Java-to-.NET bridge. There are a few to choose from. This way you can use the original MS libraries.
I need to make my Java program as a PlugIn to OME - an Image processing web based s/w having Java API
www.openmicroscopy
OmeroJava is the appropriate API for the latest version of OME (OMERO 4.2), if you are writing a client. If you would like to embed your code inside of Insight (the OMERO Java client), then you should start with How to write a client. Other links to OME-Java libraries are for a legacy version and should not be used.
Looks like the Open Microscopy Java API is worth investigation. If it's not, it's worth highlighting in your question as to why it's not suitable (marked as legacy?)