WS Security with ABAP 6.40

I tried to configure an ABAP Web Service with WS Security:
On the Web service definition I set basic authentication, no transport guarantee.
On the Web Service configuration I added WSS profiles for user name checks (no date). In the ICF I configured an anonymous login user (Web user without any authorization)
I did the same configuration on the client side:
Proxy: basic authentication
logical port: WSS profiles for user name and PW.
When I test the Web Service I get the following error: "SOAP Runtime: Exception message: Unexpected element -el=html ns="
Can I use WS Security to implement a login check for a specific Web Service or do I always need to configure digital signatures?
Many thanks for any hint!
Best regards,
Birgit

Hi Birgit -
Sorry to follow up on this so late, but I'm now hitting the exact same error that you got 4 years ago!  Did you ever work past this message?  Would you be willing to provide any hints?
Thanks so much for your help!
Abby

Similar Messages

  • WS-Security with ABAP RFC

    I want to use a signature and encryption with an ABAP RFC (e.g. BAPI_CUSTOMER_GETDETAIL2). How can I do that? Has anybody a documentation about that?
    thanks in advance

    Hi Birgit -
    Sorry to follow up on this so late, but I'm now hitting the exact same error that you got 4 years ago!  Did you ever work past this message?  Would you be willing to provide any hints?
    Thanks so much for your help!
    Abby

  • Question on security in ABAP program with ITS. Please help!

    Hi Experts,
            I have a question on security in ABAP program.
    I have a ABAP program which has a transaction attached.
    I have added authorization check in ABAP program(Progran level security).
    I have also attached the authorization object to the transaction.(Transaction level security)
    If an end user runs the transactionm, then which authorization check will fire first? Will it be transaction level?
    If I have web enabled my ABAP program via SICF (in other words, ITS). Then when I try to run my ITS service in the browser will the transaction level authorization fire? or Will the program level authorization fire?
    Please help me understand this security aspect.
    Thanks
    Gopal

    <i>I have added authorization check in ABAP program(Progran level security).</i>
    i assume you have coded call authority within the program.
    <i>If an end user runs the transactionm, then which authorization check will fire first?</i>
    if he calls the transaction, then first authorization attached to the transaction will be checked.
    but if he executes the program attached to the transaction, then the authorization attached to the transaction dosent help here, the one coded in side the program is checked.
    <i>If I have web enabled my ABAP program via SICF (in other words, ITS).</i>
    it depends,
    if you are calling your transaction like
    webgui/?~transaction=<tcode> then first tcode level authorization.
    if you generate the templates for the program and callign the same, then i guess its progam level. (i need to check this)
    Regards
    Raja

  • Web Service Security with SAML - Invalid XML signature

    Hello together,
    we want to build a scenario where we want to use Web Service Security  with SAML.
    The scenario will be
    WS Client (Java Application) -> WS Adapter -> Integration Engine ->  WS Adapter-> CRM (Web AS ABAP 7.01 SP 3)
    SAP PI release is 7.11 (SP Level 4)
    We want to use the SAML Authentification from WS Client to PI and from PI to Web AS ABAP.
    The SAML authentifications between the WS Client and PI works when there is no SAML auth between PI and CRM.
    But we get following error at calling the CRM system when we want to communicate with SAML:
      <E_TEXT>CX_WS_SECURITY_FAULT:Invalid XML signature</E_TEXT>
    Has somebody an idea of the possible reason for the error.
    Thanks in advance
    Stefan

    Error Messages in the Trace/Log Viewer:
    CX_WS_SECURITY_FAULT : Invalid XML signature | program: CL_ST_CRYPTO==================CP include: CL_ST_CRYPTO==================CM00G line: 48
    A SOAP Runtime Core Exception occurred in method CL_ST_CRYPTO==================CM00G of class CL_ST_CRYPTO==================CP at position id 48  with internal error id 1001  and error text CX_WS_SECURITY_FAULT:Invalid XML signature (fault location is 1  ).
    Invalid XML signature

  • White Paper: End-to-End Client/Server Security with the Adobe Flash Platform

    Today we released a sorely needed white paper on end-to-end client/server security with the Adobe Flash Platform.  This information is directly applicable to the Adobe  LiveCycle family as well as Flash RIAs. 
    http://www.slinnbooks.com/books/enterprise/securityWhitePaper.shtml
    Thank you,
    Mike
    Michael Slinn
    http://micronauticsresearch.com
    http://slinnbooks.com

    Hai,
           Delete the certificate in the ABAP system and try importing the new certificate from the EP instance(ADS) and export into the ABAP and check...
    Thanks and Regards,

  • Is there a way to print a pdf, which is secured with password?

    I want to know a way to print pdf which is secured with password to print without throwing a error ?
    Instead it has to ask for a password and print..

    we need to have an associated application installed in the system for that particular fileYup.
    does javax.print api works for pdf files and word documents?Nope.
    There is something called (I think) iText which can handle PDF documents. No idea whether it includes a printing facility or not.
    db

  • Creation of IBASE (TA IB51) with ABAP

    Creation of IBASE (TA IB51) with ABAP
    Posted: Sep 29, 2005 8:47 AM      Reply      E-mail this post 
    Hello all,
    i want to create an IBASE with Instances (Materials) with Abap.
    It is possible to create the IBASE but not to create the instances. I have always an empty IBASE without materials.
    Can anybody help me
    Thanks a lot
    Markus
    Here is my coding:
    type-pools ibin .
    type-pools IBCO2.
    data: ibib_handle type i.
    data: E_IBASE_REC TYPE IBCO2_IBASE_REC.
    data: I_IBIB1 LIKE IBIB1.
    data: I_IBIBT1 LIKE IBIBT1.
    data: matobject type ref to cl_ibase_r3_material.
    data: i_PROCESS_REC TYPE IBXX_PROCESS_REC.
    data: C_INSTANCE_TAB TYPE IBCO1_INST_TAB1.
    data: c_inst_struct type ibco1_inst_rec1.
    CALL FUNCTION 'IB_COM_NEW'
    IMPORTING
    E_IBCO_HANDLE = ibib_handle.
    CALL FUNCTION 'IB_COM2_CREATE_IBASE'
    EXPORTING
    I_IBCO_HANDLE = ibib_handle
    I_IBTYP = 'Y1'
    IMPORTING
    E_IBASE_REC = E_IBASE_REC
    EXCEPTIONS
    IB_HANDLE_NOT_DEFINED = 1
    OTHERS = 2.
    clear: i_ibib1, i_ibibt1.
    move-corresponding e_ibase_rec-com to i_ibib1.
    move-corresponding e_ibase_rec-conf to i_ibib1.
    i_ibib1-ibase = e_ibase_rec-ibase.
    i_ibib1-extid = 'externer Name'.
    *i_ibib1-authg = 'E001'.
    i_ibibt1-ibase = e_ibase_rec-ibase.
    i_ibibt1-langu = sy-langu.
    i_ibibt1-descr = 'Beschreibung'.
    CALL FUNCTION 'IB_COM1_CHANGE_IBASE_ONLY'
    EXPORTING
    I_IBCO_HANDLE = ibib_handle
    I_IBIB1 = i_ibib1
    I_IBIBT1 = i_ibibt1
    EXCEPTIONS
    IB_HANDLE_NOT_DEFINED = 1
    OTHERS = 2.
    create object matobject exporting i_matnr = '000000000000602028'.
    clear i_process_rec.
    i_process_rec-activity = '1'.
    i_process_rec-ind_valfr = 'X'.
    i_process_rec-ind_valto = 'X'.
    i_process_rec-ind_sortf = 'X'.
    i_process_rec-ind_amount = 'X'.
    i_process_rec-ind_unit = 'X'.
    i_process_rec-ind_objtyp = 'X'.
    i_process_rec-ind_objid = 'X'.
    i_process_rec-ind_serno = 'X'.
    i_process_rec-ind_plant = 'X'.
    i_process_rec-ind_batch = 'X'.
    i_process_rec-ind_revlv = 'X'.
    i_process_rec-ind_deviceid = 'X'.
    i_process_rec-ind_posno = 'X'.
    refresh c_instance_tab.
    c_inst_struct-val-valfr = '20050929080000'.
    c_inst_struct-val-valto = '99991231235959'.
    c_inst_struct-com-amount = 1.
    c_inst_struct-com-unit = 'ST'.
    c_inst_struct-objtyp = '0002'.
    c_inst_struct-object = matobject.
    INSERT c_inst_struct INTO TABLE c_instance_tab.
    CALL FUNCTION 'IB_COM1_PROCESS_INSTANCE'
    EXPORTING
    I_IBCO_HANDLE = ibib_handle
    I_IBASE = e_ibase_rec-ibase
    i_moment = '20050929080000'
    I_PROCESS_REC = i_process_rec
    CHANGING
    C_INSTANCE_TAB = c_instance_tab
    EXCEPTIONS
    IB_HANDLE_NOT_DEFINED = 1
    IB_NO_ACTIVITY = 2
    IB_NOTHING_PROCESSED = 3
    IB_INCONSISTEND_DATA = 4
    IB_INSTALL_NOT_ALLOWED = 5
    OTHERS = 6.
    CALL FUNCTION 'IB_COM_SAVE_AND_FREE'
    EXPORTING
    I_IBCO_HANDLE = ibib_handle
    EXCEPTIONS
    IB_HANDLE_NOT_DEFINED = 1
    IB_NOT_SUCCESSFUL = 2
    OTHERS = 3
    write: e_ibase_rec-ibase.
    commit work.

    Remark: We have SAP R3 Release 4.6c

  • SAP ECC 6.0 EHP4 installation with ABAP+JAVA stack

    Hi,
    I need to install SAP ECC6.0 EHP4 with ABAP+JAVA stack on windiws server 2008 with oracle.
    I have read that for this, we need to install ECC 6.0 EHP4 ready and then upgrade to EHP4 using ehpi installer.
    I have found the documents seperately for ABAP and JAVA stack and not for ABAP+JAVA.
    I need clarifications on these.
    1.Do we need to install ABAP and JAVA instances seperately with EHP4 and then upgrade(In that case I have to install both instances on single host)?
    2.Should we give seperate <SID> for both instances and create seperate databases?
    3.Hard disk requirement for this set up.(We have 150 GB including C drive)
    4.Steps to perform after installing ECC6.0 EHP4 ready
    5.Please send me the doc. if anyone has
    Anyhelp would be highly appreciated.
    Regards,
    Surya

    > 1.In the installation document for EHP4 ready for SAP ERP 6.0 ABAP.It is mentioned that this installation contains only basic EHP4 for ERP 6.0 and we need to install additional EHP4  functionality in the SAP ERP 6.0 -EHP4 ready system.
    > It states that atleast Support pacakge stack (SPS) 1 of SHP4 needs to be installed.So If I install this stack using EHPi installer in the post installation activities my SAP ERP 6.0 EHP4 will be in place?Please confirm.
    Yes..
    >
    > 2.Can I install SAP SR3 with dual stack and upgaradte it directly to EHP4 at a time?
    Yes you can do it.....as SAP still supports dual stack ERP systems to EHP4
    >
    > Any solutions or suggestions from others also welcome.
    Why do u want a dual stack ECC ystem?? any specific requirement???
    Regards,
    Nirmal.K
    Edited by: nirmal konchada on Feb 2, 2011 12:16 PM

  • How to run others applications with abap commands

    Is there a mothed that can use it to run an application with abap statement?
    for example: how to open a text file in program with abap command?
    thank you very much.

    CALL FUNCTION '<b>WS_EXECUTE'</b>
    EXPORTING
      DOCUMENT                 = ' '
      CD                       = ' '
       <b>COMMANDLINE</b>              = ''
      INFORM                   = ' '
      <b> PROGRAM                 </b> = 'NOTEPAD'
      STAT                     = ' '
      WINID                    = ' '
      OSMAC_SCRIPT             = ' '
      OSMAC_CREATOR            = ' '
      WIN16_EXT                = ' '
      EXEC_RC                  = ' '
    IMPORTING
      RBUFF                    =
    EXCEPTIONS
      FRONTEND_ERROR           = 1
      NO_BATCH                 = 2
      PROG_NOT_FOUND           = 3
      ILLEGAL_OPTION           = 4
      GUI_REFUSE_EXECUTE       = 5
      OTHERS                   = 6
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Here...
    In the <b>CommandLine</b> you can give the path where the file is located like for Example
    C:\Test\Hello.txt.
    In the <b>Program</b> you need to give the application that you want to open that file.
    if helpful reward points...
    Regards,
    Vivekananda Varma Dandu

  • WebDynpro with ABAP or JAVA?

    Hi all,
    I am a veteran in ABAP. I wish to learn web dynpro. I never worked on JAVA. Can anybody advice me which programming language i should use to learn WebDynpro development. Also let me know which companies have webdynpro projects in India?
    Thanks in advance..

    Hi Buddy,
             Welcome to intresting world of Web Dynpro.
             As veteran ABAPer you should go for WebDynproABAP .
             Now why ?
    Point 1:
    In my view WebDynpro ABAP and Wd Java are not same.
    Basically WebDynpro ABAP and Java are two different webDynpro provided by NetWeaver Stack.
    Basic conceptual base of WD ABAP and WD Java is same.I mean to say concepts like Context binding , node , elements , Layout both support are same.
    But when you provide background functionality to your Web Screen then Java or ABAP come in to picture.Just take case , you want do some thing on click of some button then
    1) in case of java may you will call some ejb or you will may write some java code on click.
    2) but in case of WD ABAP you have to do same thing with ABAP classes . You will call some call or some method of some system defined class.
    Ulimately point I want make
    1) WD ABAP and WD java 's Base is same but you code in completely different way.
    2) Purpose for which SAP came with two different WDynpro is different. Java can be used for developing quite sophistcated Web services.
    Point 2:
    another help for you .Just go thr' following thread
    How much of oops ABAP is required for ABAP Webdynpro .
    Point 3:
    You can start with tutorials and all
    Web Dynpro for ABAP
    http://help.sap.com/saphelp_erp2005/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/frameset.htm
    best tutorials in wbdynpro for ABAP to start with :
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken]

  • Is there a way to view Flash videos on my iMac without downloading Adobe Flash Player? I'm concerned about performance and security with Flash Player.

    Is there a way to view Flash videos on my iMac without downloading Adobe Flash Player? I'm concerned about performance and security with Adobe Flash Player.

    If the video is only available in a format that requires Flash player : then no.
    However, a great many can also be viewed in an HTML5 version, in which case http://hoyois.github.io/safariextensions/clicktoplugin/ or similar can be set up so that Flash never runs unless you specifically choose it to.

  • Deleting Data Package with Abap - error in Abap statement

    Hi,
    I am trying to delete data with abap but my logic is not working and it failed with error message Error in an abap/4 statement  when processing
    requirement
    - Delete data package when plant = INDIA
    - Delete data package when Area = 01 OR Group =  J001 in customer master data table.
    Logic
    Data: T_Data TYPE DATA_PACKAGE_STRUCTURE Occurs 0 WITH HEADER LINE.
    data: lt_BI0_PCUSTOMER LIKE /BI0/PCUSTOMER OCCURS 0 WITH HEADER LINE.
    LOOP AT DATA_PACKAGE.
    MOVE-CORRESPONDING DATA_PACKAGE TO T_DATA.
    Refresh lt_BI0_PCUSTOMER.
    select * from /BI0/PCUSTOMER into TABLE lt_BI0_PCUSTOMER
    WHERE CUSTOMER = T_DATA-SOLD_TO.
    Read table lt_BI0_PCUSTOMER WITH KEY CUSTOMER = T_DATA-SOLD_TO.
    IF sy-subrc EQ 0.
    LOOP AT lt_BI0_PCUSTOMER.
    IF lt_BI0_PCUSTOMER-AREA= '01' or
    lt_BI0_PCUSTOMER-GROUP = 'J001'.
    DELETE T_DATA.
    APPEND T_DATA.
    endif.
    ENDLOOP.
    ENDIF.
    ENDLOOP.
    DATA_PACKAGE[] = T_DATA[].
    * Delete data package when Plant EQ INDIA
    DELETE DATA_PACKAGE WHERE PLANT = 'INDIA'.
    thanks
    Edited by: Bhat Vaidya on Oct 19, 2010 8:41 AM
    Edited by: Thomas Zloch on Oct 19, 2010 9:55 AM

    Hi,
    DELETE DATA_PACKAGE WHERE PLANT = 'INDIA'.
    Above syntax for delete data from internal table
    For deleting the database table write statement as follows
    DELETE From DATA_PACKAGE WHERE PLANT = 'INDIA'
    Your are missing the from keyword from statement.
    What could i have understand, if it is your solution of Query.
    Exactly you want to delete data from database table or internal table ?

  • Call an URL with ABAP program (Method POST)

    Hi everyone,
      I need to call an URL for example "www.google.com?q=hello" with ABAP using POST method.
      Like the FM "Call_Browser", but my variable q=hello need to be passed with POST method.
    Any idea ?
    Thanks.

    here is one example I use from abap to call a web browser ITS solution with a project number, I guess you can adapt the it for your purpose?
          check <data>-pspid is not initial.
          concatenate gv_pfs_link
                      'zpfs2?~okcode=PROJ_SEL&zpspid=<###>&sel_action=X'
          into lv_url.
          replace '<###>' with <data>-pspid into lv_url.
          condense lv_url no-gaps.
          cl_gui_frontend_services=>execute(
            exporting document = lv_url ).

  • How to use web service with ABAP Web Dynpro

    Hi.
         do you know, how to web service with ABAP Web Dynpro?

    Hi,
    If you have a webservice ready with you then you can generate a proxy from SE80 and you can use that. You just have to create a port and assign to that generated proxy(CLASS) and you are good to go.
    Let me know if you need more information.
    Thank You,
    Gajendra.

  • How to READ/SAVE Transformantation / Conversion File in BPC with ABAP

    hi Experts
    I would like to READ/SAVE Transformantation / Conversion File in BPC with ABAP
    When I interface Transaction File From Other Cube,
    I want to run Interface test from ABAP using Transformantation / Conversion File before run DM.
    and, l want to Manage files with ABAP Program ,if need to modify Transformantation / Conversion File
    Thank you.

    Hi Young,
    In addition to the above suggestions, would like to inform you that, if your requirement can be met by running those files in BPC Excel itself, what is the point in running ABAP program for the same?
    It would be much more easier for you to run those files in BPC Excel itself and that is how BPC is designed.
    Hope this clarifies further.
    Rgds,
    Poonam

Maybe you are looking for

  • Itunes not syncing completely w/ ipod touch

    I found that some albums were displaying duplicate songs on my ipod touch, but not in Itunes.  I decided to try removing all music and re-syncing.  Itunes goes through steps of synching, but doesn't take nearly as long as it should to remove all the

  • My calendar app is incredibly slow.  Any ideas why?

    I use the app, Weekly Calendar, and when I use it, my iPod runs really, really slow.  Any ideas?

  • Release Group for T code FBV1

    Hi All, I have a problem. If vendor/customer, I have assigned release group approval path in vendor/customer master data. But for transaction in Tcode FBV1, I cannot assigned release group approval path in FS00 (GL Account Master Data). I want to ask

  • Cancellation of cleared bill of exchange document

    One of our end-user wants to cancel some bill of exchange documents that were posted. These documents were cleared too My question that we want to cancel (reverse the cleared documents) how it is possible? using the Tcode FBRA i have the message "Doc

  • TOC and text objects

    Hello, I am having trouble with my Table of Contents. I have a 140 page doc with approximately 70 sections (some sections are a single page, while others are many pages). Each section has a different first page. In this first page I used a text objec