SSO (Single Sign On)

I have a client that uses a company called iPipeline in which they need their API to be integrated with Wix. Can someone tell me if this can be done. I have someone who can code the API but need to know first if it can be accomplished. Thanks!!! Below is a sample code.

2.1.1.1 Sample code
2.1.1.1.1 C#
WebService1 ws = new LifePipeAPI();
// Create a new instance of CredentialCache.
CredentialCache credentialCache = new CredentialCache();
// Create a new instance of NetworkCredential using the client
// credentials reading the username and password values from
// dialogbox components.
NetworkCredential credentials = new NetworkCredential(username,password);
// Add the NetworkCredential to the CredentialCache.

credentialCache.Add(new Uri(ws.Url),"Basic",credentials);
// Add the CredentialCache to the proxy class credentials.
ws.Credentials = credentialCache;
ws.PreAuthenticate = true;
Gender[] g = ws.GetGenders();
for(int i=0; i<=g.Length -1; i++)
{
MessageBox.Show(g[i].GenderName);
}

2.1.1.1.2 Java
Context ctx = new Context();
ctx.setProperty("authUser",username);
ctx.setProperty("authPassword",password);
String url = "http://LifePipeAPI.stg.iPipeline.com/TermQuotesAPI.asmx?wsdl&quot;;
IWebService1Soap ws = (IWebService1Soap)Registry.bind( url, IWebService1Soap.class,ctx);
System.out.println(ws.GetGenders()[0].GenderName);

2.1.1.1.3 Visual Basic
Dim httpPost As MSXML2.ServerXMLHTTP
Dim domResponse As New MSXML2.DOMDocument40
Set httpPost = CreateObject("MSXML2.ServerXMLHTTP")
httpPost.Open "POST", apiURL, False
httpPost.setRequestHeader "Content-Type", "text/xml; charset=utf-8"
httpPost.setRequestHeader "Content-Length", Len(domPost.XML)
httpPost.setRequestHeader "Authorization", "Basic " & Base64Encode(apiURLUsername & ":" &
apiURLPassword)
httpPost.setRequestHeader "SOAPAction", apiSoapAction
httpPost.send domPost.XML
domResponse.loadXML(httpPost.responseXML.XML)

2.1.1.1.4 PHP
$url = "http://LifePipeAPI.stg.iPipeline.com/TermQuotesAPI.asmx?wsdl&quot;;
$auth = array(
'login' => "username",
'password' => "password",
'trace' => 1 //Optional, but probably a good idea
);
$client = new SoapClient($url, $auth);
$result = $client->GetGenders();
print_r($result);

Yes, it should be possible.
Your developer should probably write a backend function that issues a call to the LifePipe API, and expose that to the client (the browser) so that it can be triggered by some action the user does.

I suggest you give your developer access to our APIs, examples, etc. and see if he verifies he has what he needs.

Good luck!

Thanks Ziv!!

Hey Ziv,

Do you know someone who could help me with developing the API for this?