Re: Tutorial #2 B2B AS2 Example, ENQ and DEQ Scripts

I have a complete B2B/SOA environment setup, and have read through the second tutorial in detail ( AS2 based ). My environment is up and running, but I have not set up any trading partners, remote trading partners or any other information related here, i.e. capabilities, etc...
My question is as follows: I simply want to get something ( i.e. a sample EDI 850 transaction ) into B2B and then look around at the tables, reports generated, etc...
At this point, I don't need the data passed on to BPEL. The ENQ script uses the 850
Can someone tell me how this can be done ? When I run the ENQ script, it seems to post data to the IP_OUT_QUEUE, and then when I run the DEQ script, it hangs. Again, I simply want to get something into B2B, right or wrong for the moment.
Thanks.
Arthur

Hello Arthur,
Import the X12 over Internet i.e AS2 tutorial after renaming the MyCompany to Acme, change the necessary end points if required. Enque a message to IP_OUT_QUEUE for b2b to pickup the message and process. If the seller end point is not proper, b2b throws an HTTP post error. At this stage you can take a look at different logs generated and db tables. Depending on if you have two boxes, you can configure Acme and GlobalChips and test the end to end flow.
For deque please set count=1 and try. Let us know for any questions.
Rgds,Ramesh

Similar Messages

  • B2B Add on -  Party configuration using B2B - AS2 Aadapter

    Can anyone help me  to configure Party using B2B AS2 Adapter .
    I tried configuring the channel using Party passing the Sender ID . Getting this error.
    Cannot get channel binding: com.sap.aii.af.service.cpa.CPAObjectNotFoundException: Couldn't retrieve binding for the given channelId: Binding:CID=67140c68525433f4a8468af588477d5e;

    Hi Mithali,
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660?QuickLink=index&…
    Under Sender Agency; put <your Business Service / System / Comm. Comp name>; example XID_112 or whatever
    Under Sender Schema; put ALE#KU; if your Partner type of Sender is KU in WE20
    This combination will derive the sender Party.
    Similarly you can put the receiver boxes if you want to de-normalise and derive the receive party name.
    Let me know if it helps; else can help you more!!
    Thanks
    Saurabh

  • Hi, i am having an issue with a basic motion scroll effect.  I already watched and read every tutorial out there regarding this topic and even tried the adobe chat support, but the guy on the other end of the line disconnected me-, probably he didn't unde

    Hi, i am having an issue with a basic motion scroll effect.
    I already watched and read every tutorial out there regarding this topic and even tried the adobe chat support, but the guy on the other end of the line disconnected me…, probably he didn't understand what i wanted from him because english is not my native language, so a will try to be very, very clear about this one..
    please note, that i am new to muse, this is my first project ever.
    my idea is as following:
    when the customer comes to our companies site, he just sees our logo on a white Background. the logo consists of, say, four elements. when the customer scrolls down, the logo starts to disassamble: first the first part of the logo flies out the left side of the site, then the second part of the logo vanishes down, then the third part of the logo flies to the right, then the fourth part of the logo flies to the top and out of the customers view. given what i have seen, it is possible to do that….
    so…..
    now i have the four parts of my logo imported as png files into muse and assembled them in design view to build our companies logo. I select every one of the four parts and go into the scroll effects tab left beside the layers tab. first i enter the same values for every one of the four parts: initial motion: 0x and 0x again for the left and right motion; key position ( t-handle) : 0px; final motion: 0x and 0x again for the left and right value.
    now i hit "preview".: the logo is "pinned" at the correct position, i can scroll but the logo stays where it is. so far so good….
    now i select all the four elements again and go to the scroll effecs tab. at "final motion", i click the down arrows and enter 1x. I hit Preview…
    when i am scrolling down the WHOLE logo goes down…. so far so good.
    NOW i want the first part of the logo to go down, THEN the second part to go left, THEN the third part to go up, THEN the fourth part to go right.
    so i select ONLY the first part, go to the scroll motion tab, at "final motion" i click the left arrows, then i enter 1x.( the up-down value, i set to 0 again).. i hit Preview…
    the first part of the logo goes left as soon as i start scrolling, the other three parts still go down at the same time…
    NOW i want the second part of the logo to start moving, when the first part has left the scene, not at the same time as the first part.
    SO I SELECT THE SECOND PART AND DRAG ITS T-HANDLE (KEY POSITION) DOWN TO, LETS SAY, 200PX. SO IT STARTS MOVING ONLY AFTER THE CUSTOMER HAS REACHED THAT POINT, RIGHT?
    BUT WHEN I PREVIEW THAT ****, THE LOGO IS NOT TOGETHER ANYMORE, THE SECOND PART IS FLOATING ANYWHERE ELSE BUT WHERE IT SHOULD BE…..WTFF????
    short: when i move the t handle, the initial position of the object changes. thats what i said to the adobe employee, but he said, that thats the expected behavior….
    but if thats so, how can i have my four parts correctly together, so they form my logo, but with different t handles, so that they all start to move at different times??
    Pleeease help me, i am dying of frustration here…..:( that behavior cant be right, right?
    Thanks so much to everyone who actually reads this post and tries to help…….
    All the best,
    Niki Lapan

    Thank you so much for helping,
    But i really wonder how you did that. did you always switch between design view and preview view, then change the key position for 2px then switch back, to align the four letters? because i imagine that can get really frustrating, if you have a logo consisting of 58 parts instead of 4!:)
    Anyway thank you very much for your time and effort!!!!

  • HT5622 Can I have two apple id's on the same iPad. Example me and my spouse want to share the iPad but have different id's

    Can I have two apple id's on the same iPad. Example me and my spouse want to share the iPad but have different id's

    iOS does not support multiple users like a desktop OS does.
    You can use a web interface to your respective email accounts
    to keep things separate; but there is no provision for otherwise
    separating photos, media, etc.
    If you wish, you can contact Apple to let them know of your desire:
         www.apple.com/feedback

  • HT201210 Brand new iPod touch, everything appears like a photo negative .for example video and photo .cannot see how to rectify

    My new ipad touch was delivered sat 1st February 2014 , after charging it I proceeded to install various items . All ok apart from everything viewed appears like a negative picture, for example photo and video . Google earth  , streaming tv etc . Tried adjusting contrasts and brightness , please help

    Seems like Invert Colors is turned on in Settings>General>Accessibility. Check and see

  • Call List Management and Interactive Script Editor Examples

    Hello All,
    Can any one provide docus on Call list management and Interactive Script Editor Exercises or any examples how to implement them.
    kindly m a i l me: r a j . k a n d i AT y a h o o . c o m
    Cheers Raj.

    Muneeb,
    I have found what looks like a solution for marketing attributes.
    Marketing attribute in the text field, interactive script
    However, even though I followed this It is still NOT updating the marketing attributes for the given BP.
    Also, I am no further forward in knowing how to add BDC Field entries in the Answer so that we can update BP fields like the preferred communication method etc.
    I would like to hear from you if you have found a solution Muneeb.
    With regards
    Jason

  • I keep getting an intermittent error on web pages where a blue box with a question mark appears instead of pictures.  For example Facebook and Zappos would load normally on one visit, but if I visit other websites and return I get the blue box.

    I keep getting an intermittent error on web pages where a blue box with a question mark appears instead of pictures.  For example Facebook and Zappos would load normally on one visit, but if I visit other websites and return I get the blue box instead of pictures. If I restart the problem will go away temporarly. However, normally returnes in time.

    HI,
    From the Safari Menu Bar click Safari/Preferences then select the Appearance tab. Tick the box next to: Display images when the page opens.
    If that box is already ticked, from the Safari Menu Bar, click Safari / Empty Cache. When you are done with that...
    From the Safari Menu Bar, click Safari / Reset Safari. Select the top 5 buttons and click Reset. Relaunch Safari. If you still have problems loading images, go here for trouble shooting 3rd party plugins or input managers which might be causing the problem. Safari: Add-ons may cause Safari to unexpectedly quit or have performance issues
    Web pages now include a small icon or 'favicon' which is visible in the address bar and next to bookmarks. These icons take up disk space and slow Safari down. It is possible to erase the icons from your computer and start fresh. *To delete Safari's icon cache using the Finder, open your user folder, navigate to ~/Library/Safari/ and move this file "webpageIcons.db to the Trash.*
    Make sure Safari is not running in Rosetta. Right or control click the Safari icon in your Applications folder then click Get Info. In the Get Info window click the black disclosure triangle so it faces down. Where you see Open using Rosetta... make sure that is NOT selected.
    If you still have problems, go to the Safari Menu Bar, click Safari/Preferences. Make note of all the preferences under each tab. Quit Safari. Now go to ~/Library/Preferences and move this file com.apple.safari.plist to the Desktop. Relaunch Safari. If it's a successful launch, then that .plist file needs to be moved to the Trash.
    Carolyn

  • "b2b/admin/index.jsp" and "XCM" throwing error

    Hi,
    I am trying to set up my local NWDS with sneak preview of SAP WEB AS 7.0 SP9.
    I have deployed
    SAP-SHRAPP - SP12
    SAP-CRMDIC - SP12
    SAP-SHRWEB - SP12
    SAP-SHRJAV - SP12
    SAP-IPCMSA - SP12
    Now I am trying to access "http://<host>:50100/b2b/admin/index.jsp"; and I am not getting any thing on it. i.e. no content at all. Only SAP header and "Main Menu" text on left frame and then nothing on page.
    When I try to access "http://<host>:50100/b2b/admin/xcm/init.do";  or "http://<host>:50100/b2b/b2b/init.do"; I am getting below error.
    Application error occurred during request processing.
      Details:   Error [javax.servlet.ServletException: Initialization of Extended Configuration Management failed.].
    Exception id: [00A0D12CD9A9004F0000032300001358000458B1834E9FB5]
    I do not know why I am getting this error. Am I forgot some component to deploy along with mentioned above.
    Please let me know what I can do to resolve this issue.
    I really appreciate any help or guidance to resolve this issue.
    Thanks.
    Ecommerce Developer

    Hi Devender,
    Thanks for your reply.
    I have installed Sneak Preview NW2004s 7.0 SP9 on my lap top and I have deployed below component on my laptop through SDM.
    SAP-SHRAPP
    SAP-IPCMSA
    SAP-SHRJAV
    SAP-SHRWEB
    SAP-CRMDIC
    SAP-CRMAPP
    SAP-CRMJAV
    STRUTS
    TEALEAF
    All are SP12
    After deploying all above SCA files still I am getting only Header and Main Menu text when I access "http://localhost:50100/b2b/admin/index.jsp"
    When I try to access "http://localhost:50100/b2b/admin/xcm/init.do" I am getting same error which I have mentioned.
    No change at all.
    Can you tell me am I still missing some components?
    Please guide me.
    Again thanks for your help and time.
    Regards.
    Ecommerce Developer

  • I have a CC student membership for one year, but I can only download trial versions of for example illustrator and indesign (30 days). How do I solve this problem?

    I have a CC student membership for one year, but I can only download trial versions of for example illustrator and indesign (30 days). How do I solve this problem?

    If there is no billing issue,
    Creative Cloud applications unexpectedly revert to trial mode | CS6, CCM
    If you use Photoshop at all, you may need to install the latest update to resolve this issue. See this blog post for more information:
    http://blogs.adobe.com/crawlspace/2013/01/photoshop-13-0-413-1-2-updat es-now-available.html
    If you do not have Photoshop, then try the solution that others have mentioned previously:
    Open the Adobe Application Manager (AAM).
    If applicable, let AAM complete any automatic updates and restart itself.
    Sign in with your Adobe ID. (Optionally, you can close AAM at this point.)
    Open a CS6 application (e.g. InDesign CC).
    If prompted (e.g. you get the trial screen), click "License This Software" and sign in with your Adobe ID.
    Refer to: Re: Top Ten Questions About Creative Cloud
    creative cloud software says my free trial has expired, but I have a paid subscription
    Regards
    Rajshree

  • Need a click and drag script for multiple layers.

    Hi. I'm realitivly new to Flash and Action Script.
    For a Majour project school asignment i am trying to create an interactive map for a hypothetical theme park, and i'll cut to the chase, i need a script that allows the player to drag the content of two or three layers around the screen upon mouse click, similar to this example:\
    http://www.dreamworld.com.au/content/drw_2008_shopping.asp?name=ParkMap
    I will have a layer for buttons (probably called Buttons) and a layer for the map graphic (Probably called Map), similar to this tutorial:
    http://www.republicofcode.com/tutorials/flash/interactive_map/
    If anyone could produce, or has a script lying around that could do this; i would really apreciate it.
    This assignment has a large impact on my UAI (universities admission index).
    Thanks for your time,
    Pat

    Thanks for your help. I really appreciate it.
    The problem is; this is the script i am using to make the map interactive:
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    var cities:Array = ["muscat", "sohar", "dubai","abu_dhabi"]
    function mover (targetX, targetY){
    currentX = marker_mc._x;
    currentY = marker_mc._y;
    var xTween:Tween = new Tween(marker_mc, "_x", Strong.easeOut, currentX, targetX, .5, true);
    var yTween:Tween = new Tween(marker_mc, "_y", Back.easeOut, currentY, targetY, 1.5, true);
    for (var i = 0; i<cities.length; i++){
    var my_btn = this[cities[i]+"_btn"];
    my_btn.myCity = cities[i];
    my_btn.onRollOver = function() {
    mover( this._x, this._y);
    marker_mc.gotoAndStop(this.myCity);
    And when the buttons are made to be part of a movie clip with the image i am using for the background this script does not work.
    The script is located in a layer called "Actions", if that is of any help at all.
    Any ideas?
    I am sorry if I am being a newsense.
    Thanks

  • Adding AdSense and Other Script Based Items to iWeb Websites

    For all those who are trying to figure out how to add AdSense and other script based content, here is a tutorial on how to do so. You can see this article with graphics and other niceties on my website:
    http://keylime.ca/adsense%20on%20iweb.html
    For now, here is the text-only version.
    The following is a simple step by step how-to for adding script based items to iWeb based websites easily and quickly.
    First things first, you need a tool to use for finding and replacing text in numerous files quickly and easily. This one works great, and is free:
    http://lonestar.utsa.edu/llee/applescript/simplefindreplace.html
    This tutorial will show you how to add AdSense banners--but you could easily add any sort of script based content with the same instructions.
    1. Open your iWeb project.
    2. Click on the Inspector. Click on the Page properties icon.
    3. In the Header Height field, increase it enough to add your AdSense banner. The banners are of various sizes. You should know this value from when you generated your AdSense code.
    4. Add a Text item to your page. Make the text item as large as your banner.
    5. Add a unique string to your text item, such as mywebsitenamegoogleads. It is vital that the text string be unique and not be anywhere else in the page. The string must be the same in each text item on each page you will be adding AdSense banners to. You can center the text, but no not vertically center it. Vertically centering the text will turn the text item into a PNG file as opposed to a document division!
    6. Cmd-Click the text item and drag it into the header. Cmd-Clicking an item allows you to move it into a footer or header.
    7. Repeat steps 1 through 6 for each page you will be adding AdSense banners to. Take note: Once you lay out your page header, you can select all of it, copy, and paste it to each page. iWeb remembers its original position, so you don’t have to move it around!
    8. Publish your site to a folder. It is against the terms and conditions of .mac to have ads on your .mac account, so you will have to put your site on a regular server.
    9. Open Simple Find and Replace.
    10. Drag and drop the folder you published your website to into the target field in Simple Find and Replace.
    11. Put your unique string from step 5 into the Find field.
    12. Put your AdSense code into the Replace field.
    13. Click Start Replacing.
    14. Put your website online. That’s it!
    I hope Apple decides to integrate a tool to make this easier!
      Mac OS X (10.4.5)  

    Should be the same process whether you publish to .Mac or any other host. You're dealing with the same files in either case. Just follow the directions and you'll do just fine! Good luck!
    James
    ==> www.DirtDoog.com <==</a>    
    Place A Virtual Pin On Putt-Putt's GuestMap!

  • To View Calc Scripts and Report scripts via MaxL or Esscmd

    Hi all,
    Can somebody tell how to read any calc script or report script in any database with the help of MaxL or Esscmd?
    For example if there is any .csc or .rep file, I want to read the context of the file i.e. the script that is written in the file. Is it possible via MaxL or Esscmd?
    Does Hyperion supports this functionality?
    Regards,
    James

    You know that calc and report scripts are text files, right?
    They are typically stored in the database directory, although that is not a requirement; they can be stored in other client-accessible directories and run from there.
    I haven't done it in ages, but is also possible to pass calc and report scripts to Essbase via the API. I can't remember if the API will let you enumerate calc scripts from the database directory. I sort of strongly think yes. Someone who is more knowledgeable will either correct or refute that statement pretty soon. :)
    If you want to list the objects (calcs or reports): http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/techref.htm
    A few things that you can do with MaxL re calc scripts:
    1) execute calculations, including a string that you pass through MaxL: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/excalc.htm
    2) delete calculations: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/drpcalc.htm
    3) list the calcs: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/dispclc.htm
    4) create the calc: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/crecalc.htm
    Report scripts are sort of a poor relation in MaxL (and were in Esscmd as well). You can basically only run a report as kind of export: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/exprt.htm
    So, I think it's mostly there, especially the display object command. BTW, if MaxL can list it, the API can too -- how else does MaxL work?
    Regards,
    Cameron Lackpour
    Edited by: CL on Dec 1, 2008 11:53 PM
    Didn't post the right URLs. Now fixed. CL

  • Userexits and sap scripts in PP module

    Can anyone give me some examples of user exits and sap scripts in PP module? I need it for my resume. I appreciate your responses.

    Dear,
    Principle of Dual Control provides an application the option of validating certain process flows with a principle of multiple control.
    Please refer this link,
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PPPDC/PPPDC.pdf
    Regards,
    R.Brahmankar

  • Fx:include and fx:script - when is the included fxml file parsed?

    I'm curious to know when an included (via fx:include tag) fxml document is parsed and if a script defined in the main fxml document can reference elements from the included document. The example below results in the following error message: +"sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "loadOrdersButton" is not defined. (<Unknown source>#2) in <Unknown source> at line number 2"+
    Example:
    Main.fxml
    The script fails to find the loadOrdersButton defined in HeaderFields.fxml. (Yes the button's fx:id is set to loadOrdersButton)
    <?xml version="1.0" encoding="UTF-8"?>
    <BorderPane prefHeight="800.0" prefWidth="1200.0" xmlns:fx="http://javafx.com/fxml">
        <top>
                <fx:include source="HeaderFields.fxml">
                    <fx:script><![CDATA[
                        loadOrdersButton.setVisible( false );
                    ]]></fx:script>
                </fx:include>
        </top>
        <center>
        </center>
    </BorderPane>
    HeaderFields.fxml
    <?xml version="1.0" encoding="UTF-8"?>
    <AnchorPane xmlns:fx="http://javafx.com/fxml">
      <children>
        <Pane>
          <children>
            <Button fx:id="loadOrdersButton" />
          </children>
        </Pane>
      </children>
    </AnchorPane>

    I'm curious to know when an included (via fx:include tag) fxml document is parsed It is parsed as soon as it is encountered. In other words, the include is fully processed before the next element in the including file is processed.
    and if a script defined in the main fxml document can reference elements from the included document.It cannot. FXML IDs are considered "private" to the document and its associated controller (or any script code directly defined or referenced by that document). It is not possible to "inject" script code into an include as you appear to be attempting to do here.
    However, an include's controller is accessible to the including document. So if the controller for HeaderFields.fxml exposed a "loadOrdersButton" property via a getLoadOrdersButton() method, you could do something like this:
    <fx:include fx:id="headerFields" source="HeaderFields.fxml"/>
    <fx:script><![CDATA[
        headerFieldsController.loadOrdersButton.setVisible(false);
    ]]></fx:script>Of course, another option is to simply include the script in the HeaderFields.fxml file itself:
    <Button fx:id="loadOrdersButton" />
    <fx:script><![CDATA[
        loadOrdersButton.setVisible(false);
    ]]></fx:script>But I'm assuming there's some reason you don't want to do that.

  • Portlets and Remote Scripting

    My questions center around whether Portlets that adhere to the WSRP or JSR 168 specifications can also employ technologies like remote scripting without causing the Portal to rebuild the entire page. I've already had some discussion with the JSR-168 group and it seems that JSR-168 and Remote Scripting don't play well together. However, I haven't received a fully satisfactory response from the Sun folks and am hoping the Plumtree Portlet folks can shed some light on this issue.
    I'm using the term "remote scripting" in the broadest possible sense to include technologies where a sub-section of a markup fragment (<span> or <div>) is dynamically updated via an asynchronous, background call to the server.
    The point of "remote scripting" is to avoid reloading the entire Web page in order to provide a richer user experience than a typical Web page. This is the technology behind the "rich internet application" movement a la Macromedia, Laszlo Systems, etc. where single-page experience is the foundation.
    I have two specific examples of Remote Scripting in mind:
    a) JavaScript remote scripting (JSRS) is a JavaScript framework that uses a hidden IFRAME embedded into the Portlet markup fragment to make asynchronous calls to the server to dynamically update sections of the Portlet without reloading the entire Portlet. Briefly, JSRS works as follows: 1. JSRS uses a hidden IFRAME to make background calls to the Server 2. JSRS sets the URL for the IFRAME's src to invoke a Servlet; updating the SRC in JavaScript triggers a call to the Server. 3. The response written by the Servlet is just HTML that uses an onLoad JavaScript event handler to callback into the JSRS framework 4. The onLoad event is fired when the browser loads the new page for the hidden IFRAME, this triggers the JSRS callback mechanism that allows my Portlet to update a section (using a SPAN or DIV) on the Portlet in a dynamic, asynchronous manner. (see Brent Ashley's JSRS site: www.ashleyit.com/rs)
    b) Flash Remoting. If my Portlet is a Flash Movie (the HTML fragment generated by the Portlet uses a Object/Embed tags to include an SWF), then the Flash Movie could use an XMLSocket object in ActionScript or the Flash Remoting API to talk to a Web service to dynamically update sub-sections of the Portlet, such as dynamically populating a ListBox in response to some user action.
    I have three (3) questions:
    1) From a cursory reading of the JSR-168 specification, it seems that all action-oriented URLs embedded in a Portlet must be Action URLs that have been re-written by the Portlet Container to force all traffic from Portlets back through the container. Is this a true statement?
    In other words, is a Portlet allowed to make any server requests that do not use a re-written Action/Render URL? For example, POST to a Servlet running in another Web application in the same WebLogic instance? I understand there are single sign-on issues that need to be addressed, but assuming you configure the application server so that security credentials propagate from the Portlet to this other Servlet, can you do this?
    2) Is there a way to update sub-sections of a Portlet without having the Portlet Container reload the entire page? In other words, does the JSR-168 specification have any provisions for using remote scripting inside a Portlet?
    My sense is that the two techologies "standard portlets (JSR-168 or WSRP)" and "remote scripting" are incompatible at this time. This is a shame because it means that providing a rich Internet application experience in a portal will require developer's to abandon these specifications in favor or Portal Server specific approaches.
    3) Lastly, does Plumtree have a solution to address this problem--i.e. if I build a Plumtree specific Portlet using your SDK, can I use remote scripting?

    A few issues:
    1. The idea of remote scripting runs counter to the idea of processAction. That is, processAction is blocking and expects other portlets on the same page to redraw after processAction is completed for the target portlet. Remote scripting means refreshing in place with no impact on other portlets. So it's difficult to see how remote scripting could be integrated into the specification.
    See PLT.5.2.4:
    If the client request is triggered by an action URL, the portal/portlet-container must first
    trigger the action request by invoking the processAction method of the targeted
    portlet. The portal/portlet-container must wait until the action request finishes. Then, the
    portal/portlet-container must trigger the render request by invoking the render method
    for all the portlets in the portal page with the possible exception of portlets for which
    their content is being cached.The render requests may be executed sequentially or in
    parallel without any guaranteed order.
    2. Plumtree specifically does not use the servlet container for the values of getRemoteUser() and isUserInRole(). This is because:
    (a) our users expect to get the authenticated Plumtree user.
    (b) The ways that users can be authenticated in a servlet container is specific to that vendor and version. For example, Tomcat returns whether the user is authenticated as well as the roles when the user logs in. BEA sets the roles in a weblogic.xml file. In other words, there is no uniform api for all servlet container vendors at this time. As a result, many web application authors will use their own mechanism (e.g. authenticate against LDAP), rather than release multiple versions of their product for each app server and version.
    3. To reference another servlet, make sure that the url to the servlet is in the gateway space, and then use the EDK to get the remote user name. This will return the same value as getRemoteUser in the jsr-168 portlet. If you just call getRemoteUser() on the servlet, it will return null, as we did not authenticate against the servlet application, we authenticated against the portal.
    Hope this helps.

Maybe you are looking for

  • How to download a file from my site

    This is the most basic of problems. I have a one-page site. I have uploaded a folder of images, and made a link to that folder from the home page. The folder with its files show up in DW in the Remote Server. The link shows in the Property Panel. I w

  • ADF and Skins

    I am trying to modify a JSF page using ADF skins. While the modification works for most of the other artifacts, the changes (changing the font to bold and color change) are not getting reflected for menus. If I do these changes directly(making the fo

  • Does the original Xserve Raid (2003) support 750Gb drives.

    Is the latest firmware compatible with the original Xserve Raid, thus supporting 750Gb discs? Thanks in advance.

  • My system keeps freezing. how do I run disc repair?

    Processor  2.16 GHz Intel Core 2 Duo Memory     1GB 667 MHz DDR2 SDRAM Startup Disk   Macintosh HD   Model Name:          iMac   Model Identifier:          iMac5,1   Processor Name:          Intel Core 2 Duo   Processor Speed:          2.16 GHz   Num

  • I am currently trying to instal the new Mac OS X Lion

    I am currently trying to instal the new Mac OS X. I have fully downloaded the software and in the process of preparing the installation the loading screen goes down to 1 second remaining before the computer is restarted and then stops. It will not re