Send Extra Information to SOAP Headers

Does anybody know what Java class I should extend to send extra information to the SOAP headers that are being sent to the EDK API?
I am trying to pass the extra name=value pairs added to the querystring to be passed to portlets via EDK.
Oguz

Hi Oguz,
Could you explain a bit more what you want information you want to send to the portlets? Normally you can use the portal's admin UI to configure what user info, prefs, and portal values (login token, SOAP end point etc..) to a given portlet. This is configurable in the Web Service Remote Portlet portal admin object.
ross

Similar Messages

  • How to send authentication information to SOAP Web Service using MATE framework

    Hi,
    Can anyone please tell me how to pass authentication info (such as user name & password) while calling a webservice using MATE's webserviceinvoker? the SOAP web service expects authentication info in the header.
    Thanks in advance..

    HI Swayam,
    First of all you should tell us what blogs you have seen to avoid you to repeat information that you already know.
    we want to avoid  setting up SLD configuration for sender system because  sender system is just consuming web service .
    This is not necessary,
    Please let me know  the ways we can configure . I did understand we can publish and register the WSDL from Service interface ,but was not clear on over all  scenario .
    Do you have your ECC webservice available via SOAManager?, you only to access it via soap receiver in SAP PI.
    To publish, you need to publish only the sender SOAP, when you register there the sender soap your partner could access there to get the WSDL (Publish services from PI 7.1 to the Service Registry). Also you can generate directly the wsdl (Display WSDL - Integration Directory - SAP Library), what do you want?
    Regards,

  • Attaching Extra Information for on Hold process and starting the process

    Hi,
    We are developing BPM process using Oracle BPM 10.3.
    Our want the process to be on hold to get extra information from some other system. The extra information will be recieved sepeartely oust side the BPM process. We want to add the extra information to the on hold process and continue the process. Please let me know how to develop the BPM process to cater this requirement.
    Thanks

    The right pattern would be to create a process that has something like the following flow pattern:
    Begin -> ... (Some Activities) -> Wait
    The Wait Activity can be defined to have arguments that the external application can use to send the additional information to aggregate with the existing instance data.
    The way for an external application to connect to the instance waiting in the WAIT activity is to use the processId that is returned when you programmatically create the instance through any of the available APIs: PAPI (Java), PAPI-WS (Soap) or the process exposed as a web service. It is also possible to use correlations but this can be considered a more advanced topic.
    In the same lines there are methods in PAPI and PAPI-WS or a process exposed as a Web Service to create an instance, there are methods to send a notification to a given instance in a given activity of the process. Using this API Calls, you can signal the instance in wait state and send some additional information so that when the Wait activity is executed, the instance is moved forward.
    HTH,
    eduardoc.

  • XI30 SPS16 - SOAP Sender Adapter - self-defined SOAP-Header

    Hi Folks!
    My scenario is that I have to send a synchronous SOAP message to an external receiving system which expects certain processing information in the SOAP header. That external system then synchronously sends back a response SOAP message to tell me the processing results of my request message.
    The How-To Guide SOAP Adapter says that for the request message I have to create the whole SOAP Envelope (SOAP Enevelope, Header and Body) on my own within the mapping and that I have to remove the SOAP header in the response message. Unfortunately this guide does not tell me how this can be realized.
    In other SDN threads I've read that this can be achieved by using XSLT mappings. Unfortunately I have never done this before and currently I have no clear idea how to do this. And to be honest: I am everything else than an XSLT expert (historically I'm coming from the ABAP part of SAP R/3).
    My plan is to create the request payload using the graphical mapping tool and to add an XSLT mapping as 2nd mapping to build the SOAP "overhead" around the payload.
    For the response my plan is to first use XSLT mapping to remove the SOAP "overhead" from the response message and then use the graphical mapping to handle the payload.
    Questions:
    1. Is this possible?
    2. How can I achieve this?
    3. Can anybody send me an XSLT mapping sample to create a SOAP envelope, header and body around the payload for the request message?
    4. Can anybody send me an XSLT mappping sample to remove the SOAP envelope, header and body around the payload for the response message?
    Because I'm everything else than an expert in XSLT mappings, some kind of a "click guide with samples" would be VERY GREAT!
    Thanx in advance to anybody who will help me!!! For real help maximum points are guaranteed.
    Regards,
    Volker
    mail: [email protected]

    Hi Volker,
    Try this XSLT code, chanfe the TODO part.. add the SOAP header part. Save it as .xsl. ZIP it and import it in the Imported archive. Please test it I have'nt test the code as I dont have a system access now.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <xsl:template match="/">
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <Header xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    --- TODO -
    </Header>
    <soap:Body>
    <xsl:copy-of select="*"/>
    </soap:Body></soap:Envelope>
    </xsl:template>
    </xsl:stylesheet>
    For the rest have a look at this thread
    SOAP Adapter: DO not use soap envelope
    Thanks,
    Prakash

  • How to Send Multiple Attachment by SOAP Adapter

    Hi,
    How to send multiple attachment by SOAP Adapter.
    I am able to send single attachment but at the time of sending multiple attachment i am not able to see in SXMB_moni.
    Regards,
    Anurag

    On the communication channel, please check the 'Do Not Use SOAP envelope' option. Also, please, add the "nosoap" attribute to the SOAP adapter caller. Check the note below for more information
    #856597 FAQ: XI 3.0 / PI 7.0 / PI 7.1 SOAP Adapter
    > "How does the nosoap mode work for the SOAP sender adapter?"

  • How to get extra information in server response "250 OK extra info here "

    Hello all,
    I am using javamail to send e-mail messages via an SMTP server that responds in the following way when I finish sending my DATA:
    250 OK <extra information here>
    How can I get the <extra information here> text using javamail?
    I am using javamail version 1.4.3. The messages are sent using Transport.send(mime message, recipients[]).
    Thank you very much for your help.
    Best regards,
    António

    You'll need to manage the Transport object yourself (see the FAQ for examples,
    or the smtpsend.java demo program), then use the SMTPTransport.getLastServerResponse()
    method (see the javadocs and the demo program).

  • How to Post XML Messages with SOAP Headers to a Trading Partner URL

    Hi All,
    Greeting to the Oracle B2B Community. We are currently working on how to post a Custom XML Message with SOAP Headers to a Trading Partner URL. I would really appreciate if anybody could provide me some inputs or links to some documentation on how to achieve the above requirement. The details are below:
    1. Our Internal Application generates a Flat File (PO Extract).
    2. The Extract then needs to be transformed to an XML Message. We are planning to use BPEL to do the transformation to XML Message.
    3. Once it is transformed to an XML message it needs to be posted to the Trading Partner URL as an HTTP Post and with SOAP Headers.
    We are planning to use B2B to do the posting but I am not sure on how to do the set-ups and what all parameter files in B2B needs to be updated in order to achieve the same. Also it is mandatory that we send SOAP Headers in the XML Message.
    Thanks In Advance for your help.
    Regards,
    Dibya

    Hello Dibya,
    As you are already doing the transformation from Flat file to XML in BPEL which is typically the capability of B2B, please use the Soap binding in BPEL to send the document to Trading partner.
    Rgds,Ramesh

  • Securing web services SOAP headers against OWSM policy

    Hi,
    I need to authenticate the user against the OWSM policy. The caller will pass username and password in SOAP headers and I need to attach WSS policy to my exposed web service.
    How to extract the Header information and then validate them against the policy.
    A simple HelloWorld sample will be of great help.
    regards
    Sanjeev

    Hi,
    For service authentication add policy wss_username_token_service_policy to client composite.Create user in security realms in adminstration console.
    While testing the service select wss username token option under security tab and test with valid credentails or from, soap UI
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
    xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:Username>USER CREATED IN SECURITY REALMS</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">PSWD ENTERED FOR THE SAME USER IN SECURITY REALMS</wsse:Password>
    </wsse:UsernameToken></wsse:Security> WITH INPUT

  • Is there any way to pass SOAP Headers ?

    I have created a Web Service based on a Portal Service using the project wizard. I find that SOAP headers (<SOAP-ENV:Header>) are not passed in the SOAP Envelope while calling the Web service. Is it possible to do this ?
    Thanks in advance. Any suggestion is appreciated.

    I would like to know this as well.
    I am trying to pass username and password to a target web-service that requires this information to be in the Header section of the SOAP request.
    I am using EP 6.0.   Does anyone know if this can be done in  EP 7.0?

  • SOAP Headers

    Is it possible to access SOAP headers from with in the WebService backend, for
    example, from within the EJB implementation of the service itself?
    I know SOAP headers can be accessed from within the handlers.
    My goal is to somehow have access to certain header information from within the
    EJB.
    Also, if I employ a handler only implementation, and do away with the backend,
    how well would the container manage the handler classes (which are non-EJB) as
    opposed to the EJB implementation?
    I am using WLS 7.0 SP1.
    Thanks a lot.
    Suteertha

    no ideas?

  • Segment Name with extra information in WE02.

    Hello SAPients!
    I created an IDoc Extension for basic type WBBDLD04 and modified the corresponding BAdI. Everything works fine, the extra segment is correctly added and the information in the Segment is correct. The only problem I have is that in TCode WE02/WE05 the name of the segment appears with information of the first field.
    Example: The segment is ZE1WBB1 but in the tree of the Tcode WE02 appears like <b>ZE1WBB1 1024.00</b> or sometimes like <b>ZE1WBB1 0.00</b>. That extra information corresponds to the first field of the custom segment that I created (<b>LABST</b> in this case)
    If I look in the table EDID4 everything looks perfect. The segment name is what it should be and the SDATA field has the correct information.
    What am I doing wrong?
    Thanks!

    I found the problem, in WE31 I just had to remove the "Qualified Segment" Checkbox and Voila!

  • Sending Exception Information

    I have recently ran through the ExceptionHandling sample project, and I am attempting to extend it slightly.
    I have created a Business Exception object called Test_Exception. Within this exception object, I have created three attributes: id, activity, message. The idea behind these properties is that I can set their values when an exception is thrown. I also created a notifyException method that I use to send this information to someone who is charged with investigating/handling these exceptions.
    I have a Process Exception flow that looks like this: Process Exceptions >> Notify Exception Handler >> Exception Review. The transition to, "Notify Exception Handler," references my Test_Exception object. The variable that will hold the exception is the default, "exceptionHolder."
    So I have some code in an Automatic activity that looks like this:
    try{
         Test.doSomething();
    }catch (Exception ex){
         Test_Exception te = new Test_Exception();
         te.instanceId = this.id.id;
         logMessage("TE Instance = " + te.instanceId + ".");
         te.activity = this.activity.name;
         logMessage("TE Activity = " + te.activity + ".");
         te.message = "Message = " + ex.message + "\rStackTrace = " + ex.stackTrace;
         logMessage("TE Message = " + te.message + ".");
         throw te;
    I can look at the logs and see that te's attributes are being populated.
    In, "Notify Exception Handler," there is code to send mail using the attributes of the Test_Exception object.
    Mail email = new Mail();
    email.recipient = "[email protected]";
    email.from = "[email protected]";
    email.subject = "An Exception Has Occured";
    email.message = "Instance, " + Test_Exception.instanceId + ", in Activity, " + Test_Exception.activity + ", has encountered a problem."
         "\r\rError Details: " + Test_Exception.message + "\r\rThank you.";
    email.send();
    Here, the attributes of the Business Exception are blank. Does anyone have any thoughts or opinions about this approach?

    You notification code should look more like the code below. Because exceptionHolder is of type any you must first cast it to a Test_Exception.
    Test_Exception te = ((Test_Exception)exceptionHolder);
    Mail email = new Mail();
    email.recipient = "[email protected]";
    email.from = "[email protected]";
    email.subject = "An Exception Has Occured";
    email.message = "Instance, " + te.instanceId + ", in Activity, " + te.activity + ", has encountered a problem."
    "\r\rError Details: " + te.message + "\r\rThank you.";
    email.send();

  • Send audit information to  mail acount using fined-grained auditing

    hi.
    i like to send audit information to particular mail account. but i have failed.
    is any one can help me. i have writtten step by step what i have done for my work. my mail server work properly.
    SQL> CONNECT SYS/PAS AS SYSDBA
    after that i have created a procedure called "FGA_NOTIFY" to send mail WHEN user used SELECT command on sal column in emp table other than SCOTT. Then i have added a policy that is given belllow.
    But The problem is now when sys user or any other user give command like
    sql> select sal from scott.emp;
    oracle server didnot send audit information mail to mail server. but
    if i execute procedure "FGA_NOTIFY" independently , procedure send mail.
    please help me. i have given procedure and
    policy code down.
    This is my policy
    BEGIN
    DBMS_FGA.add_policy(
    object_schema => 'SCOTT',
    object_name =>'EMP',
    policy_name => 'Example',
    audit_condition => 'ENAME != USER',
    audit_column => 'SAL',
    handler_schema => 'SYS',
    handler_module => 'FGA_NOTIFY');
    END;
    THIS IS MY PROCEDURE
    CREATE OR REPLACE PROCEDURE fga_notify (
         object_schema VARCHAR2,
         object_name VARCHAR2,
         policy_name VARCHAR2)
    AS
         l_messege VARCHAR2 (32767);
         l_mailhost VARCHAR2 (30) :='rmail';
         l_mail_conn UTL_SMTP.connection;
         l_from VARCHAR2 (30):= 'admin@rmail';
         l_to VARCHAR2 (30):= 'admin@rmail';
    BEGIN
    l_messege :=
         'User'||USER
         ||'successfully accessed'||Object_schema||'.'
         ||object_name||'at'
         ||TO_CHAR (SYSDATE, 'Month DD HH24 :MI:SS')
         ||'with this statement :"'
         ||SYS_CONTEXT ('userenv','currrent_sql')
         ||'"';
    l_mail_conn :=UTL_SMTP.open_connection (l_mailhost,
    25);
    UTL_SMTP.helo (l_mail_conn, l_mailhost);
    UTL_SMTP.mail (l_mail_conn, l_from);
    UTL_SMTP.rcpt (l_mail_conn,l_to);
    UTL_SMTP.DATA (l_mail_conn,
              UTL_TCP.crlf||'subject: FGA Alert'
              ||UTL_TCP.crlf
              ||'To:'
              ||l_to
              ||UTL_TCP.crlf
              ||l_messege);
    UTL_SMTP.quit (l_mail_conn);
    EXCEPTION
    WHEN OTHERS THEN
         UTL_SMTP.quit (l_mail_conn);
         raise_application_error     (-2000,'Failed due to the
    following                          error'||SQLERRM) ;
    END;
    Message was edited by:
    Md Ruhul Amin

    Alok brother, thank you for advice. About FGA concept i got from book. this PL/SQL code i got from that book. The book name is "Effective Oracle Database 10g Security by Design" and the writter name is "David Knox". if you send your e-mail address , i could send scan copy of this topic from this book.
    my e-mail address is <[email protected]>. i am waing for you reply

  • How to get information from SOAP header in weblogic without handlers

    I need to retrieve information from SOAP header without handlers.
    Any ideas how to do that?

    Just wondering if Filter can be used here, though I never tried that.

  • Web service response contains SOAP Headers with "mustUnderstand" true

    Hi
    I have a requirement where in I have to consume a web service as adaptive web service model, and while executing the service pass a mandatory parameter to the soap header. We are able to set the mandatory parameter to the soad header. We got the code snippet to do this from a wiki link
    http://wiki.sdn.sap.com/wiki/display/WDJava/FAQ-Models-AdaptiveWebService#FAQ-Models-AdaptiveWebService-WhatarethefunctionalgapsofthecurrentAdpativeWSModelImporter%3F
    On executing the service now through web dynpro we are getting the below error
    "Web service response contains SOAP Headers with "mustUnderstand" true which are not handled by the client runtime"
    Any thoughts on how to handle this mustUnderstand attribute with some code snippet? Appreciate all help.
    Thanks,
    KN.

    Hi
    Have you found the workaround?
    Sorry for refreshing topic. Flag mustUnderstand ='1' in response is unussual thing.
    BR

Maybe you are looking for

  • IPod no longer updates smart playlists after upgrade to 1.3

    After upgrading my 5th Gen 30GB iPod to 1.3 I noticed immediately that the smart playlists on my iPod aren't updating any longer. Until 3 days ago my iPod had firmware version 1.2.1 and all smart playlists worked as expected. I have many smart playli

  • Cancellation of Release of a purchase requisition

    Hi, Currently the system allow to cancel the Release of a purchase requisition eventhought the Purchase Order already created for it. I could not locate the any system message that actually control this. How to disallow the cancellation of Release of

  • GRC AC 5.3 Support Pack upgrade from 10 to 16.3

    Hello There, Currently, one of the our client is using GRC AC 5.3 with SP10 and planning to upgrade/apply to latest SP16.3. Would appreciate your response if anyone applied / used the latest SP16.3 and what kind of issues they faced or facing with cu

  • Installing itunes on MACBOOK ADVICE NEEDED!

    Hi I am currently using Windows XP on my PC and i've been having problems with installing itunes on it. I'm considering buying a Apple Macbook Laptop for university and was wondering also does itunes run on the laptop without problems unlike windows?

  • Audio Mixer Window Does Not Appear

    I have been using Premiere Elements for years in various versions (current project in V8, just downloaded V9 trial. Tonight I went to use the Audio Mixer function and found that when I click on Audio Mixer in the dropdown menu it does not appear. I t