Hi.
I try to connect to my web service with SOAP.
Using HTTP: is working fine, but excat same code is not working when calling HTTPS: ?
I have libraries;
Network 1.51
OKHttp 1.01
In Process_Global;
Dim myhttp As OkHttpClient
Dim Myreq As OkHttpRequest
In Create;
'myhttp.Initialize ("Http1")
myhttp.InitializeAcceptAll("Http1")
In a button click;
Myreq.InitializePost2("https://My.Adress/wip/wipv1.asmx",Autenticate("123","123").GetBytes("UTF-8"))
Myreq.SetContentEncoding ("UTF-8")
Myreq.SetContentType("application/soap+xml;charset=UTF-8;action=""http://My.Adress/wip/v1/AuthenticateEmployee""")
myhttp.Execute(Myreq,1)
This works fine with either of the .initialize i create.
But just changing the "Http:" in line 1 in button click to "Https:" and the APP isnt sending anything. ??
Can anyone help??
regards svein
I try to connect to my web service with SOAP.
Using HTTP: is working fine, but excat same code is not working when calling HTTPS: ?
I have libraries;
Network 1.51
OKHttp 1.01
In Process_Global;
Dim myhttp As OkHttpClient
Dim Myreq As OkHttpRequest
In Create;
'myhttp.Initialize ("Http1")
myhttp.InitializeAcceptAll("Http1")
In a button click;
Myreq.InitializePost2("https://My.Adress/wip/wipv1.asmx",Autenticate("123","123").GetBytes("UTF-8"))
Myreq.SetContentEncoding ("UTF-8")
Myreq.SetContentType("application/soap+xml;charset=UTF-8;action=""http://My.Adress/wip/v1/AuthenticateEmployee""")
myhttp.Execute(Myreq,1)
This works fine with either of the .initialize i create.
But just changing the "Http:" in line 1 in button click to "Https:" and the APP isnt sending anything. ??
Can anyone help??
regards svein