<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: Get SOAP data using HTTP Request in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Get-SOAP-data-using-HTTP-Request/m-p/58650#M12450</link>
    <description>Hi, Nicki,&lt;BR /&gt;&lt;BR /&gt;I created my own C# implementation of HTTP Request which I have fully under my control and I can do whatever I want. Are you familiar with C#? If you want to help you can contact me privately and we can sort it out.&lt;BR /&gt;&lt;BR /&gt;The initialization of webrequest is like this (and you can see SOAPAction parameter which was crucial in my integration with IBM Content Manager)&lt;BR /&gt;&lt;BR /&gt;public static System.Net.HttpWebRequest CreateWebRequest(string url)&lt;BR /&gt;{ &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; System.Net.HttpWebRequest webRequest = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(url);&amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; webRequest.Headers.Add("SOAPAction","");&amp;nbsp; &amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; webRequest.ContentType = "text/xml;charset=\"utf-8\"";&amp;nbsp; &amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; webRequest.Accept = "text/xml";&amp;nbsp; &amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; webRequest.Method = "POST";&amp;nbsp; &amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; return webRequest;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Zdenek&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Zdeněk Kabátek&lt;BR /&gt;Head of Professional Services&lt;BR /&gt;NEOOPS&lt;BR /&gt;Europe/Prague&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 10 Jan 2020 13:54:00 GMT</pubDate>
    <dc:creator>zdenek.kabatek</dc:creator>
    <dc:date>2020-01-10T13:54:00Z</dc:date>
    <item>
      <title>Get SOAP data using HTTP Request</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Get-SOAP-data-using-HTTP-Request/m-p/58649#M12449</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I'm trying to utilize a SOAP based Web API, using the HTTP Request action.&lt;BR /&gt;Unfortunately it's not possible to use the Web Services directly.&lt;BR /&gt;&lt;BR /&gt;I can get the data I want by using the cURL command below - some data are redacted:&lt;BR /&gt;curl -X POST -H "Content-Type: text/xml" -H 'SOAPAction: "http://www.website.tld/2019/01/api/IHelloApiV1/SayHello"' --data-binary @request.xml &lt;A href="https://www.website.tld/website/943/api/hello/v1?wsdl" target="test_blank"&gt;https://www.website.tld/website/943/api/hello/v1?wsdl&lt;/A&gt; --user username:password.&lt;BR /&gt;The contents of the request.xml file is as follows:&lt;BR /&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://www.website.tld/2019/01/api"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;soapenv:Header/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;soapenv:Body&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;api:SayHello&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;api:name&amp;gt;Nicki&amp;lt;/api:name&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/api:SayHello&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/soapenv:Body&amp;gt;&lt;BR /&gt;&amp;lt;/soapenv:Envelope&amp;gt;&lt;BR /&gt;&lt;BR /&gt;In Blue Prism, I have configured the HTTP Request action like this:&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="13308.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/13471i8A1CB4E09484E68A/image-size/large?v=v2&amp;amp;px=999" role="button" title="13308.png" alt="13308.png" /&gt;&lt;/span&gt;&lt;BR /&gt;However, I do recieve this error: &lt;BR /&gt;"The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None)"&lt;BR /&gt;&lt;BR /&gt;My guess would be something with the&amp;nbsp;SOAPAction part of the cURL command, missing in Blue Prism, but I'm not by any means an SOAP expert &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Can anyone spot my mistake?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nicki Kristensen &lt;BR /&gt;RPA Developer&lt;BR /&gt;IBC International Business College&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Jan 2020 12:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Get-SOAP-data-using-HTTP-Request/m-p/58649#M12449</guid>
      <dc:creator>NickiKristensen</dc:creator>
      <dc:date>2020-01-07T12:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: Get SOAP data using HTTP Request</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Get-SOAP-data-using-HTTP-Request/m-p/58650#M12450</link>
      <description>Hi, Nicki,&lt;BR /&gt;&lt;BR /&gt;I created my own C# implementation of HTTP Request which I have fully under my control and I can do whatever I want. Are you familiar with C#? If you want to help you can contact me privately and we can sort it out.&lt;BR /&gt;&lt;BR /&gt;The initialization of webrequest is like this (and you can see SOAPAction parameter which was crucial in my integration with IBM Content Manager)&lt;BR /&gt;&lt;BR /&gt;public static System.Net.HttpWebRequest CreateWebRequest(string url)&lt;BR /&gt;{ &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; System.Net.HttpWebRequest webRequest = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(url);&amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; webRequest.Headers.Add("SOAPAction","");&amp;nbsp; &amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; webRequest.ContentType = "text/xml;charset=\"utf-8\"";&amp;nbsp; &amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; webRequest.Accept = "text/xml";&amp;nbsp; &amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; webRequest.Method = "POST";&amp;nbsp; &amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; return webRequest;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Zdenek&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Zdeněk Kabátek&lt;BR /&gt;Head of Professional Services&lt;BR /&gt;NEOOPS&lt;BR /&gt;Europe/Prague&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Jan 2020 13:54:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Get-SOAP-data-using-HTTP-Request/m-p/58650#M12450</guid>
      <dc:creator>zdenek.kabatek</dc:creator>
      <dc:date>2020-01-10T13:54:00Z</dc:date>
    </item>
  </channel>
</rss>

