<?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: Authentication type for  cl_http_client=&amp;gt;create_by_url in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-type-for-cl-http-client-gt-create-by-url/m-p/1597566#M268347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can just use the following code sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;concatenate
'http://&amp;lt;siteaddress&amp;gt;/&amp;lt;loginpage&amp;gt;?&amp;lt;useridparameternameincalledsystem&amp;gt;='
'useridtobepassedtocalledsystem' '&amp;amp;&amp;lt;passwordfilenameincalledsystem&amp;gt;=&amp;lt;password&amp;gt;' into wf_String .

call method cl_http_client=&amp;gt;create_by_url
    exporting
      url                = wf_string
    importing
      client             = http_client
    exceptions
      argument_not_found = 1
      plugin_not_active  = 2
      internal_error     = 3
      others             = 4.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where did you find that its using SSL?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in case if the called url required ssl certificate, then you can to download the certificate from that system and load it in ABAP system and use the sslid to pass it to create_by_url method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 Oct 2006 08:42:15 GMT</pubDate>
    <dc:creator>athavanraja</dc:creator>
    <dc:date>2006-10-15T08:42:15Z</dc:date>
    <item>
      <title>Authentication type for  cl_http_client=&gt;create_by_url</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-type-for-cl-http-client-gt-create-by-url/m-p/1597564#M268345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to understand how to set authentication type&lt;/P&gt;&lt;P&gt;for "cl_http_client=&amp;gt;create_by_url".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is currently defaulting to client certificate.&lt;/P&gt;&lt;P&gt;ICM log: "auth_type=3 (USE_CLIENT_CERT)) "&lt;/P&gt;&lt;P&gt;I need to set to no authentication as server requires password/user as url parms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use an RFC dest I can set to "No logon" but then I cannot append user/pass to the url.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appeciated &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Allan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2006 05:42:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-type-for-cl-http-client-gt-create-by-url/m-p/1597564#M268345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-13T05:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication type for  cl_http_client=&gt;create_by_url</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-type-for-cl-http-client-gt-create-by-url/m-p/1597565#M268346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try setting the background user...and providing the username and password there itself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2006 17:39:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-type-for-cl-http-client-gt-create-by-url/m-p/1597565#M268346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-13T17:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication type for  cl_http_client=&gt;create_by_url</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-type-for-cl-http-client-gt-create-by-url/m-p/1597566#M268347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can just use the following code sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;concatenate
'http://&amp;lt;siteaddress&amp;gt;/&amp;lt;loginpage&amp;gt;?&amp;lt;useridparameternameincalledsystem&amp;gt;='
'useridtobepassedtocalledsystem' '&amp;amp;&amp;lt;passwordfilenameincalledsystem&amp;gt;=&amp;lt;password&amp;gt;' into wf_String .

call method cl_http_client=&amp;gt;create_by_url
    exporting
      url                = wf_string
    importing
      client             = http_client
    exceptions
      argument_not_found = 1
      plugin_not_active  = 2
      internal_error     = 3
      others             = 4.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where did you find that its using SSL?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in case if the called url required ssl certificate, then you can to download the certificate from that system and load it in ABAP system and use the sslid to pass it to create_by_url method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Oct 2006 08:42:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-type-for-cl-http-client-gt-create-by-url/m-p/1597566#M268347</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-10-15T08:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication type for  cl_http_client=&gt;create_by_url</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-type-for-cl-http-client-gt-create-by-url/m-p/1597567#M268348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like I was a bit confused about what was actually happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After further testing, it seems that if I call  &lt;/P&gt;&lt;P&gt;cl_http_client=&amp;gt;create_by_destination (via rfc connection) &lt;/P&gt;&lt;P&gt;then the certificate is used.&lt;/P&gt;&lt;P&gt;But if I call&lt;/P&gt;&lt;P&gt;cl_http_client=&amp;gt;create_by_url( EXPORTING url = url&lt;/P&gt;&lt;P&gt;then it can't seem to find the certificate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have setup the certs for both "SSL client standard" and&lt;/P&gt;&lt;P&gt;"SSL client anonymous".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the feeling I am missing something obvious &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 01:59:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-type-for-cl-http-client-gt-create-by-url/m-p/1597567#M268348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T01:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication type for  cl_http_client=&gt;create_by_url</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-type-for-cl-http-client-gt-create-by-url/m-p/1597568#M268349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Raja,&lt;/P&gt;&lt;P&gt;I wasn't passing the SSL_ID, as it isn't required for &lt;/P&gt;&lt;P&gt;create_by_destination I assumed I wouldn't need to specify &lt;/P&gt;&lt;P&gt;that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 05:49:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-type-for-cl-http-client-gt-create-by-url/m-p/1597568#M268349</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T05:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication type for  cl_http_client=&gt;create_by_url</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-type-for-cl-http-client-gt-create-by-url/m-p/1597569#M268350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes you are right, while using create_by_destination you dont need that as that would be sepecified in the RFC destination itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 05:59:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-type-for-cl-http-client-gt-create-by-url/m-p/1597569#M268350</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-10-18T05:59:14Z</dc:date>
    </item>
  </channel>
</rss>

