Post user and pass to SOAP Header message in ABAP Proxy

Hi Folks!
I'm trying to post user and pass to SOAP Header on an ABAP proxy. I've already read the thread [Consume web service in ABAP proxy with SOAP header|Re: Consume web service in ABAP proxy with SOAP header; and I see that is possible to manipulate SOAP Header but I cannot understand how I work with function module SDIXML_XML_TO_DOM.
Do I need pass to parameter xml a complete SOAP Envelope? If it is right how can I get the complete xml message to pass to this parameter? I think I don't need the build the xml strucuture as I did on WebAS 6.40, isn't it?
Thanks in advanced.

Hi Rafael,
I would be interested in the solution... could you please post it into forum.
Thanks and best regards
Stefan Bosshard

Similar Messages

  • Username and password through SOAP header

    Hi Gurus
    I am developing web service model in webdynpro by consuming third-party WSDL. This third party web service expecting me to send the user name &password through SOAP header.
    Can any body tell me how to pass the username password through SOAP header using webdynpro model?

    Hi,
       In WD there's no direct way to access the SOAP message header. If the web service defines implicit headers in JAX-RPC then you have to use the setProperty methods of the javax.xml.rpc.Stub interface so that the JAX-RPC handler can retrieve these via the getProperty methods.
    Regards,
    Satyajit.

  • User and Pass command to record

    Saving of user and pass gets a resounding F Grade.
    To be brutally honest, if the programmers who wrote the code in question were working for me, they would now be fired.
    I have little regard for such incompetence in this day and age. It has been out, this feature, for a long time both in Sea Monkey (a disaster in the making) and now in FireFox the same problems: fix it, provide for COMMAND AND Control cause this is a mess.
    Please tell me how to make it work!!! Bill Neill.

    Hi again,
    1. BOLD code is important.
    2. just copy paste
    3. It will show a list from t001 table
       On double-clicking any row,
       it will give a message
       and display the rownumber, as well as the field
       which was clicked.
    4.
    REPORT abc.
    TYPE-POOLS : slis.
    Data
    DATA : BEGIN OF itab OCCURS 0.
            INCLUDE STRUCTURE t001.
    DATA : flag tyPE c,
           END OF itab.
    DATA : alvfc TYPE slis_t_fieldcat_alv.
    DATA : alvly TYPE slis_layout_alv.
    Select Data
    SELECT * FROM t001 INTO TABLE itab.
    *------- Field Catalogue
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
      EXPORTING
        i_program_name         = sy-repid
        i_internal_tabname     = 'ITAB'
        i_inclname             = sy-repid
      CHANGING
        ct_fieldcat            = alvfc
      EXCEPTIONS
        inconsistent_interface = 1
        program_error          = 2
        OTHERS                 = 3.
    Display
    alvly-box_fieldname = 'FLAG'.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        it_fieldcat             = alvfc
        i_callback_program      = sy-repid "<-------Important
        i_callback_user_command = 'ITAB_USER_COMMAND' "<------ Important
        is_layout               = alvly
      TABLES
        t_outtab                = itab
      EXCEPTIONS
        program_error           = 1
        OTHERS                  = 2.
    CALL BACK FORM
    FORM itab_user_command USING whatcomm TYPE sy-ucomm whatrow TYPE
    slis_selfield.
    <b>
    IMPORTANT.
      data : m(100) type c.
      m =  whatrow-tabindex.
      condense m.
      concatenate 'Row Number is ' m into m separated by space.
    concatenate m ' : Field Clicked is ' whatrow-fieldname into m separated
      by space.
      message m type 'I'.</b>
    ENDFORM. "ITAB_user_command
    regards,
    amit m.

  • How to recover the administrator user and pass

    hello,
    I instaled ORACLEXE few days ago, and accord to the instructions I've been using HR user.
    but now I'd like to login as administrator because i'd like to create a new user. problem is I don't remember the administrato's user and pass.
    what should I do ?
    thanks in advance. Andrea.

    hello everyone.
    thanks for you replies.
    I'm on windowns.
    Problem is that I even don´t remember the name of my "user" administrator. I don´t know if it's "system" or "sysdba" or "administrator" or "root" ... :(
    I´m a student, I don´t know nothing about admin databases.
    in generally when I install something I use to write and keep the user I used to install but this time I forgot.
    - I tried Aman... clue, problem is that I have to connect to the database as SYSDBA to perform it.
    - I didn´t understand Mastalerz clue.
    any more clue, or I'll have to unistall my db ? :(

  • SMB on Server 10.5.6: Vista user needs to enter user and pass after restart

    Hello,
    We have a Vista user running in XP mode connected to SMB on OS X Server 10.5.6. After every log out or restart windows ask the user to enter the user and password. We have checked the remember user and password box but the windows can't remember the user and pass...
    What could we do?

    Is your server bound to AD, and your PC clients as well (probably) ?
    First, stop SMB.
    Then, backup /etc/smb.conf
    Then edit it (use nano or vi or emacs via the Terminal. If you must use the GUI then use TextWrangler.
    Make sure the file permissions are preserved.
    under the [global] section of /etc/smb.conf, make the following modifications (add the entry if it's not there):
    security = ads
    windbind separator = +
    ; auth methods = guest opendirectory
    ie: comment out "auth methods" via the ";"
    Start smb and compare. Anytime you make a change in the GUI tools, verify your edits are preserved.

  • Ask again user and pass, when download query on excel on BW3x

    Dear,
            When try download query at excel, ask me again user and pass, can you help me about that.
    best regards
    OArenas

    Good day,
    This sounds like you are not using an anonymous user or alias users ..??
    When you download into Excel, the cookie for the MIME handler is not held. This means that the system needs to verify the userid/password again. Check out the SAP Notes 516884 and 487456 - there are some other SAP Notes referenced in these that may also be helpful if you still have a problem.
    Regards,
    Karen

  • External Web Service - User and password in HTTP header

    Hi!
    How is it possible to add user and password in the HTTP header in a external web service call? 
    I have created a "Portal Service from WSDL file - Client side" with the wizard in SAP Developer Studio.  I following the Java Development Guide - Web Service Security, and use the <i>secured service connection</i>.  I have also created a new <i>System Landscape</i>, but should the new system be based on HTTP, my own PAR or what?
    How can I check that the user and password is added to the HTTP header or the SOAP envelope? Do I have to scan http traffic with a proxy as Paros or can I find the request sent from SAP EP in the logs?
    Cheers
    Asle

    Hello All,
    I have been struggling a bit while putting a reasonable security framework on a jax-rpc style web service. I'm using JWSDP1.2 to set up the webservice. I've tried to outline my problem below. Please correct me where I'm wrong.
    I've been through the Sun's WS tutorials, but they are not really clear on security. However, from them I surmised that there are two decent authentication techniques. HTTP Basic and mutual authentication (MA) . Both have their drawbacks though. HTTP Basic suffers from poor encryption while MA is a bit difficult to set up on both client and server sides. Another problem with MA is that there is no central repository for users/passwords.
    OK, what I would really like to do is use my own user database to verify users/passwords i.e. use a HTTP Basic like authentication (but at application level) but run it over SSL for encryption. It seems simple, but is it possible?
    Also, I have noted that when I use HTTP Basic on the service side, and use a java client, then setting username/password has no effect. In other words, I can always access the web-service, even with wrong username/password.
    Sorry for the long post. Hope someone can help. Thanks.

  • Transaction posting user and time

    how do we get a transaction's posting time and the user who posted it?

    It's not the user name, it's the (mostly hidden) User ID number.  The cause is a bit different, but the pink box in Problems after using Migration Assistant has an explanation of what happened.
    Did you have only the single account before?  Had there ever been a different one, even if transferred from another Mac?  Does the last backup have the account you want to transfer?
    If the answers to all three questions are yes, then the UID on the backups should be #501, and you may be able to use a variant of the 4th option in the above link.
    What you need to do is transfer the account unchanged (meaning, no UID 501 on your Mac), but conflict with the name of an account on your Mac, so Migration Assistant will let you rename the account you're transferring.
    Create a new account with the exact names as the one on your backups, and log on to it.
    Delete all other accounts and home folders. 
    Restart your Mac (to make the deleted UID 501 available).
    Log on to the duplicate account.
    Start Migration Assistant.  When you get this prompt, rename the account you're transferring:
    See Using Migration Assistant on Mountain Lion or Lion for the gory details.

  • Connecting to Oracle db with correct user and pass

    OK, Hi, I'm New with java script and here's what I have:
    1- A user login.
    - Once he's authentified he can travel trought the pages.
    2- Each user has special responsabilities
    - So when we execte as request ton the oracle db we connect using a certain db user (and password)
    Now what I need to know is:
    How do poeple usually take that user (and password)
    without hard-coding it in the connection string...
    I know this question may seem weird.. and incomplete, but the only reason is because i'm new with this language and I'm missing some information I have read many tutorials and PDF's but I hope some body can just give me an idea about this.
    Powel [;)]

    Hi,
    I think the easiest way is like this:
    in firstJsp.jsp
    <form action="secondJsp.jsp">
    <input
    type="text"
    name="userName"
    />
    <input
    type="password"
    name="userPassword"
    />
    </form>
    in secondJsp.jsp:
    User name <%=request.getParameter("userName")%>
    User password <%=request.getParameter("userPassword")%>
    I mean, in secondJsp.jsp you will allready have name and password as request parameters.
    But it's not the good and smart way of doing it. If you have to create just few pages then OK, but it doesn't seems so (i think nobody uses ORACLE for small applications).
    You should look at Struts framework. That brilliant thing to create such applications.
    Hope it helps.
    good luck

  • When i change the hard drive does the admin user and pass change ?????

    when i change the hard drive does the adminstrator  user and password change ?????

    bin_bella wrote:
    when i change the hard drive does the adminstrator  user and password change ?????
    Yes, if you do a fresh install of the operating system, it's like a brand new machine.
    No, if you restore from a backup like a bootable clone or TimeMachine drive.
    Most commonly used backup methods

  • How can I get a SOAP Error message in ABAP ?

    Dear all.
    I'm trying to get SOAP Error message during XI Interface.
    I've got an Error ( T-code : sxi_monitor ) and I need to get the Error message and write to screen.
    I used
    CATCH CX_AI_APPLICATION_FAULT.
    CATCH CX_AI_SYSTEM_FAULT.
    but couldn't get the error message.
    The Error occured as below.
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ZTSD0030' (structure 'stmt1'): java.sql.SQLException: FATAL ERROR: Column 'ORDER' does not exist in table 'ZTSD0030'</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I exactly need 'BOLD' style message.
    Any help is appreciated.
    Thanks!

    Hi,
      This is an application fault,
      error log clearly saying that''ORDER' does not exist in table 'ZTSD0030'.
      these are specific to interfaces, in order to handle those
    u need to configure apllication log at 'SLG1' t.code.
    i mean, u have to use following function moules to handle application log in ABAP Proxy .
    i.e
    APPL_LOG_WRITE_HEADER
    APPL_LOG_WRITE_MESSAGES
    APPL_LOG_WRITE_DB.
    warm regards
    mahesh.

  • Remove SOAP Header Element from ALSB Proxy Service Response

    I've got a client of one of my ALSB Proxy services that needs the SOAP header element removed from the response. I'm struggling to find a way to do that with a WSDL-based proxy service. Do I need to change my service to an Any XML Service or is there an easier way?

    At the same time, could you please also tell me how do i convert a XML Response from a business service to a SOAP Response in Proxy Service.
    My client is expecting a soap response and the backend gives back only the XML Response
    Thanks in advance!!
    ~Swagat

  • Send message with abap proxy client

    I'm trying to send message to XI, but no message in sxmb_moni.
    I have created logical port with LPCONFIG.
    ABAP code
    REPORT  Z_HTTP_SEND.
    DATA:
    * Reference variables for proxy and exception class
      lo_clientProxy     TYPE REF TO ZPCO_MI_COMPANY_OB,
      lo_sys_exception   TYPE REF TO cx_ai_system_fault,
    * Structures to set and get message content
       ls_request         TYPE ZPMT_COMPANY_ID,
       ls_response        TYPE ZPMT_COMPANY_DETAILS.
    *Complete the structure ls_request for the request message.
    *DATA: zmt_id type ZPMT_COMPANY_ID,
    *zdt_id type ZPDT_COMPANY_ID,
    *z_id_tab type ZPCOMPANY_ID_TAB,
    *z_id type ZPCOMPANY_ID.
    *z_id-COMPANY_ID = '3000'.
    *append  z_id to z_id_tab.
    *  zdt_id-RECORD = z_id_tab.
    *zmt_id-MT_COMPANY_ID = zdt_id.
    DATA tab TYPE ZPCOMPANY_ID_TAB WITH HEADER LINE.
    tab-COMPANY_ID = '3000'.
    APPEND tab.
    ls_request-MT_COMPANY_ID-RECORD = tab[].
    TRY.
    * create proxy client
    *CREATE OBJECT lo_clientProxy( u2018LOGICAL_PORT_NAMEu2019 ).
        CREATE OBJECT lo_clientProxy.
    * do synchronous client proxy call
        CALL METHOD lo_clientProxy->execute_synchronous
                 EXPORTING output  = ls_request
                 IMPORTING input   = ls_response.
        CATCH cx_ai_system_fault INTO lo_sys_exception.
    *   Error handling
    ENDTRY.
    Any ideas? Thanks very much,

    Hi,
    Proxies communicate with the XI server by means of native SOAP calls over HTTP .RFC does not, so you have to convert from SOAP to RFC calls and vice versa. So XML conversion is required.
    ABAP Proxies uses Webservice and Http Protocols. And if you use RFC it is mainly meant for Sync. call. But Proxies is used for both Sync and Async.
    If you use ABAP Proxy , you can reduce the overhead calling the function again and again.
    How do you activate ABAP Proxies? - Activate Proxy
    ABAP Server Proxies - ABAP Server Proxy
    ABAP Proxies in XI(Client Proxy) - ABAP Client Proxy
    Re: JDBC Sender select/update problem
    If u generate proxy for outbound interface then its client proxy and for inbound interface its server proxy.
    In client proxy u can call the method to send messages but u can't modify it but in server proxy its possible to write a user code within the method to execute proxy.
    CLIENT PROXY:
    A WSDL description from a UDDI server (or an Internet page) is usually used to make a service executable in the Internet and to describe the interface of this service. You require a client proxy and not a server proxy to call this service by using the Web service infrastructure.
    SERVER PROXY:
    You can only generate ABAP server proxies from a WSDL description if they originate in the Integration Repository.You can also generate server proxies for Java and client proxies for ABAP from message interfaces.
    s refer these doc about ABAP proxy ..
    How do you activate ABAP Proxies? - Activate Proxy
    ABAP Server Proxies - ABAP Server Proxy
    ABAP Proxies in XI(Client Proxy) - ABAP Client Proxy
    Re: JDBC Sender select/update problem
    ABAP Server Proxies
    How do you activate ABAP Proxies?
    ABAP Proxies in XI(Client Proxy)
    File to R/3 via ABAP Proxy
    http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/ba/f21a403233dd5fe10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/41e08c90-0201-0010-9197-d8774336ea78
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0ae9874-109c-2910-f48a-e91f0cdd1c81
    Smarter Approach for coding ABAP Proxies
    regards,
    Surya

  • SOAP/HTTP adapter for ABAP proxy

    Hi,
    Is it possible to send data to a SAP system using an inbound proxy and  SOAP/ HTTP adapter.
    As per my knowledge , XI adapter is generally used for Proxy communication.
    If SOAP/HTTP can be used then what should be the message protocol.
    There are 2 protocols allowed by SOAP adapter : SOAP 1.1 and XI3.0.
    Can XI 3.0 be used here?

    1. you will increase the burdon of message to include header and body with SOAP/HTTP
    Use following link to decide which adapter should be used - http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/70d8e250-e892-2b10-ab8a-d04433cf158b [original link is broken]

  • Build delay in messages to abap proxy without BPM / mapping

    Hi everyone,
    The abap proxy is receiving messages from PI, is having errors when receiving big loads of messages via PI.
    The proxy lock's a table causing the next message to run in error.
    The interface is not using BPM or a mapping.
    My question is:
    What are the possibilities to configure a delay in PI ? (not using a mapping or BPM process)
    The abap proxy need some time to process a message before it receives the next one.
    Br,
    Roy

    Hi,
    >>>The proxy lock's a table causing the next message to run in error.
    if you use async messages with fault messages correcty you can
    restart those abap proxies just like IDOCs - and you can schedulerestarting that too
    so this is nothing bad - just schedule the restarting and they will get processed
    Regards,
    Michal Krawczyk

Maybe you are looking for

  • Why does "All windows from last session" never work?

    I've set Safari 5.1.1's preferences to restore the last session when launching. Safari launches fine but opens NO windows at all. I've attached a screenshot of the contents of the Safari folder within my library, but have no idea what these things do

  • Sent messages disappeared in Apple Mail

    Hello everybody, I use Apple Mail (v. 3.6) with Mac OS X (Version 10.5.8) for my Google Domains email addresses. Yesterday, all the sent messages suddenly disappeared from my Inbox in Apple Mail on the Mac (only for one account, although I run 6 acco

  • Check/uncheck record results on more than one step at a time

    I have one hundred plus sequence files and several thousand steps total. Checking and un-checking record results one step at a time takes a long time. I'd like to be able to select several steps at a time then check or un check the "Record Results" o

  • Office will deploy to some users!

    We're trying to deploy Office to 60 users, some are in building A and some are in building B, both are on our network (Domain) and they can access all of our share folders and our Group Policy is applied for both, they can ping each other, when we de

  • Openldap and solaris 10

    I'm trying to setup openldap 2.3.4 on Solaris 10. I've read the plethora of internet posting for Solaris 8 & 9 that claim to have a working ldap server, but little on Solaris 10. I've tried "everything" to get it work but to no avail. Can anyone poin