Hello All.
i need to call the SOAP WS that use reflection so it can no be handle by tb WS Proxy Object
i manage to send the request using postdata with return 1 with this code:
httpClient lo_client
Constant Integer SECURE_PROTOCOL_TLS12 = 5
integer li_ret , i
String lo_xml_request
string ls_url
string ls_soap_action
string arguments[]
string ls_body
string ls_ret
ls_url =sle_url.text //(https://efxpywsdev.informconf.com.py/Services/Personas.svc)
ls_soap_action =sle_action.text //(http://tempuri.org/IPersonas/DatosPersonales)
lo_xml_request = '
'
lo_client = Create httpClient
lo_client.SetRequestHeader("Content-Type", "text/xml; charset=utf-8")
lo_client.SetRequestHeader("SOAPAction", ls_soap_action)
lo_client.SetRequestHeader("Content-Length",string(len(lo_xml_request)*2))
li_ret = lo_client.PostDataStart(ls_url)
li_ret = lo_client.PostData(blob(lo_xml_request),len(lo_xml_request)* 2 )
li_ret = lo_client.postdataend()
li_ret = lo_client.GetResponseStatusCode()
ls_ret = lo_client.GetResponseStatusText( )
i have the return 400 bad request
i have try
also like this:
and
in the IIS log i can it returns 400