Hi everybody, below is my Visual Basic code to connect to a web service. How can I achieve this with httputils?
B4X:
Dim binding As New BasicHttpBinding()
binding.MaxBufferSize = Integer.MaxValue
binding.MaxReceivedMessageSize = Integer.MaxValue
binding.MaxBufferPoolSize = Integer.MaxValue
binding.ReaderQuotas.MaxStringContentLength = Integer.MaxValue
binding.ReaderQuotas.MaxArrayLength = Integer.MaxValue
binding.Security.Mode = BasicHttpSecurityMode.Transport
binding.MessageEncoding = WSMessageEncoding.Mtom
binding.ReceiveTimeout = New TimeSpan(23, 59, 59)
binding.SendTimeout = New TimeSpan(23, 59, 59)
client = New digitalplanet.IntegrationServiceSoapClient(binding, New EndpointAddress(IntegratorURL))