PROCEDURE InvokeSoapRequest@1000000000(XMLDoc@1100000 : Automation "{F5078F18-C551-11D3-89B9-0000F81FE221} 6.0:{F6D90F11-9C73-11D3-B32E-00C04F990BB4}:'Microsoft XML, v6.0'.DOMDocument";PackingNo@1000000000 : Code[20]); VAR WebRequest@1100009 : DotNet "'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Net.WebRequest"; HttpWebRequest@1100008 : DotNet "'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Net.HttpWebRequest"; RequestStream@1100005 : DotNet "'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.IO.Stream"; Encoding@1100011 : DotNet "'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Text.Encoding"; ByteArray@1100012 : DotNet "'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Array"; Uri@1100006 : DotNet "'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Uri"; HttpWebResponse@1100010 : DotNet "'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Net.HttpWebResponse"; StatusCode@1100007 : DotNet "'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Net.HttpStatusCode"; WebServiceUrl@1100004 : Text; StatusDescription@1100017 : Text[250]; ResponseText@1100015 : Text; lPackingHeader@1000000001 : Record 50010; BEGIN HttpWebRequest := WebRequest.Create(Uri.Uri('https://XXXXXXX/landing.html')); HttpWebRequest.Method := 'POST'; HttpWebRequest.ContentType := 'application/xml'; ByteArray := Encoding.UTF8.GetBytes(XMLDoc.OuterXml); HttpWebRequest.ContentLength := ByteArray.Length; RequestStream.Write(ByteArray,0,ByteArray.Length); TryGetWebResponse(HttpWebRequest,HttpWebResponse); StatusCode := HttpWebResponse.StatusCode; StatusDescription := HttpWebResponse.StatusDescription; ResponseText := ReadHttpResponseAsText(HttpWebResponse); lPackingHeader.ProcessResponse(ResponseText,PackingNo); END;
Answers
And then use the XMLDocNet var in place of XMLDoc.
Regards
Yes, really thanks! That is what I was specting, but I couldn't find it! What type should "filename" be? A string? What does it represent?
Really appreciate!
Again, thank you very much. i was getting mad with this issue, and the worst thng is that I was thinking about it, but dindn't find the way. I will work on this solution
Really appreciated!