Post marked as unsolved
Click to stop watching this post.
You have stopped watching this post. Click to start watching again.
Post marked as unsolved with 1 replies
486
Views
Translating a webservice client made with Java to Swift
Hi everyone!I've just set up a webservice client using Java, Apache HttpClient and Axis, following the sample code given to us by the company hosting the service. No problem with that.I was wondering instead if it would be possible to translate the project to Swift.I've made it down to a certain point but then the sample code makes these calls linked with the axis framework, and more precisely with this classorg.apache.axis.client.Stubhttp://axis.apache.org/axis/java/apiDocs/org/apache/axis/client/Stub.html#_setProperty(java.lang.String,%20java.lang.Object)http://axis.apache.org/axis/java/apiDocs/org/apache/axis/client/Stub.html#setPortName(javax.xml.namespace.QName)._setProperty("javax.xml.rpc.session.maintain", Boolean.TRUE);
._setProperty(HTTPConstants.HEADER_COOKIE, token);Is there some kind of Swift API for building Web services clients that use remote procedure calls (RPC) and XML? What would be a Swift resource/library that can mimic these frameworks (axis / javax rpc)?Thank you