WebService Call Fails for Communication Users

Hi
I am calling a BAPI through web service in VB.NET windows application.
The application works fine with Dialog users but when I use Communication User then it thows this message.
The Request Failed with HTTP Status 401: Unauthorized
Where as if i call the same BAPI through RFC with for this Communication User it is successful.
What can be the reason ?
Regards
Rajendra

The Web Service uses the HTTP protocol, whereas the BAPI is using RFC protocol.
The reason for the "unauthorized" error in HTTP is that you need to embed the user / password combination into the web service URL (assuming you have set the Web Service authentication method to user / password).
Regards,
D.

Similar Messages

  • Tacacs authentication fails for one user account for only one switch

    Hi,
    I am having an scenario, where as Tacacs authentication fails for one user account for only one switch.
    The same user account works well for other devices.
    The AAA configs are same on every devices in the network.
    Heres the show tacacs output from the switch where only one user account fails;
                  Socket opens:        157
                 Socket closes:        156
                 Socket aborts:        303
                 Socket errors:          1
               Socket Timeouts:          2
       Failed Connect Attempts:          0
            Total Packets Sent:       1703
            Total Packets Recv:       1243
              Expected Replies:          0
    What could be the reason ?
    No errors on ACS server; same rights had been given to the user account.
    Thanks to advise.
    Prasey

    Hi there,
    Does the user get authenticated in the ACS logs?
    reports and activity----> failed attempts
    ro
    reports and activity----->  passed authentications
    That will help narrow it down.
    Brad

  • Webservice call failed during execution (SSL and certificates) on NetWeaver 7.30

    Hey experts,
    i need your help!
    We make webservice calls to sap me with our own software.
    We connect to our software via SSL and certificates e.g. https://host:50001/XMII/CM/POD/MEDialogsWeb.irpt
    At the beginning the software runs without any problems and than we become the following message on all our webservice:
    thats the webservice configurations
    (configuration - connectivity - single service administration):
    (configuration - security - authentication and single sign-on)
    if we restart the software after the error display, the webservice call runs successfully again.
    is it a timeout?
    can anybody help us?
    Thanks,
    Markus
    our system info:
    NetWeaver 7.30 Java
    SAP ME 6.0
    software runs log looks as following
    software doesn't runs log looks as following
    security Log Entry
    more info from security_00.0.log
    #2.0 #2014 06 06 14:51:17:136#+0200#Warning#/System/Security/WS#
    com.sap.ASJ.wssec.020142#BC-ESI-WS-JAV-RT#tc~sec~wssec~service#C0000A650AD826FF0000000100000BEC#3855850000000005#sap.com/me~ws#com.sap.engine.services.wssec.authentication#Guest#0##207092CAED7111E3A01A0000003AD5EA#23386e31ed7911e39d560000003ad5ea#23386e31ed7911e39d560000003ad5ea#0#Thread[HTTP Worker [@648881277],5,Dedicated_Application_Thread]#Plain##
    Received unsupported callback: com.sap.engine.interfaces.security.auth.SetLogonTicketCallback
    Received unsupported callback: com.sap.engine.lib.security.http.HttpSetterCallback
    Read data of type username and value  MEFLEX from wsse:Security header and set on module javax.security.auth.callback.NameCallback
    Read data of type username and value   from HTTP header and set on module javax.security.auth.callback.NameCallback
    Read data of type password and value  xxx from wsse:Security header and set on module javax.security.auth.callback.PasswordCallback
    Read data of type password and value  xxx from HTTP header and set on module javax.security.auth.callback.PasswordCallback
    Authentication for web service ShopOrderService, configuration ShopOrderService using security policy BASIC*SSO2*_*_*ws failed: Cannot authenticate the user.. (See SAP Note 880896 for further info).

    Hi,
    the authentication for the second call is failing. Have you tried suggest log level from note 880896 - Web Service authentication failure? I would also try to use something like SoapUI to test if the issue is caused by your application or something wrong on SAP side. Also coparing messages for the first and second calls might give you answer.
    Cheers

  • ODBC--connection to 'SQL Serverservername' failed for one user but not another

    In Win7, we're linking tables in an MS Access 2010 db to tables in a SQL Server 2008 R2 db. The driver user by the File dsn is SQL Server version 6.01.7601.17514 & we're using SQL Server Authentication.
    For some reason, one user gets the msg "ODBC--connection to 'SQL Serverservername' failed" before they're even asked for a password, but for other users, the prompt comes up and when they uncheck the Windows Auth box, they enter their password
    and connect successfully to the SQL Server db.  Both users have db_datareader access to the SQL Server db.
    I had the user that gets the error msg log onto my PC and they get the same error (yet it works for me.)
    This user was, however, able to successfully relink the tables, but then when we closed the access db and opened it again, the user got the "ODBC--connection..." error agin.
    I'm stumped as to why this is happening for one user.

    Hello Knellen,
    Please help to collect more log information regarding this issue, such as windows event log, SQL Sever log information. They are helpful for us to troubleshoot it.
    Regards,
    Elvis Long
    TechNet Community Support

  • SQL*Net over IPC fails for normal users

    When normal users try to use SQL*Net to log on to a local
    database on a Linux box, they get the message "ORA-12546:
    TNS:permission denied". An example of this would be the command:
    sqlplus scott/tiger@MG8
    The oracle unix account can execute the above without problems
    and when a normal user sets ORACLE_SID and omits the SQL*Net
    connect string it works fine.
    Oddly, this is only a problem for connections using the IPC
    protocol. If I omit the IPC section from my listener.ora
    (leaving only the TCP section), non-privileged users can log on
    to local databases through SQL*Net without problems.
    I suppose it's not a big deal (there's not that much overhead
    going through the TCP loopback port on Linux), but I'm wondering
    what's wrong. SQL*Net over IPC certainly works on Solaris.
    This is on a S.u.S.E 5.3 distribution of Linux.
    null

    Mark Gleaves (guest) wrote:
    : When normal users try to use SQL*Net to log on to a local
    : database on a Linux box, they get the message "ORA-12546:
    : TNS:permission denied". An example of this would be the
    : command
    : sqlplus scott/tiger@MG8
    : The oracle unix account can execute the above without problems
    : and when a normal user sets ORACLE_SID and omits the SQL*Net
    : connect string it works fine.
    Check that your oracle executable is SUID oracle and SGID dba?
    I'd have thought that would cause problems with bequeath
    connections, so perhaps not.
    Wierd error. You might try running an strace on the sqlplus to
    see what system call fails.
    -michael
    null

  • RFC SDK connect call fails for NW2004s SPS13 if password in lowercase

    Hi all,
    I am running a sample rfc program on solaris m/c.
    SAP server details
    2004s SPS13
    I am using a communication user to connect to server using RFC SDK.
    If i connect to the server with password in smaller case it gives aerror message
    "Name or password is incorrect"
    But if i give the password in capital case,it works fine.
    BAsically i have to create a user with acapital password to work fine on SPS13
    ON SPS12 it worked fine for lower case password.
    Best Regards
    Manoj

    Please note the header of this forum: "This forum is dedicated to all other development-related questions which are not directly addressed by other forums. This includes Business Objects SDKs, products, or technologies which do not fall under BusinessObjects Enterprise, BusinessObjects Edge, Crystal Reports Server, or Crystal Reports (for example Desktop Intelligence SDK, Universe Designer SDK, Portal Integration Kits, Java User Function Libraries, and other third party technologies or development languages). "
    I do not think you are using any of the products described above. Please post to the correct forum.
    Ludek

  • Organizational Forms Library FORM LOAD FAILS for one user

    I have a user who is unable to pull up any of the forms listed in the Organizational Forms Library under the Developer Tab within Outlook
    2010. Any other person on the same PC has no issues with the same thing. The user in question does not have any issues pulling up the same forms on any other PC.
    I suspect it was a profile issue so I logged in as admin then deleted the outlook folder under C:\Users\username\AppData\Local\Microsoft\Outlook
    for the user in question.
    Then logged back in as the user and let Outlook recreate the profile again. Still no go with being able to pull a form up.
    Any suggestions?
    Is there a registry key I should be playing with?

    Hi,
    Did the user get any error message?
    Outlook 2010 caches the names of the forms in the Exchange Organizational Forms Library. The cache expires every 24 hours. If a new form in the Organizational Forms Library has not been cached, Outlook displays an error. Please try to use the following
    registry to lower the timeout or disable it and then check the issue again.
    HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Forms\ClassNamesCache 
    DWORD: Timeout
    Decimal Value (in hours): 1 - 24
    DWORD: Disabled
    Value: 1
    For more information, please refer:
    http://www.slipstick.com/exchange/2010-exs/organizational-forms-library-exchange-2010/
    Regards,
    Steve Fan
    TechNet Community Support

  • MAC authentication failed for Wired Users

    Hi,
    I tried to configure MAC authentication for registed users by ACS. But failed. Need help.

    ok ok..i got ur point....please correct me the config steps:
    1. Added switch as aaa client into acs
    2. entered machine mac address into acs user-setup as both usename & password.
    3. in 64,65 & 81 (in bother group & user setup) choosed 64=vlan; 65=802; 81=authenticated_vlan_id
    4. in switch
    aaa new-model
    aaa authentication dot1x default group radius
    radius-server host acs_ip auth-port 1645 acct-port 1646 key ****
    dot1x system-auth-control
    int fa0/1
    switchport mode access
    dot1x mac-auth-bypass
    dot1x port-control auto
    dot1x reauthentication
    dot1x pae authenticator
    dot1x guest-vlan 900
    Note: Whenever i issue the command "port-control auto" the line protocol of the port goes down.
    5. in end machine disable ieee 802.1x authentication.
    I will try this setting tomorrow & update you accordingly.

  • Outlook 2013 on terminal server Search failes for all users

    we have a small comany with a new Windows 2012 Fileserver and Terminal Server.
    Office 2013 is installed and we use Office 365 - Exchange Online as our mailserver.
    We use Outlook with the Cached Exchange Mode ON. We have shared our mailboxes with our collegues.
    Indexstatus is complete for all the users.
    So far the information i have.  
    I suspect wrong permissions on the Windows Search Folders are the cause of my problems but where can i find the Windows Search Folders which are indexed (and shoot be accesable for the users).

    Winnie, thank you for your answer. 
    1. Make sure indexing is complete. ==> Index is complete
    2. Make sure Indexing Options are configured correctly ==> Indexing Options are configured correctly for the administrator, Outlook
    isn't configured in de Indexing options for the users (that might be the problem i guess)
    3. Make sure Outlook data is included in indexing==>
    Outlook Data is included in indexing
    See screenshots below:
    First screenshot are the Indexing Options as configured for the users, the seconde one are the indexing options for the administrator. I suspect there is my problem, but can't find the solution the solve this for the users.

  • ActionScript 3: WebService calls failing

    Hi guys,
    I am working on a Flash CS3/AS3 application that calls a server-side web service to retrieve/update data in the database. The code is simple and it works
    great. However, some users are reporting that while browsing through this Flash application their web service calls are failing and thus no data gets
    stored in the database. I am assuming probably a connection to the server gets lost while they are browsing. In this case the fault function also isn't
    called. Is there a way to detect this kind of error? Should I check and reinitialize the web service before making another web service call? Does anyone
    have any clue of what might be happening? Below is my code. Let me know if I am missing anything in the code.
    Thanks
    Code:
    var ws:WebService = new WebService();
    ws.wsdl = "http://localhost/Service.asmx?wsdl";
    ws.addEventListener("result", resultHandler);
    ws.addEventListener("fault", faultHandler);
    ws.loadWSDL();
    ws.RetrieveData(id);

    Hi Roger,
    I am experiencing a similar situation where a flash CS3/AS3 application using a similar code is calling a server side web service to retrieve/update data in the database. For some reason either a connection to the server gets lost or the web service call isn't successful and thus the fault function isn't called. Since you have asked this question a while back, I just wanted to know if you were able to resolve this issue?
    Adnan

  • OCI calls failing for Oracle 11g 11.1.0.7 (64 bit)

    Hi,
    I have a 32bit app which we build and compile in a 32 bit OS, we then deploy this in a 64 bit Windows 2008 R1 machine which has a 11g 64 bit DB;
    when the code make the OCI calls the app terminates.On debugging we found out that its failing to make OCI calls on the connect() method of a .cpp file.
    This connect code is a custom wrapper class created for OCI which only accepts a complete SQL statement mainly used for looking after rollback segments, etc.
    The code runs perfectly fine when we internally call the ORACMD of sqlplus and directly execute the sql from a script.
    It only fails when our code tries to connect to the DB and make OCI calls.
    I have also installed a 32 bit Oracle 11g Client 11.1.0.7 since I am using a 32 bit app.
    Is there any compatibility issues between these 2 versions or the dll's?
    Why is it failing while making OCI calls and is there any resolution?
    My machine and setup details:
    OS: Windows 2008 R1
    DB : Oracle 11g R1 11.1.0.7 (64 bit)
    Client: Oracle 11g R1 11.1.0.7 (32 bit)
    Our App: 32 bit
    ORACLE_HOME = // this is pointing to the 64 bit DB
    I tried pointing the oracle_home to the client still no go.
    Any suggestions on this will be appreciated.
    Regards
    Roy

    user13376823 wrote:
    how do i find that my database is using big file tablespace management or not ?
    SQL> select TABLESPACE_NAME,BIGFILE from dba_tablespaces;
    TABLESPACE_NAME                BIG
    SYSTEM                         NO
    UNDOTBS1                       NO
    SYSAUX                         NO
    USERS                          NO
    UNDOTBS2                       NO
    TEMP1                          NO
    TEMP3                          NO
    TEMP2                          NO
    8 rows selected.For tablespaces with smallfile datafile maximun datafile size is 32GB, where as bigfile datafile size is 8 exabytes.

  • Creation of Public Sector Planning application fails for LDAP user

    The environment is on Windows 2008 R2 & EPM 11.1.2.2.302 of Planning. The creation of "general" planning applications works fine, regardless of the method of creation, Native User/LDAP User or Classic/EPMA. The creation of Public Sector Planning application using Classic Administration fails when using an LDAP user.
    It works when using a Native User. It also works fine if EPMA is used, for both Native as well as LDAP users.
    Our developers are not comfortable with EPMA yet, so want/need the ability to create the applications using Classic Administration.
    Looking at the Planning sysout log, the only error message indicates a timeout with Calculation Manager:
    Calc manager rules initialization failed. Please load and deploy the rules from Calc Manager UI
    ERROR:Error while loading rules in Calc Manager. <HTML><HEAD><TITLE>Weblogic Bridge Message</TITLE></HEAD> <BODY><H2>Failure of server APACHE bridge:</H2><P><hr>No backend server available for connection: timed out after 10 seconds or idempotent set to OFF or method not idempotent.<hr> </BODY></HTML>
    Calculation Manager itself seems to be working fine.
    Any suggestions/thoughts anyone?
    Thanks,
    Andy

    Hi Vivek,
    The LDAP port is open to all the servers in the environment. LDAP users have no issues logging in to any of the tools that they have access to.
    I think it has something to do with how Classic Planning passes the security token to Calculation Manager for an LDAP user. For a "general" Planning app, there is no evidence of such a transfer, because the Rules are created after the app has been created. And there the user logs in directly to Calculation Manager to create the rules.
    When using EPM Architect, it would lead to reason that such a token is also passed, however, that mechanism does not seem to have any trouble.
    This is the first time I am using a pre-packaged application like PSB, and have so far worked with only with "general" Planning apps. Wanted to see if anyone else has created PSB apps using external users successfully, so I can trade environment notes and may be come to a cause/solution.
    Thanks,
    Andy

  • AppV 5 HF5 packages using /appve fail for regular users on Win 7

    Hello,
    I've been struggling with some App-V packages that fail to start on Win 7 machines provided trough Xendesktop.
    All packages in question make use of locally installed Internet Explorer 9 and /appve switch  :
    "C:\Program Files (x86)\Internet Explorer\iexplore.exe"  /appvve:D89030F5-436B-4A82-A104-A5E5E8089824_6C521CD6-5116-4587-B9E8-E386075F7A79
    All other streamed apps can be started fine (the ones not using /appve switch)
    If I run this package as  a regular user I always get an error that "Internet Explorer has stopped working" and a error message in the application log:
    Faulting application name: iexplore.exe, version: 9.0.8112.16599, time stamp: 0x5473964b
    Faulting module name: AppVEntSubsystems32.dll, version: 5.0.3404.0, time stamp: 0x537e6b1f
    Exception code: 0xc0000005
    Fault offset: 0x00084444
    Faulting process id: 0xecc
    Faulting application start time: 0x01d0348e2b754fcb
    Faulting application path: C:\Program Files (x86)\Internet Explorer\iexplore.exe
    Faulting module path: C:\Program Files\Microsoft Application Virtualization\Client\Subsystems\AppVEntSubsystems32.dll
    Report Id: 6adc7087-a081-11e4-96bf-001dd8f22044
    If I start the application on the same machine using a domain account user the app starts fine.
    Internet explorer works fine for the regular users.
    On a machine running  Windows server 2008 R2 the same user can start the packages without any problems.
    I've been looking at the permissions needed but can't seem to get to the end of this...
    Has anyone seen the issue or has any clue what I can do?
    Thanks!

    It looks like some others have had issues with the /appvve switch in Citrix environments too:
    http://discussions.citrix.com/topic/348733-publishing-app-v-50-app-with-appvve-switch/
    I wonder if you've approached Citrix about this? I would assume it's something about the way Citrix pass the command
    PLEASE MARK ANY ANSWERS TO HELP OTHERS Blog:
    rorymon.com Twitter: @Rorymon

  • "Go to Report" action fails for specific user.

    Hi all,
    I have Sharepoint 2010 in Integrated Mode with Reporting Services 2008 R2 running in ReportViewer webparts.
    In many reports I have a "Go to Report" action that work fine.
    Until now all of our users were able to use the "Go to Report" action. However, now for the first time there is a user that is not taken to the target report, but instead is taken to the site default page (the url that is also displayed when I
    mouse-over the link). I have tested and in my browser (same version) it works ok.
    Is there a setting in IE9 that can prevent or interrupt the Go to Report action?
    Many thanks. 
    Jacco Bloemendaal

    Hi Jacco,
    Please check if this issue also persist in other browser. It is may be due to compatibility issue. Please refer to the following steps to set browser open all intranet sites with Compatibility View mode automatically.
    1. Launch the IE 9, and press Alt+T to select the Tools.
    2. Click Compatibility View settings.
    3. Check the “Display intranet sites in Compatibility View” option, and click Close.
    There is a similar issue, you can refer to it.
    https://connect.microsoft.com/SQLServer/feedback/details/671138/ssrs-2008-r2-sharepoint-2010-ie9-no-export-submenus
    Hope this helps.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Screen sharing fails for one user

    Hi
    I have an iMac and MacBook Pro, both running Snow Leopard 10.6.5. I have enabled screen sharing on the iMac, and can log in with one of my other user accounts (Greg). This works fine.
    When i am on my MBP, logged in as Joe, and logged in as Joe on the iMac, i always get an "Authentication failed", but i can connect as Greg ok... I thought it was to do with the currently logged in user having the same short name, so i tried logging in as Greg on the iMac, and connecting as Joe from the MBP, but still no success.
    Is there anything i can check?
    Thanks
    Joe.

    Identical short user names on the different computers shouldn't be a problem - I have multiple Macs with identical short user names and have no problem.
    As an aside, you don't need to already be logged in on the other computer; the VNC connection, if VNC login is permitted for that iMac user, would simply present the remote VNC client with its login screen, at which point you could login to the iMac as any user that you wanted, even though you made the VNC connection as someone else. Similarly, regardless of who is at the console on the iMac, the authorized VNC client user on the MBP can connect and view(/control) the screen(/keyboard/mouse).
    In the iMac's Sys Prefs Sharing, when Screen Sharing is highlighted, what does it say for "Allow Access for:"?
    In the iMac's Sys Prefs Security under the Firewall tab, is the Firewall on? If so, in "Advanced..." is the "Block All Incoming Connections" checkbox unchecked? In the application list there, what does it say about incoming connections for Screen Sharing?
    Finally, the iMac and the MBP are on the same home LAN, i.e., the MBP is not having to traverse through your home router's firewall, correct?

Maybe you are looking for

  • How to validate the  FI-AR& AP& FI-GL   and CO-PA extractor in R3

    Hi, I would like to do the integration testing in R/3 and BW. How to validate  Standard FI-AR& AP& FI-GL  and CO-PA extractor in R/3. Snapshot result of RSA3 and the tables? What are the tables and extractors need to be validate for FI-AR& AP& FI-GL 

  • Sending command strings to a Sorensen (Ametek / Xantrex) power supply model XDL 35-5TP

    Hi all, I am using the above mentioned power suply to control test units during end of line tests.  I can do all the normal funtions through the manufacturers supplied library of vi's.  The problem is, I need to make sure the voltage being seen by th

  • Unable to setup rediffmail on my a1430

    Have tried everything to get my rediffmail account working. Just does not seem to get through. Shows some error or the other.

  • OnSubmit content replace

    I seem to have a problem. Looking at the example here: Adobe Example... so does Adobe. (All IE7). I wanted to use Spry validation and submit the form to an ASP page which builds the html fragment for a response. I want the response to replace the for

  • Why does my Firefox Persona keep disappearing!?

    I'm on Windows 7, using Firefox version 3.6.15 - Everytime I re-boot my PC and start up Firefox the persona I've had applied is gone. I checked my Add-ons / Themes, which do show the theme when I apply it to Firefox, but it's gone after re-booting my