String ls_header, ls_data
Blob lblb_args
If IsNull (as_url) Or as_url="' Then Return 1
Inv_inet=Create nvo_inet
Iir_msgbox=Create nvo_inetresult
Lblb_args=blob (as_args)
Ls_header="content-type:" + "application/soap + XML" + "~ n
"//"content-type:" + "application/x - WWW - form - urlencoded ~ n"
Ls_header=ls_header + "Content - Length:" + String (Len (as_args)) + "~ n ~ n
"
Li_rc=inv_inet. GetURL (as_url iir_msgbox);//- li_rc return 1 returns the correct
Li_rc=inv_inet. PostURL (as_url lblb_args, ls_header, iir_msgbox);
Destroy inv_inet
Destroy iir_msgbox
Return li_rc
After call PostURL () always returns - 6
CodePudding user response:
The way you call? Get the url of the what kind of?CodePudding user response:
Li_rc=inv_inet. GetURL (as_url iir_msgbox)Use the
can connect to the serverhttp://poswebservice.capitaretail.com.cn:7047/TTPOS/sales.asmx
The address