PDA

View Full Version : Using the API from JAVA


jwijgerd
20th May 2008, 13:05
Hi,

I want to use the FlexiScale SOAP API from Java but I am running into several problems:


The WSDL uses the (old) rpc/encoded style instead of the more modern literal style. Newer packages such as Axis2 and CXF don't support rpc/encoded, I now have to resort to the ancient Axis1 package
With Axis1 the method for Login doesn't work. You rely on a cookie being set on the connection but the Axis1 library doesn't provide this


So at this point the API is pretty useless to me from my Java app. Is it possible to at least implement either WS-Security or basic authentication (so I can send the credentials with each request)?

Kind regards

Joost

jeisenbe
20th May 2008, 14:58
I have sent your request along to the Dev team who will be able to help you with this...

james
2nd June 2008, 11:47
Hi,

Examples for C# and Java have now been posted to the API documentation at https://api.flexiscale.com/current/doc/soap.html

Regards

James

jwijgerd
10th June 2008, 15:33
Thanks James,

It works now

kind regards

Joost