1 Reply
      Latest reply on Apr 17, 2019 1:35 PM by john daniel
      Nasonov Level 1 Level 1 (0 points)

        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 class

        • org.apache.axis.client.Stub

        http://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