<?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 when accessing from Flex in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication-when-accessing-from-flex/m-p/3594127#M865395</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Hemachandran.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could say please, how you have reached the change in the method get and pos in the flexion. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to change in the SICF but it has not left me. It leaves a message to me that says: The service cannot be modified by means of this transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Apr 2013 14:13:57 GMT</pubDate>
    <dc:creator>former_member261145</dc:creator>
    <dc:date>2013-04-18T14:13:57Z</dc:date>
    <item>
      <title>Web Service authentication when accessing from Flex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication-when-accessing-from-flex/m-p/3594120#M865388</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 have a Flex application that accesses data in SAP via a BAPI web service.  I have effectively turned off authentication by specifying a username and password in SICF on the sap-bc-soap-wsdl11 service.  However, I won't be allowed to do this in production.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I want to be able to send across the username and password from flex to authenticate properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;private function loadStuff():void {
	wsBAPI.wsdl = "http://bizaps88.bz1.com:8000/sap/bc/soap/wsdl11?services=BAPI_CUSTOMER_GETDETAIL2&amp;amp;sap-client=800";
	var opBAPI:Operation = Operation(wsBAPI.getOperation("BAPI_CUSTOMER_GETDETAIL2"));
	opBAPI.resultFormat="e4x";
	opBAPI.service.setCredentials("MYUSER","MYPASS");
	wsBAPI.addEventListener(FaultEvent.FAULT, handleFault);
	wsBAPI.addEventListener(LoadEvent.LOAD, handleLoad);
	wsBAPI.addEventListener(ResultEvent.RESULT, handleResult);
	wsBAPI.loadWSDL();
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I get a "Authentication not supported on DirectHTTPChannel (no proxy)" error when I run this.  It seems to suggest that I need to go back and create proxies for all my web service calls, but I don't have time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone had a similar issue?  Did they manage to get authentication working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 14:53:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication-when-accessing-from-flex/m-p/3594120#M865388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-27T14:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service authentication when accessing from Flex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication-when-accessing-from-flex/m-p/3594121#M865389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i havent tried this (opBAPI.service.setCredentials("MYUSER","MYPASS");) approach. however,you can pass the user id (sap-user) and password (sap-password) along with the wsdl url for authentication. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you had mentioned, that you wont be allowed to set the default lon on info in SICF. is it a policy decision or do you have problems setting that up in production?&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, 30 Mar 2008 10:42:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication-when-accessing-from-flex/m-p/3594121#M865389</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2008-03-30T10:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service authentication when accessing from Flex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication-when-accessing-from-flex/m-p/3594122#M865390</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;&lt;/P&gt;&lt;P&gt;That is interesting that you can pass the username and password credentials in the URL....I guess the only issue is the security.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem with setting the username and password in SICF was a policy one - we want to have quite tight security and don't want to simply expose the web service to anybody.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What we have decided to do in the end is to use Web Service Security - we finally got this working....of course this involves setting anonymous login in SICF using a service user, but the credentials are then passed in the SOAP header and there are even some options for encrypting those.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tristan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 07:15:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication-when-accessing-from-flex/m-p/3594122#M865390</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T07:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service authentication when accessing from Flex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication-when-accessing-from-flex/m-p/3594123#M865391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tristan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are also facing the same problem. Could you please tell me, How you have achived this. &lt;/P&gt;&lt;P&gt;How you have decoded at the time of calling SICF service?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Hemachandran.R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 10:05:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication-when-accessing-from-flex/m-p/3594123#M865391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-13T10:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service authentication when accessing from Flex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication-when-accessing-from-flex/m-p/3594124#M865392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tristan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same problem, you can show your solution, thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used no authentication in soamanager, but even so it requests the access to me to server sap also I tried in transaction SICF, but it did not let to me modify the service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please, I need your aid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 05:50:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication-when-accessing-from-flex/m-p/3594124#M865392</guid>
      <dc:creator>former_member261145</dc:creator>
      <dc:date>2013-04-10T05:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service authentication when accessing from Flex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication-when-accessing-from-flex/m-p/3594125#M865393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hemachandran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You managed to solve the problem that appeared to you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 14:24:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication-when-accessing-from-flex/m-p/3594125#M865393</guid>
      <dc:creator>former_member261145</dc:creator>
      <dc:date>2013-04-10T14:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service authentication when accessing from Flex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication-when-accessing-from-flex/m-p/3594126#M865394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes problem solved for us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have changed the log on procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Authentication we have changed to internet user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the logon procedure, we have changed in the below sequence.&lt;/P&gt;&lt;P&gt;Logon Through HTTP Fields&lt;/P&gt;&lt;P&gt;Basic Authentication&lt;/P&gt;&lt;P&gt;Logon Through SSL Certificate&lt;/P&gt;&lt;P&gt;SAP Logon/Assertion Ticket&lt;/P&gt;&lt;P&gt;SAP RFC Logon&lt;/P&gt;&lt;P&gt;Logon Through Service Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also in flex we have to some change in get or post method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Hemachandran.R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 14:32:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication-when-accessing-from-flex/m-p/3594126#M865394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-12T14:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service authentication when accessing from Flex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication-when-accessing-from-flex/m-p/3594127#M865395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Hemachandran.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could say please, how you have reached the change in the method get and pos in the flexion. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to change in the SICF but it has not left me. It leaves a message to me that says: The service cannot be modified by means of this transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 14:13:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication-when-accessing-from-flex/m-p/3594127#M865395</guid>
      <dc:creator>former_member261145</dc:creator>
      <dc:date>2013-04-18T14:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service authentication when accessing from Flex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication-when-accessing-from-flex/m-p/3594128#M865396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had posted a document on Webservice consumption scenario in flex,which talks about the posted &lt;/P&gt;&lt;P&gt;thread topic..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/docs/DOC-37791"&gt;http://scn.sap.com/docs/DOC-37791&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nandi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 10:29:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-service-authentication-when-accessing-from-flex/m-p/3594128#M865396</guid>
      <dc:creator>former_member197425</dc:creator>
      <dc:date>2013-07-10T10:29:29Z</dc:date>
    </item>
  </channel>
</rss>

