let me know the Current version?
Yes, please click here and check if you have the latest UiPath.Web.Activities package ![]()

It should be 1.4.4
Hi @sunilraju
Could you download these 3 project files, save them in the same, empty folder and then open the project via project.json and run it? ![]()
Main.xaml (7.2 KB)
project.json (902 Bytes)
inputXML.txt (112 Bytes)
The output should be this in your Internet Explorer:
Please share the screenshot of your output.
@loginerror
thanks. But unable to download.
getting below error,
This site can’t be reached
discourse-cloud-file-legacy.s3-us-west-2.amazonaws.com ’s server IP address could not be found.
Try:
- Checking the proxy, firewall, and DNS configuration
- [Running Windows Network Diagnostics](javascript:diagnoseErrors())
DNS_PROBE_FINISHED_BAD_CONFIG
Okay, these are text files anyway, so instead save the code snippets below as specific indicated files.
project.json
{
"name": "HttpRequestPassXML",
"description": "Blank Process",
"main": "Main.xaml",
"dependencies": {
"UiPath.System.Activities": "[19.10.0-ce]",
"UiPath.UIAutomation.Activities": "[19.10.0-ce]",
"UiPath.WebAPI.Activities": "[1.4.4]"
},
"webServices": [],
"schemaVersion": "4.0",
"studioVersion": "19.7.0.0",
"projectVersion": "1.0.0",
"runtimeOptions": {
"autoDispose": false,
"isPausable": true,
"requiresUserInteraction": true,
"supportsPersistence": false,
"excludedLoggedData": [
"Private:*",
"*password*"
],
"executionType": "Workflow"
},
"designOptions": {
"projectProfile": "Developement",
"outputType": "Process",
"libraryOptions": {
"includeOriginalXaml": false,
"privateWorkflows": []
},
"fileInfos": []
},
"expressionLanguage": "VisualBasic"
}
Main.xaml
<Activity mc:Ignorable="sap sap2010" x:Class="Main" mva:VisualBasic.Settings="{x:Null}" sap:VirtualizedContainerService.HintSize="496,784" sap2010:WorkflowViewState.IdRef="ActivityBuilder_1" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities" xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation" xmlns:sap2010="http://schemas.microsoft.com/netfx/2010/xaml/activities/presentation" xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib" xmlns:ui="http://schemas.uipath.com/workflow/activities" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<TextExpression.NamespacesForImplementation>
<scg:List x:TypeArguments="x:String" Capacity="21">
<x:String>System.Activities</x:String>
<x:String>System.Activities.Statements</x:String>
<x:String>System.Activities.Expressions</x:String>
<x:String>System.Activities.Validation</x:String>
<x:String>System.Activities.XamlIntegration</x:String>
<x:String>Microsoft.VisualBasic</x:String>
<x:String>Microsoft.VisualBasic.Activities</x:String>
<x:String>System</x:String>
<x:String>System.Collections</x:String>
<x:String>System.Collections.Generic</x:String>
<x:String>System.Data</x:String>
<x:String>System.Diagnostics</x:String>
<x:String>System.Drawing</x:String>
<x:String>System.IO</x:String>
<x:String>System.Linq</x:String>
<x:String>System.Net.Mail</x:String>
<x:String>System.Xml</x:String>
<x:String>System.Xml.Linq</x:String>
<x:String>UiPath.Core</x:String>
<x:String>UiPath.Core.Activities</x:String>
<x:String>System.Windows.Markup</x:String>
</scg:List>
</TextExpression.NamespacesForImplementation>
<TextExpression.ReferencesForImplementation>
<scg:List x:TypeArguments="AssemblyReference" Capacity="15">
<AssemblyReference>System.Activities</AssemblyReference>
<AssemblyReference>Microsoft.VisualBasic</AssemblyReference>
<AssemblyReference>mscorlib</AssemblyReference>
<AssemblyReference>System.Data</AssemblyReference>
<AssemblyReference>System</AssemblyReference>
<AssemblyReference>System.Drawing</AssemblyReference>
<AssemblyReference>System.Core</AssemblyReference>
<AssemblyReference>System.Xml</AssemblyReference>
<AssemblyReference>System.Xml.Linq</AssemblyReference>
<AssemblyReference>PresentationFramework</AssemblyReference>
<AssemblyReference>WindowsBase</AssemblyReference>
<AssemblyReference>PresentationCore</AssemblyReference>
<AssemblyReference>System.Xaml</AssemblyReference>
<AssemblyReference>UiPath.System.Activities</AssemblyReference>
<AssemblyReference>UiPath.UiAutomation.Activities</AssemblyReference>
</scg:List>
</TextExpression.ReferencesForImplementation>
<Sequence DisplayName="root" sap:VirtualizedContainerService.HintSize="476,724" sap2010:WorkflowViewState.IdRef="Sequence_2">
<Sequence.Variables>
<Variable x:TypeArguments="ui:GenericValue" Name="getTextOutput" />
<Variable x:TypeArguments="x:String" Name="inputXML" />
</Sequence.Variables>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:ReadTextFile Content="[inputXML]" DisplayName="Read Text File" FileName="inputXML.txt" sap:VirtualizedContainerService.HintSize="434,132" sap2010:WorkflowViewState.IdRef="ReadTextFile_1" />
<ui:OpenBrowser CommunicationMethod="{x:Null}" UiBrowser="{x:Null}" BrowserType="IE" DisplayName="Open Browser" Hidden="False" sap:VirtualizedContainerService.HintSize="434,398" sap2010:WorkflowViewState.IdRef="OpenBrowser_1" NewSession="True" Private="False" Url="webhook.site">
<ui:OpenBrowser.Body>
<ActivityAction x:TypeArguments="x:Object">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="x:Object" Name="ContextTarget" />
</ActivityAction.Argument>
<Sequence DisplayName="Do" sap:VirtualizedContainerService.HintSize="376,299" sap2010:WorkflowViewState.IdRef="Sequence_1">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:GetValue ContinueOnError="{x:Null}" DisplayName="Get Text 'CODE'" sap:VirtualizedContainerService.HintSize="334,106" sap2010:WorkflowViewState.IdRef="GetValue_1">
<ui:GetValue.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" InformativeScreenshot="74e9054e7a608a1aaa0ee2f46e136800" Selector="<webctrl tag='CODE' />" WaitForReady="INTERACTIVE">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
</ui:Target>
</ui:GetValue.Target>
<ui:GetValue.Value>
<OutArgument x:TypeArguments="ui:GenericValue">[getTextOutput]</OutArgument>
</ui:GetValue.Value>
</ui:GetValue>
<WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="334,61" sap2010:WorkflowViewState.IdRef="WriteLine_1" Text="[getTextOutput]" />
</Sequence>
</ActivityAction>
</ui:OpenBrowser.Body>
</ui:OpenBrowser>
<ui:HttpClient ConsumerKey="{x:Null}" ConsumerSecret="{x:Null}" ContinueOnError="{x:Null}" OAuth1Token="{x:Null}" OAuth1TokenSecret="{x:Null}" OAuth2Token="{x:Null}" Password="{x:Null}" ResourcePath="{x:Null}" ResponseHeaders="{x:Null}" Result="{x:Null}" StatusCode="{x:Null}" Username="{x:Null}" AcceptFormat="ANY" Body="[inputXML]" BodyFormat="text/xml" ClientCertificate="[Nothing]" ClientCertificatePassword="[Nothing]" DisplayName="HTTP Request" EndPoint="[getTextOutput]" sap:VirtualizedContainerService.HintSize="434,22" sap2010:WorkflowViewState.IdRef="HttpClient_1" Method="POST" TimeoutMS="6000">
<ui:HttpClient.Attachments>
<scg:Dictionary x:TypeArguments="x:String, InArgument(x:String)" />
</ui:HttpClient.Attachments>
<ui:HttpClient.Cookies>
<scg:Dictionary x:TypeArguments="x:String, InArgument(x:String)" />
</ui:HttpClient.Cookies>
<ui:HttpClient.Headers>
<InArgument x:TypeArguments="x:String" x:Key="Content-Type">text/xml</InArgument>
<InArgument x:TypeArguments="x:String" x:Key="SOAPAction">
<Literal x:TypeArguments="x:String" Value="" />
</InArgument>
</ui:HttpClient.Headers>
<ui:HttpClient.Parameters>
<scg:Dictionary x:TypeArguments="x:String, InArgument(x:String)" />
</ui:HttpClient.Parameters>
<ui:HttpClient.UrlSegments>
<scg:Dictionary x:TypeArguments="x:String, InArgument(x:String)" />
</ui:HttpClient.UrlSegments>
</ui:HttpClient>
</Sequence>
</Activity>
inputXML.txt
<note><to>Tove</to><from>Jani</from><heading>Reminder</heading><body>Don't forget me this weekend!</body></note>
You most likely cannot download the file because your company blocks the Forum files.
Hi,
I am using community edition ui path version and i am able to trigger small processes through robot.
Now i am want to achieve the same through different platform like outsystems, can i start a process through api? Please help.
Regards,
Manish
Hi, This reply helped me.
I was getting text like :
-------------------------------28947758029299
Content-Disposition: form-data; name=“Filename”; filename=“H_input_v24.xml”
Content-Type: application/octet-stream
At the start of my uploaded XML.
Although the API instructions had been to pass an “Attachment”, I set that to blank.
Set the Body and Body Format as above.
In the Header, I set:
Content-Disposition - “Binary;filename=” + FilenameQuoted (I had used Char34 to add quotes to the Filename)
Content-Type - “application/octet-stream” (This is the only value that the API would accept)
Authorization - "Basic " + “ThePasswordAsText”
Hopefully this information will help others.
please share the for the documentation
whats the meaning of string format , {0} , ? , {1} ,in_ApiAddress ,local_Matches(0), Groups(“iocode”)
String.Format(“http://{0}/api/distribu_orders?po-number={1}”, in_ApiAddress, local_Matches(0).Groups(“iocode”).ToString)
String.Format("Hello {0}", "world") will print “Hello world”
You can search the Microsoft Vb.NET reference for the method documentation ![]()
Thanks for responding
also for any URL how we get the url that works in the postman ?
like is it the same , to get the output from postman ?
or it also changes with the GET PUT POST method ?
@loginerror can you please please help with xaml for the following. Facing several issues:

Hi @loginerror
I have an excel sheet which has some data i am using that variable (dtData) to convert it into json (Jsonconvert.serializeObject(dtData))
and after converting it to json i have to sent it via http request activity so how can I pass these data, seeing that conversion of dttable to json has a variable string. Can you please help me?






