[NEWBIE] basic config.xml

Hi Experts,
I'm just really new to the ISA framework and I have a simple question.
I have the following below in config.xml:
          <action path="/b2b/init" type="com.sap.isa.core.InitAction" validate="false">
               <forward name="success" path="/b2b/coreinit.do"/>
               <forward name="sessionLogging" path="/admin/sessionLogging.do"/>
               <forward name="heartbeat" path="/admin/heartbeat.jsp"/>
          </action>
          <action path="/b2b/coreinit" type="com.sap.isa.isacore.action.IsaCoreInitAction">
               <forward name="success" path="/user/performLogin.do"/>
               <forward name="darklogin" path="/user/performLogin.do"/>
          </action>
Can you please tell me what happens here?
If I go to the URL: https://localhost:50001/myapp/b2b/init.do 
1. How will InitAction know if it goes to success or suessionLogging or heartbeat?
2. How will IsaCoreInitAction know if it goes to success or darklogin?
3. Where can I find the action of /user/performLogin.do ?
Thank you sirs/madams.
Edited by: jemaru on Mar 1, 2010 9:16 PM

Hi Jemaru,
If you are using NWDS then try to open code by pressing 3 keys together  CTRLSHIFTT it will open Open Type box and here you can type InitAction or IsaCoreInitAction and open source file.
You can put break point and run Application in debug mode. to see how control is passing in each class.
Answer for your questions...
1. How will InitAction know if it goes to success or suessionLogging or heartbeat?
Open InitAction in NWDS put break point inside first line of perform method and then run debug and run application on your local. It will give you an idea how process happens line by line. There are so if and else so it depends on your XCM settings.
2. How will IsaCoreInitAction know if it goes to success or darklogin?
Do same as described for 1. Here put break point in doPerform method in IsaCoreInitAction
3. Where can I find the action of /user/performLogin.do ?
You can open project crmtcwebuser~sap.com in NWDS. Open WEB_INF folder. You will find config_user.xml file.
You will able to find below lines.
<!-- entry points -->
          <action path="/performLogin" forward="/relogin/setcookie.do?forward=success"/>
          <action path="/performLogoff" forward="/logoff.do"/>
ISA application use many other configuration XML file other then config.xml
You can find all those other XML files name in web.xml file.
Below are lines from web.xml file
<init-param>
            <param-name>config</param-name>
            <param-value>/WEB-INF/config.xml,/WEB-INF/xcmadmin-config.xml,/WEB-INF/ccmsims-config.xml,/WEB-INF/ipc-config.xml,/ipc/customer/config.xml,/WEB-INF/config_lwc_b2b.xml,/WEB-INF/scheduler-config.xml,/WEB-INF/ipcpricing-config.xml</param-value>
        </init-param>
        <init-param>
            <param-name>config/user</param-name>
            <param-value>/WEB-INF/config_user.xml</param-value>
        </init-param>
        <init-param>
            <param-name>config/dealerlocator</param-name>
            <param-value>/WEB-INF/config_dealerlocator.xml</param-value>
        </init-param>
        <init-param>
            <param-name>initconfig</param-name>
            <param-value>/WEB-INF/xcm/sap/system/init-config.xml</param-value>
        </init-param>
I hope this will help you.
eCommerce Developer

Similar Messages

  • OAM - Basic Auth dialog continues to show despite config.xml changes

    I have set enforce-valid-basic-auth-credentials to false in config.xml of the application domain I am running some apps from.
    The applications are all configured for BASIC authentication.
    <login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>myrealm</realm-name>
    </login-config>
    The problem is that after logging on from the OAM default FORM page the Basic Authentication dialog is still being presented.
    I have referenced the following SR's to try find more info:
    OIM/OAM SSO Weblogic Authentication Pop up After Login [ID 1081011.1]
    OAM Configuration Steps Needed to Prevent a Second Authentication Prompt by Weblogic [ID 559442.1]

    The issue has been resolved.  There was no interesting work-a-round or fix involved.

  • ADF:How to use NavigationHandler in Phase-Listener with adfc-config.xml

    Hi,
    in our application a user should be navigated to the login-page, when he tries to navigate directly to a page where he has no right for or if the session is expired.
    Our navigation is complete in the adfc-config.xml. So I created a phase-listener, which is called by the adf-settings.xml.
    Inside the phase-listener I'm checking the rights. If the user doesn't have the needed rights, he should be linked to the login page. But how can I do that?
    Some days ago our navigation has been complete in the faces-config.xml. But now we moved the navigation to the adfc-config.xml, because we are sure that it's better. E.g. for using the dialog framework.
    In the face-config.xml we had also the call of the phase-listener. There we did the forwarding like this and it worked:
    FacesContext facesContext = FacesContext.getCurrentInstance();
    facesContext.getApplication().getNavigationHandler().handleNavigation(facesContext, null, "login_page");But now I think I have to use the ADFContext somehow, or?
    So how can I do that with the adfc-config.xml?
    Thanks a lot for your help,
    Bastian
    I'm using JDeveloper 11g Release 1 (11.1.1.3.0)

    Hello Frank,
    thanks for your answer, but it doesn't really help me, because I'm a newbie, sorry.
    Does your answer mean, that I should leave the call of the phase-listener in the faces-config and then I would also have access to the login-page, which is in the adfc-config?
    Or does it mean, that I call now my phase-listener by adf-settings but don't have to change the phase-listener itself and can still use my code (FacesContext...)? But that's not working. I get no error but he is also not redirecting.
    Maybe my problem starts on an earlier point.
    Is it better to create all pages in the adfc-config or faces-config? (Maybe you have a good reference for reading about such a basic discussion)
    I thought adfc-config would be the better one. But there I'm not able to redirect to another page (login) if somebody calls a special page without rights for example.
    So my second basic question would be about the relation of adfc-config, faces-config and ADFContext and FacesContext.
    Because I think it's not a short answer I hope you could give me also for this a reference so that I can read these basics myself.
    Thanks a lot for helping a newbie becoming better :-)
    Bastian

  • Office 2013 - OSD - Specify different config xml

    Hi Guys
    I want to deploy Office 2013 in different languages to different users. It seems there are a few ways to do this. But I am thinking I want to package all languages I need into one Office install package and then in the task sequence have groups for countries.
    Each country has a variable to specify which config.xml to use. Is this possible or is there a better way?
    (I just need to know how to point to the correct xml in the package, kind of like the unattend file) I know the rest if this is the way.
    ie.
    -France
    ---ConfigFR.xml
    -Germany
    ---ConfigGe.xml
    Sweden
    ---ConfigSE.xml
    Thanks
    NN

    Hi
    I know the original question has been answered, but I have a follow up question.
    I am deploying Windows 8.1 Update using custom variables to install Windows language packs and Office Language packs dynamically based on rules. Running just one language works fine. But if I have a multiple language package deployed to Windows the
    Office DTs do not pick this up (each DT is currently working of one language per DT and using operating system language to install the correct xml).
    See here:
    These are the DTs
    After doing a bit more reading. I now know I need to setup the rules differently. Can I set the rules to be English and Swedish install DT1, and English and Romanian install DT 2, English alone install DT 3 etc?
    I basically need an "AND" rule.
    thanks again
    NN
    *you may have to zoom to see the larger image.

  • Where can I find the config.xml file for my Edge project?

    Or is that a nonsensical question?
    Basically, I am producing a very simple iPad app using Edge and PhoneGap Build. It's all good to go apart from the orientation - I want to be able to lock it to portrait. On researching, it appears that I need to specify the web build/app as portrait in the config.xml file - so where would I find this?
    Thanks!

    I am not familiar with the phonegap process but I suspect the file you should be attempting to modify is called manifest.xml.
    Example, see someone else's solution posted here. jQuery Mobile lock orientation - Stack Overflow
    hth
    Darrell

  • Help With wscompile On A config.xml

    Hello,
    I'm a newbie to Jax-rpc, so please bear with I'm having
    difficulties compiling this config.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <service name="GetTenQService"
    targetNamespace="http://localhost/getTenQ.wsdl"
    typeNamespace="http://localhost/getTenQ/types"
    packageName="getTenQ">
    <interface name="getTenQ.JaxRpcGetTenqI"
    servantName="getTenQ.JaxRpcGetTenqImpl"/>
    </service>
    </configuration>
    I tried running >wscompile.sh -gen:both -keep -d classout -model wscmodel.xml.gz config.xml
    and I'm seeing the following error message:
    error: RmiModeler error: java.lang.ClassNotFoundException: getTenQ$JaxRpcGetTenqI
    What am I doing wrong? Any info would be appreciated.
    A.
    P.S Where are the docs for coding the config.xml
    and jaxrpc-ri.xml?

    Thanks for the reply. I was already specifying the
    -cp or -classpath. Turns out when using either
    option they need to be the first arg passed to
    wscompile

  • Sun-faces-config.xml question

    Hello all,
    maybe this question is a bit silly, but i�m a newbie to this. I�m developing a complib file with a custom component; and I want to add custom properties to it. As far as I�ve done, i�m able to add custom string properties via the "StringPropertyEditor"
    All this is done in the sun-faces-config.xml file, and when I declare a property which can be set via a combo-box, this is, with a "SelectOneDomainEditor" in the sun-faces-config.xml, I don�t know how to populate this combo with data to be shown so it can be selected in the properties window.
    I�d be truly grateful to anyone who can help me out, maybe a short sample or fraction of a sun-faces-config would be fine.
    Thanks everyone in advance, and sorry for the long read,
    MANUEL ANS�N.

    Hi ,
    The follwing link may probably answer your query.
    http://swforum.sun.com/jive/thread.jspa?threadID=50215&tstart=15
    Regards.,

  • Forward to Tiles definition from faces-config.xml

    Hello,
    can anybody explain me how to make a forward to a Tiles definition from the faces-config.xml file? I�m using MyFaces with Tomahawk and Tiles, but I also tried with Jsf without myFaces and lots of combinations but I can�t fix it.
    Here is my faces-config file:
    <faces-config>
    <navigation-rule>
    <from-view-id>/pages/JP000.jsp</from-view-id>
    <navigation-case>
    <from-outcome>loginFrm</from-outcome>
    <to-view-id>/JP002.tiles</to-view-id>
    </navigation-case>
    </navigation-rule>
    <application>
    <view-handler>org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl</view-handler>
    </application>
    </faces-config>
    and this is the tiles-defs.xml:
    <tiles-definitions>
         <!-- === layouts === -->
         <definition name="general.menu"
              path="/pages/tiles/templates/general.menu.jsp">
              <put name="titleHTML" type="string"     value="mi_title" />
              <put name="menu" value="/pages/tiles/menu.jsp" />
         </definition>
         <!-- === pages === -->
         <definition name="JP002.tiles" extends="general.menu">
              <put name="titleHTML" type="string"     value="mi_title" />
              <put name="content" value="/pages/menus/JP002.jsp" />
              <put name="menu" value="0" />
         </definition>
    </tiles-definitions>
    Lots of thanks!!!!

    Today I downloaded tomahawk-examples-1.1.5-bin. (http://myfaces.apache.org/download.html). They have one example with tiles, and it works the way I want it to.
    I'm still trying to figure it out what is causing this behaviour.
    At least, I tried to change the value they're using for linkage between <to-view-id> and tiles definition, and found that JSF is still ignoring the real value in <to-view-id>
    : it was originally 'blah.jsp', but 'blah' or 'blah.tiles' worked the same way, while in tiles definition the corresponding name was always blah.tiles.
    It seems that they are looking into tiles definitions first with the key composed of the first part of the value in <to-view-id> (before the dot) concatenated with hardcoded '.faces'.
    I tried to change the key value in both config files to something like 'blah.ttt', and it did not work.
    I'm not sure at the moment if this would be a problem for me, I may use this framework, knowing the limitations.
    Also, I'll look into the code, if this may be altered and at what cost.
    Still, the basic jsf problem with always interpreting the value in <to-view-id> as blah.jsp remains.

  • Forward tag in struts-config.xml file

    Hi,
    Well.. I am a newbie to Struts. Not exactly a newbie but have done little bit of work in it. I am stuck at a particular point. I am sure you can help me..
    The <forward name=�abc� path=�/abc.jsp� /> in struts-config.xml is used for redirection. In the action class the abc is used in the findforward method. But this can be used only when you want to simply redirect a page to another. I want to do the same but I want to redirect the page using a query string.e.g http://servername:port/abc.do?val=123 something like that. How will I do this?
    Thanking you in Advance

    Hi,
    Well.. I am a newbie to Struts. Not exactly a newbie but have done little bit of work in it. I am stuck at a particular point. I am sure you can help me..
    The <forward name="abc" path="/abc.jsp" /> in struts-config.xml is used for redirection. In the action class the abc is used in the findforward method. But this can be used only when you want to simply redirect a page to another. I want to do the same but I want to redirect the page using a query string.e.g http://servername:port/abc.do?val=123 something like that. How will I do this?
    Thanking you in Advance
    Pradnya

  • Urgent : Content-config.xml

    Hi,
    Is there any way I can dynamically populate datasource JNDI Name and Content Table name in content-config.xml.
    E.g Consider below content-config.xml , in this xml datasource JNDI "jdbc:weblogic:pool:test_JNDI" is hard coded. Is there any way I can pick this value from external system like <value>${JNDI}</value>
    where JNDI has value "jdbc:weblogic:pool:test_JND" which will be stored in external file.
    Similary for Content Data tabel
    <value>${content}</value> where content will be Content_Data which will be stored in external file.
    <content-store>
              <name>Test_Content</name>
              <description>Test Repository</description>
              <class-name>
                   com.documentum.beaspi.webcache.WebCacheRepository
              </class-name>
              <repository-property>
                   <description>docTypes</description>
                   <name>docTypes</name>
                   <value>Content_Data</value>
              </repository-property>
              <repository-property>
                   <description>url</description>
                   <name>url</name>
                   <value>jdbc:weblogic:pool:test_JNDI</value>
              </repository-property>
         </content-store>
    Edited by: user11311969 on Oct 27, 2009 2:08 AM
    Edited by: user11311969 on Oct 27, 2009 2:10 AM

    I am agree with steve. : They cannot be launched standalone."
    I have added weblogic.jar in classpath now compliation error gone away But once I start the server I get following exception on server console.
    com.bea.content.RepositoryRuntimeException: Repository configuration error.
         at com.bea.content.manager.internal.RepositoryManagerImpl.getRepositoryOps(RepositoryManagerImpl.java:190)
         at com.bea.content.manager.internal.RepositoryManagerImpl.connect(RepositoryManagerImpl.java:137)
         at com.bea.content.manager.RepositoryManagerFactory.connect(RepositoryManagerFactory.java:46)
    javax.naming.NameNotFoundException: While trying to lookup 'TestPortalEar.BEA_con
    nt.RepositoryOpsHome' didn't find subcontext 'TestPortalEar'. Resolved ''; rema
    ing name 'TestPortalEar/BEA_content/RepositoryOpsHome'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic
    mingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav
    247)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j
    a:171)
    This exception occurs for statement
    RepositoryConfig repoConfig= vrMgr.getRepositoryConfig( context, "Test_Content" );
    Also I need to programmatically set "update entitlement" on Test_Content repository. How I can do this?
    Please extends your help to resolve this issue.
    Thanks for your help.

  • Hard-coded endpoint port numbers in services-config.xml

    Is it possible to remove hard-coded port numbers in
    services-config.xml and replace them with variables? I'd like to
    deploy the same Flex application War file (including
    services-config.xml within it) to our Dev, UAT and then Production
    environments, for which the endpoints and port numbers must vary.
    Re-building the app for each environment isn't desirable.
    Has anyone else achieved this?

    Maybe I can clarify what I mean. I'm assuming that basically
    the same war file needs to be deployed twice to the same app
    server, as in the original example, excluding changes to config
    files (e.g. editing xml=ok, recompiling jars/swf=not ok).
    The problem arises because if you were to change the config
    file to use another port, it wouldn't make a difference to the
    client app, which has the port and destination compiled in. You
    would need to compile the app twice, once with the first port, once
    with the second.
    So my workaround is to compile (not deploy) with a config
    file containing two sets of destination channels, then in your
    deployed config files you remove one of the sets.
    Assuming you want to deploy two instances of an app into a
    single app server, there will 3 different configs, one used just to
    compile, and one for each of the two deployed instances.
    Config A (compilation config files, used only to compile the
    flex application, not used during server start up) contains:
    my-rtmp1, my-rtmp2, my-destination1, my-destination2.
    Config B (server 1-debug) contains: my-rtmp1, my-destination1
    Config C (server 2-release) contains: my-rtmp2,
    my-destination2
    So when you deploy two instances with Config B and Config C,
    there is no port conflict. The Flex app then has some parameter set
    in the wrapper (or the absence of said parameter could be the
    indicator) to tell it whether to use my-rtmp1 or my-rtmp2.
    I just tested this and it worked. The way I tested was to add
    two buttons to a the Flex app, one which connects to
    destination1and performs a fill, one which connections to
    destination2 and performs the same operation. This Flex application
    was compiled with config A.
    I start a server with config B, and the application starts
    fine, and the first button gets the fill as expected. The second
    button instantly crashes the entire browser with an illegal memory
    access exception. The second set of dest/channels aren't listening,
    since the server doesn't know anything about them in it's config
    file.
    So on the bright side, that confirms to me that you can
    compile an app with redundant channels and destinations, then
    choose which destination/channel you want to use at runtime.
    On the down side, being able to consistently cause a crash
    like that usually isn't a good sign. I'll look again on Monday, and
    raise a Flash bug if it's still present in the latest version.

  • Services-config.xml documentation?

    Hello -
    I'm getting a bit frustrated, not being able to find any complete documentation for services-config.xml and related config files (remoting-config.xml, messaging-config.xml, etc). Anyone know where I can find that? All I can find are various blog posts that gloss over lots of details.  If it's in the Flex 4 docs, I sure haven't found it.
    Thanks in advance.
    Cory

    Thanks for the reply. I had incorrectly thought that the
    proxy was an embedded/transparent entity within the AIR engine. I
    had set the endpoint URI to be the webservice, not the URI of a
    some kind of AMF proxy.
    My initial goal was to be able to set HTTP Authentication
    Headers, as in 'Authentication: Basic ...'. I'd be a bad engineer
    if I set up a proxy just so that I could use
    AbstractWebService.set[Remote]Credentials(). My first attempt at
    not using a proxy was to do:
    var ws:WebService = new WebService();
    ws.useProxy = false;
    ws.wsdl = '...';
    ws.endpointURI = '...';
    var header:URLRequestHeader =
    new URLRequestHeader("Authentication", "Basic ...");
    ws.httpHeaders = header;
    The header was being ignored however. The documentation
    available to me isn't doing much to tell me if httpHeaders:Object
    wanted a URLRequestHeader or just a string, or just a name:value
    pair object ... none of them seem to make a difference. Is the
    httpHeaders parameter only used in the useProxy=true setting?
    Thanks again for the help. Any more help in pushing me in the
    right direction toward doing HTTP Authenticated SOAP communication
    would be greatly appreciated.

  • Dynamic struts-config.xml datasource

    Is there a way to setup my application so it can detect what server(testing or production) it is running on, and decide which database to point to without me having to change the config file when I deploy the app in a test or production environment? Basically, I would like to only have to build the .war file and place it either on my test server or production server and it point to the correct database without me having to fiddle with the config files every time. All ideas are welcome.
    Thanks.
    -PV

    Nevermind, I thought of another way of doing it. I'll add it to my build script. So I specify which struts-config.xml file should be used when I build the .war file.
    Thanks

  • Services-config.xml for AIR application

    Hello,
    I am relatively new to flex. I am primarily a .net developer. I want to know how can I make a sample applicaion which uses services-config.xml
    Is there a tutorial which can help me...
    Any help is appriciated on this.
    Regards,
    Pavas

    The information in the compiled swf needs to match the information used at
    server runtime. It basically uses the endpoint URL and perhaps a few other
    tidbits from the config.
    We have tokens in the URL for server, port and context root, which help the
    'portability' of the swf, but if you change the MessageBroker servlet
    mapping for instance, this will probably break the swf.
    You *can* however, control the endpoint used by the client by using
    Actionscript APIs (see the docs), but you still of course have to code that
    in to the compiled application unless you prompt the user for that info.
    Does that help?
    Tom Jordahl
    Adobe

  • [svn] 1705: 1) Add a security constrain for MBeanObjectNameResolver destination in remoting-config .xml for WebSphere deployment

    Revision: 1705
    Author: [email protected]
    Date: 2008-05-14 08:58:31 -0700 (Wed, 14 May 2008)
    Log Message:
    1) Add a security constrain for MBeanObjectNameResolver destination in remoting-config.xml for WebSphere deployment
    2) Update the MBean tests accordingly and correct a typo
    3) Also make some additional ProxyServiceMBeanTest to solve a timing issue when getting MBean attributes on WAS
    4) update the jgroups-udp.xml and set bind_to_all_interfaces to fall since it prevents server from startup when IPv6 is enabled on Windows
    Modified Paths:
    blazeds/trunk/qa/apps/qa-regress/WEB-INF/flex/jgroups-udp.xml
    blazeds/trunk/qa/apps/qa-regress/WEB-INF/flex/remoting-config.mods.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/MBean/proxyservice/HTTPDestinati onTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/MBean/proxyservice/ProxyServiceM BeanTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/MBean/proxyservice/SOAPDestinati onTest.mxml

    I guess the reason was that I wrote
    <login-config>
    <auth-method>Basic</auth-method>
    </login-config>
    instead of required
    <login-config>
    <auth-method>BASIC</auth-method>
    </login-config>
    At deploy time, I got no error message. At usage time, I just got this AccessLocalException. That's not really nice ...
    Merten

Maybe you are looking for

  • How can I stop safari opening with BTFon hotspot on my imac

    Every time I boot up, and open Safari, I get BT Fon as my home page. In my settings, I have yahoo set as my home page, but it makes no difference I always get the BT Fon page. I have tried opening the yahoo page and then going to "Make the current pa

  • Custom HTML meta tags in head section

    We want to add custom HTML code to our html-type (HTMLHelp, FlashHelp, WebHelp) output. We know how to add HTML code to the <body> section, by selecting from RoboHelp's main top menu "Insert > HTML". We also know how to add HTML code to multiple topi

  • XML Header information

    Mark, when i try to generate the xml from the database using XMLELEMENTS , i do not get the header information like. <?xml version="1.0" encoding="ISO-8859-1"?> And this becomeas aproblem to the parser which reads the files generated from my system.

  • What can i do to verify if my macbook is safe from hackers and intruders?

    someone help please. i'm very worried. it happens some strange things... very hard to me to explain here because of my bad english. It´s the first time i post a question here, so if some gentle soul can try to help me with my problem i'll try to post

  • OSX SQLPLUS error:ORA-12162:TNS:net service name is incorrectly specified

    Dear oracle community, just stepped today into oracle world. Installed OracleXE on my remote UBUNTU server. From the server, sqlplus works perfectly. From my client (followed this tutorial http://www.danilovizzarro.it/?p=10 ), i can connect via the s