We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Chat SOAP connection - using Objective C

Received Response
2
Views
2
Comments
edited May 22, 2017 6:51AM in Integrations and APIs 2 comments

Content

Hi All,

We are trying to develop the Chat integration in our custom Mobile app. We are having connection issues with the WSDL and we always get Operation not found. Sample code below. Any directions will be very helpful.

 

 

 

Code Snippet

             let myUserInfo = UserInfo()
        let soapObj = SOAPEngine()
        soapObj.userAgent = "SOAPEngine"
        soapObj.responseHeader = true
        
        
         soapObj.requestWSDL(WsdlConstants.wsdlUrl, operation: "RequestChat", value: myUserInfo, completeWithDictionary: { (statusCode, dict) in
            print("Result = \(dict)")
        }) { (error) in
            print("Error = \(error)")
        } 
        

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!