<?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: Web Service Authentication in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087188#M732180</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be because you havent mentioned the sap-client in the url, its going to a default client and the password you are providing is for a different client&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Nov 2007 19:10:44 GMT</pubDate>
    <dc:creator>athavanraja</dc:creator>
    <dc:date>2007-11-19T19:10:44Z</dc:date>
    <item>
      <title>Web Service Authentication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087187#M732179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I am trying to authenticate from Flex. I have attached the credentials to the WSDL (i.e. ?wsdl=1.1&amp;amp;sap-user=&amp;lt;username&amp;gt;&amp;amp;sap-password=&amp;lt;password&amp;gt;) and I have also tried using the setRemoteCredentials()  and setCredentials methods. None of them are authenticating as I still recieve a popup box asking for credentials or a Stream Error. Below is a snippet of what I have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;service.wsdl ="http://abcde:8000/sap/bc/srt/rfc/sap/z_ws_service?wsdl=1.1&amp;amp;sap-user="&lt;EM&gt;userName&lt;/EM&gt;"sap-password="+password;&lt;/P&gt;&lt;P&gt;service.ZDpGetUserInfo.resultFormat="e4x";&lt;/P&gt;&lt;P&gt;service.addEventListener(LoadEvent.LOAD, userInfoLoad);&lt;/P&gt;&lt;P&gt;service.addEventListener(ResultEvent.RESULT, userInfoResult);&lt;/P&gt;&lt;P&gt;service.addEventListener(FaultEvent.FAULT, faultHandler);&lt;/P&gt;&lt;P&gt;service.loadWSDL();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also does not work with...&lt;/P&gt;&lt;P&gt;service.wsdl ="http://abcde:8000/sap/bc/srt/rfc/sap/z_ws_service?wsdl=1.1";&lt;/P&gt;&lt;P&gt;service.setRemoteCredentials(userName, password);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas? If I set a service account as the user in "Logon Data" in the Maintain Service (sicf) transaction, it works fine, but I want users to authenticate individually and not use the service account.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 18:31:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087187#M732179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T18:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service Authentication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087188#M732180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be because you havent mentioned the sap-client in the url, its going to a default client and the password you are providing is for a different client&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 19:10:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087188#M732180</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-11-19T19:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service Authentication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087189#M732181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When specifying the client in the URL, I have the same issues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 19:17:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087189#M732181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T19:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service Authentication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087190#M732182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in sicf , is the logon data required check box is checked?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(ps: i currently do not have access to system, but can check it up and let you know tomorrow)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Durairaj Athavan Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 19:20:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087190#M732182</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-11-19T19:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service Authentication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087191#M732183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 19:27:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087191#M732183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T19:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service Authentication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087192#M732184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just check the check box "All Logons" and try it should take the uid/pwd passed thru url and should not prompt for authentication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 05:29:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087192#M732184</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-11-20T05:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service Authentication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087193#M732185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ECC6, in the "Create/Change" service area inside "Maintain Service" (sicf), there are no check boxes named "All Logins". In the logon data tab, the closest thing would be the "Procedure" drop down which contains "Required with Logon Data" (tried), "Alternative Logon Procedure", "Required With Client Certificate (SSL), and "Standard Procedure" (tried).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 16:24:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087193#M732185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-20T16:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service Authentication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087194#M732186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry about the delay. in my case i am using a standard login and i dont have the problem you have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to simulate your case, if successful, will post the results here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2007 19:23:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087194#M732186</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-11-21T19:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service Authentication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087195#M732187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Thanks for the help, I appreciate it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2007 20:23:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087195#M732187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-21T20:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service Authentication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087196#M732188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be FQDN is the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try setting up the Fully Qualified Domain Name for you server and check again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;more on FQDN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://wiki.sdn.sap.com/wiki/display/BSP/Fully" target="test_blank"&gt;https://wiki.sdn.sap.com/wiki/display/BSP/Fully&lt;/A&gt;&lt;EM&gt;Qualified&lt;/EM&gt;Domain&lt;EM&gt;Name&lt;/EM&gt;%28FQDN%29&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Nov 2007 07:06:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087196#M732188</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-11-24T07:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service Authentication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087197#M732189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been using a fully qualified domain name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 14:27:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087197#M732189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T14:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service Authentication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087198#M732190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dennis - &lt;/P&gt;&lt;P&gt;I got the authentication stuff to work easily using the sap-username on the end of the WSDL.  I think the syntax you are using is wrong in your example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;?wsdl=1.1&amp;amp;sap-user="+userName+"sap-password="+password;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;should be:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;?wsdl=1.1&amp;amp;sap-user="+userName+"&amp;amp;sap-password="+password;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;That worked for me.  The set[Remote]Credentials methods have nothing to do with what you are trying, they are for LiveCycle Data services.  There is another more secure way to do this which is to base-64 encode the username and password and add it to the header of the HTTP request but, that is a bit cumbersome as if the U/P is wrong there is no easy way to notify the user.&lt;/P&gt;&lt;P&gt;I never do it the way you are showing here though, I simply put the SWF in the Mime repository and make sure you need a u/p to access it.  When the user does their normal login thing their browser will get the MYSAPSSO2 ticket allowing them to use any webservices you have SSO configured for.  This way is much cleaner and you don't have to worry about authorization in your Flex app that is consuming WebServices the browser handles it for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 20:49:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication/m-p/3087198#M732190</guid>
      <dc:creator>former_member10945</dc:creator>
      <dc:date>2007-11-28T20:49:08Z</dc:date>
    </item>
  </channel>
</rss>

