Posts

Post marked as unsolved
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
Asked
by Nasonov.
Last updated .
Post marked as unsolved
843 Views

iTunes Search API UPC Lookup

Hi,It seems that some requests from the iTunes Search APIhave stopped working. Try looking at the Lookup Examples:Look up an album or video by its UPC:https://itunes.apple.com/lookup?upc=720642462928This produces a newNullResponse. Has Apple deprecated them? My application relies on them and I'd love to know if it's just a temporary bug or a permanent change. Thank you for any help you can offer!
Asked
by Nasonov.
Last updated .