How do we deploy several Web Services under the same Root Context?

We have several webservices, each in their own WAR file, running on OC4J 10.1.3. They each have their own Root Context and Oracle Welcome Servlet. This works well, and since they are all separate we can easily hot-deploy updated versions.
The drawback is separate URL's like :
.../RootContext1/WebService1
.../RootContext2/WebService2
.../RootContext3/WebService3
How do we assemble our Web Services to share a single Root Context? We are hoping to achieve URL's like this :
.../WebServices/WebService1
.../WebServices/WebService2
.../WebServices/WebService3
Do we have to bundle them all into the same WAR/EAR (and loose the power of individual deployment) or is there another way?
Thanks in advance!

If each one is a separate WAR file, then at the OC4J level each one will need a separate root context as it gets bound into the default-web-app.
I guess the corollary question here is if there is someway to combine multiple webservice endpoints into one WAR file -- which can then be mapped to a single root context.
I'll try and get someone more WS savvy than myself to take a look at this for you.
And Clever Apache is a viable option.
cheers
-steve-

Similar Messages

  • Deploying application with several web modules having the same context root

    Hi,
    I would like to be able to deploy an application in Weblogic 12c having one ejb module and several web modules with the same context root. Even though the web modules have the same context root, each of them is deployed to a different virtual host.
    Weblogic allows deploying the modules this way as long as their targets are different (i.e. each having a distinct virtual host). However this works only when I don't select a target for the .ear:
    Component Type Current Targets
    application.ear Enterprise Application (None specified)
    application.jar EJB AdminServer
    web1.war WEBAPP virtualHost1
    web2.war WEBAPP virtualHost2
    However if I select as target for the .ear to be AdminServer, the deployment doesn't work anymore, complaining that the context roots are in conflict.
    If I remove web2.war from the .ear and deploy the .ear and .jar to AdminServer and web1.war to virtualHost1, the deployment works but the strange thing is that the web application can be accessed also through the AdminServer's main network channel, even though I would expect that it should be accessible only through virtualHost1 network channel. I believe this is the reason why there are context root conflicts when specifying a target for the .ear, because both wars are made accessible to the main network channel.
    The reason why I want to keep the wars inside the same .ear is because I want to make them access the application's local EJBs (since as far as I know it's not possible to access a local EJB outside the application even if they belong to the same VM).
    Is there a way to deploy the web modules only to the virtual hosts without being targeted to the main network channel?
    Regards,
    Alexandru

    Murphy's Law: If anything can go wrong it will
    A corollary to Murphy's law: When everything fails, read the manual.
    Web application funda: Every web application must have its own context root. So, if wkfsocos is one
    web application then, wkfsocos1 is another web application -
    and hence must have its own context root.
    Hello Aman,
    If you are in E-Commerce version 4.0, then read this
    [ISA_Buildtool document |https://service.sap.com/~sapdownload/011000358700001920472003E/ISA_BuildTool_10.pdf]
    to create a copy of the application in its own context root.
    From your URL pattern I guess you are in E-Commerce version 4.0.
    If you are in E-Commerce 5.0 or above, then the
    [Extension Guide |http://service.sap.com/~sapdownload/011000358700006120622006E/]gives steps to create a copy with its own context root for use in modification.
    (See the chapter on - Creating a project specific Web Application with own context root )
    Both these links require access to SAP Service Marketplace. You can also find the
    documents through /instguides shortcut in Service Marketplace.
    Easwar Ram
    http://www.parxlns.com

  • Deploy a web service with the deploy tool (J2EE)

    Hi!
    I want to deploy a web service with the Deploy Tool (J2EE 1.4).
    (For info, I'm working on Win 2000.)
    I have the following error when I'm trying to deploy:
    distribute: C:\monHello2\monApp.ear
    Deploy action running...
    Deployment failed on target localhost:4848_server : Fatal Error from EJB Compiler -- jaxrpc compilation exception
    !!! Operation Failed !!!
    Someone can help me, please? What's the problem?
    Other question: when I create the WAR file, I have to add : my interface class, my implementation class, my others java classes, my WSDL file and my mapping.xml file.
    Should I add the .jar that is used by one of my class???? I think yes, but...
    thank you and excuse me for my english... ;o)

    Only primitive types can be returned? Is thatcorrect????
    true - for more details check out section 3.4.1.3 of
    this book which is available for purchase or online
    http://java.sun.com/blueprints/guidelines/designing_w
    ebservices/I meant to say primitive type and "special POJOs" called "JAXRPC Value Types" - check out the reference I listed

  • How to Create one more SOA-INFRA under the same domain in weblogic server

    Hi All,
    Can anybody can guide how to create one more soa-infra under the same domain. In order to maintain my composites to be deployed into
    different domains, I need to create one more soa-infra and deployed all the composites under that one.
    Please let me know if any demo is available for this activity to be gets completed.
    Regards,
    CH

    Hi Vijay,
    There are several composites which needs to be deployed and maintained in the server. So, we I'm trying to maintian
    by deploying composites into 3 different SOA-INFRA's so if one is not accessible, we can look into it and others can access the
    composites from another SOA-INFRA instead of creating domains.
    Let me know what will be feasible way to perform this activity.
    Regards,
    CH

  • Implementing differents web services in the same composite

    hi everybody,
    what are the bests practises to implement differents web services in the same composite:
    - creating one WSDL with differents portTypes and expose one web service for each portype
    - creating differents WSDL for each web services
    Thanks,

    Hi
    I would prefer different WebServices for each set of Operations. Please note that you can have multiple operations with different input and output xsd parametes. So its like One WebService -> One Port -> Multiple Operations. Only draw back is, you have to deploy all these webservices as multiple WAR files. Or one big EAR that has all these WAR Files.
    I tried once One WebService -> 2 Ports -> Each Port with its own set of operations. I ran into problem when I tried to generate client for this webservice. The JAXB generated classes was odd and this did not work.
    There may be some other option also. Hopefully someone can share their thoughts.
    Thanks
    Ravi Jegga

  • How do I create two iTunes accounts under the same email address?

    I've got my account duplicated -and charged for apps I already own- by using my email address as login instead of apple ID, but I've been told it's my fault so…
    I'm trying to figure out
    *How do I do to create two iTunes accounts under the same email and having different IDs?*
    I mean, two accounts with different purchase history. It doesn't matter if billing address, or credit card are the same (or different) because none of them flag apps as "purchased"
    I tried today from iTunes, but it tells me the email is taken.
    Do you know any way a user can do it from our end? (website, iTunes, iPhone)
    If you've got charged by apps twice, please don't say it here. I don't want my post being deleted again. Thanks.

    Beavis2084:
    Expired .mac accounts HAVE NO EMAIL. You own the id (which iTunes requests to be spelled in form of an email)
    Also, FREE .mac accounts have no email either.
    What you see in the screenshots is what I'm saying:
    There's been a change in the way iTunes wants you to login. The iTunes reps see at their end what you see at the top of the window, which probably is the "migration" of the new login: Old login system, using ID (in form of email for iTunes)
    BELOW you clearly see where says "ID" and both have the email as login.
    (again, that .mac email doesn't exist and NEVER DID)
    That's the NEW login: your EMAIL.
    I'm sorry I didn't explain it better the first time. I wrote about this so many times to iTunes support reps to prevent them to "read" what their system says that I gave it for settled. (not to mention that my first post was removed because "it lacks of interest for others"
    I own an apple ID, given away with the purchase of a new computer (nothing small by the way) and when that happens (and never subscribe for a paid membership), you use ANOTHER email to be related to your account.
    Now that AGAIN apple asks you for using your EMAIL (non-apple in our case) instead of your ID (which you can't use or you will never get a notification again!) the system believes there are two accounts.
    It's like your credit card bank changing the address for sending the payments. You are STILL paying, but getting a higher rate because their CHANGED the address and the check never arrives.
    In this case, signing in with a different string, makes the system believe there are two accounts. And that probably is under the policy which probably states purchases are not charged twice for SAME ID, and SAME iPhone… and you used a different ID, so it must be fair (sarcasm). Who told you to do so? Bad boy!

  • How to call an ebs  web service using the soa gateway

    Hi All,
    I installed Oracle E-Business Suite Release 12.1.1 Media Pack v4 (32bit) and now I wanna use the soa gateway to develop and integration and consume web services. I found the soa gateway/irep and I can browse through the existing services. But how can I call one e. g. using .NET?
    For .NET, I need an valid address (URL) to the services. How can I get such an URL.
    Example:
    I opened the integration repository, browsed to:
    Order Management Suite - Order Management - Sales Order - INBOUND: Change Purchase Order XML Transaction.
    I cannot find an address at this page which can be used in MS Dev Studio to call the service.
    If I click on "Generate WSDL" or try to open the WSDL under the "Web Service - Web Service Provider" section, I get an error message:
    Error
    SOA Provider Access resulted in exception 'oracle.apps.fnd.soa.util.SOAException: SystemError: Error while sending message to server. Server returned HTTP response code: 500 for URL: http://ebs1.tesis.de:8000/webservices/SOAProvider/EbizAuth?Generate=4283&soa_ticket=HKGsq9YYnoswMKFsHijTPQ..' when attempting to perform 'GENERATE'. Please contact your System Administrator
    What exactly does this error mean?
    Many thanks,
    Konrad

    You have to make sure every step in MOS Document ID 726414.1 that is applicable to your E-Business Suite 12.1.x release is performed. Enabling ASADMIN is just one of the steps. In spite of following all the steps in this Document you continue to get the error when clicking "Generate WSDL", please log a Service Request with Oracle Support.I will check all steps again. Maybe I missed one... Thanks!

  • Can't run wiki and web services at the same time?

    I'm a newbie with Lion Server, but I've been running several web sites successfully for about 6 months.  I'm up to Server 10.7.4.
    I've been trying ever since the first installation of Server to get the wiki service running.  I had absolutely no luck until I turned OFF the web service (always got the "URL does not exist" error when I tried to create a group wiki from inside the Server app).  With the web service off, it all starts up fine and I created my first wiki (woohoo).  Turning web service back on kills access to the wiki.  I don't find reference to this in any of the dicussions, and especially not in Apple's documentation.
    Are the Wiki and Web services mutually exclusive?  Or is there a way around this?
    I'm using Dyndns to provide me with sub-domains to use, and I've dedicated one of them to the wiki service.  Traffic comes in on port 8080, where my web sites are on port 80.
    Thanks for any pointers...
    edbok

    LR supports tethering using a Canon DLL and EOS Utility probably also supports tethering or at least uses something from a similar Canon DLL.  You probably cannot have two different versions of that DLL loaded at the same time, so it makes sense there are problems.

  • Combine multiple web services with the same SQL query into one

    Hello,
    I would like to ask a question regarding combine multiple similar web services into one. Can you please tell me if it is possible to combine 4-5 web services into one since they built on the same SQL query with 5 different criterias or condition so that the user can enter any of the 5 criterias to populate the data on the form instead of having 5 different web services?
    e.g Query: Select appName, permit#, address, phone, description, type, section, from table where appName = can be 'appName, permit#, address, phone, or description' to populate the rest of the data to the form.
    Does any one have ever done some thing like this in Workbench ES? If so please assist. I know it can be easier to build it in Visual Basic, C#, or dot.net but the requirement is to build it in workbench ES.
    Thanks in advance,
    Han Dao

    If you are querying for Name, PhoneNumber, and SSN, and you queried for all people with a phone number that started with 867, you would have a potentially long list of people.  So to keep track of all of the people, we store each record in XML complex elements.  The root node is just any name you want, and the repeating element is the complex element name. 
    So using the example from above, I'm going to specify the following:
         Root Node: Result
         Repeating Element: Person
    So now when I do a query, my resultXML will look like:
    <Result>
          <Person>
                 <Name>Alex</Name>
                 <PhoneNumber>867-5309</PhoneNumber>
                 <SSN>111-11-1111</SSN>
          </Person>
    </Result>
    If your query returned multiple results (like ours would probably), it would look like:
    <Result>
          <Person>
                 <Name>Alex</Name>
                 <PhoneNumber>867-5309</PhoneNumber>
                 <SSN>111-11-1111</SSN>
          </Person>
          <Person>
                 <Name>Han</Name>
                 <PhoneNumber>867-2169</PhoneNumber>
                 <SSN>222-22-2222</SSN>
          </Person>
    </Result>
    So Result and Person is just to give a little bit of structure to the xml result (containers really).  So you can name them whatever is helpful for you.
    The column name mappings map the query columns (Name, PhoneNumber, SSN) to some node in the XML (Name, PhoneNumber, SSN).  So you don't need to specify which field maps to what in the form.  Just copy the column names to the element name so you have a 1-to-1 naming.  If you want to manipulate the XML a bit though, you could do:
    Column Name               Element
    Name                            YourName
    PhoneNumber                Phone
    SSN                              Secret
    which would then make your xml look like:
    <Result>
          <Person>
                 <YourName>Alex</YourName>
                 <Phone>867-5309</Phone>
                 <Secret>111-11-1111</Secret>
          </Person>
    </Result>
    It lets you change the XML element names to whatever you want. Otherwise by default they take on their column names.
    In your form, you could bind to the WSDL through the Data Connections pane and point it to your web service.  This will then create form elements that you can just drag and drop allowing you to have the information available when the service gets ran.  Once the service is called, you can modify the field's data to get whatever information you need in order to populate other form fields. 
    If that is too confusing, feel free to send me your form (e-mail is on profile page) and I'll add comments to it to show you how to set up the form for the web service call (and also give me the link to your webservice)

  • Downloading TV shows from itunes - episodes appearing seperately not all under the same series despite all the information being the same.  How can I get them to appear under the same series

    Just that
    I have many series - NCIS, West Wing etc where some episodes appear under the series and some appear on their own.
    I have checked the info anf they appear to be identical.
    How do I get them to group together corectly?

    After a couple of days, I'm noticing that the repeat(ing) offenders have more than 10 episodes, and seem to keep repeating them every time I sync.
    They only show once in my phone and in the iTunes Podcasts, but through iTunes and looking at what's in my phone is when I see the repeats.
    Even after I've marked a podcast as played, and deleted it from within my phone, as well as telling iTunes to delete the played episodes, it still shows multiples of the played episodes.
    There doesn't seem to be any rhyme or reason to it either. They aren't the newest ones either.

  • Can I use the search engine and run a web application under the same iPlanet 6.0 virtual server?

    I've got an iPlanet 6.0 SP2 virtual server with the search engine enabled, which was tested and working. I then deployed a web application to it (mapped to "/"), and the web application works fine but now the search functionality is completely broken. Browsing to /search results in a directory index being displayed. Is there some trick to getting the two working together? I tried shuffling NameTrans directives around, but can only get either the search or the web app working, not both.

    Ok, I'm going to answer my own question now...
    The issue has been resolved after some additional experimentation on my part. There were two causes for my problem:
    1. The NameTrans directives in obj.conf are in the wrong order when Java and Search are enabled from the administration interface.
    Here's the admin server generated obj.conf I started with initially, when the web application was working, but requests to the URI "/search" returning a 404 error:
    <Object name="default">
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="pfx2dir" from="/search-ui" dir="/usr/local/iWS-6.0/plugins/search/ui" name="es-internal"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/usr/local/iWS-6.0/ns-icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/manual" dir="/usr/local/iWS-6.0/manual/https" name="es-internal"
    NameTrans fn="es-search-nametrans" from="/search"
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="document-root" root="$docroot"
    </Object>
    Here's my obj.conf now, which works perfectly:
    <Object name="default">
    NameTrans fn="pfx2dir" from="/search-ui" dir="/usr/local/iWS-6.0/plugins/search/ui" name="es-internal"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/usr/local/iWS-6.0/ns-icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/manual" dir="/usr/local/iWS-6.0/manual/https" name="es-internal"
    NameTrans fn="es-search-nametrans" from="/search"
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="document-root" root="$docroot"
    </Object>
    The "servlet" NameTrans directive needs to go below all others which map a URI to a function or directory (but before "document-root"), or they break. This is consistent with the iPlanet documentation on NameTrans, but the admin server doesn't get it right!
    2. The developer who wrote the web application uploaded a directory named "search" in the root of his application, which caused the server to display a directory index of "/search", instead of executing the search function. I believe this issue is covered in an iPlanet knowledge base article.

  • Should ADF tables created for Toplink or Web Services behave the same?

    In JDev 11g TP3, When you drag the collection data control onto a JSF, should the read only tables created from either Toplink objects or Web Service Data Controls look and behave the same? I am not able to get tables created with Web Service Data Controls to work the same as those shown in tutorials or examples.
    Thanks,
    Al

    Not so sure, 11G does seem to generate all of the controls for the response elements, even those that have nested complex types such as the one enclosed. Used the 11G TP3 Web Service Data Control wizard and all of the nested controls showed up. BUT, when dropped onto a JSF, they do not work the same as the tutorials and examples. So, I'm either doing something wrong or the controls are not working properly.
    Should I not use the 11G WSDC and just follow your example in complex return types? Or are there other steps or settings in the 11G WSDC that I need to discover (they're not documented) in order to make ADF tables work with the 11G WSDC? If so, can you help?
    <xsd:element name="PanelData" type="ns1:PanelData"/>
    <xsd:complexType name="PanelData">
    <xsd:sequence>
    <xsd:element name="lotinfo" type="ns1:LotInfoData" minOccurs="1" maxOccurs="1"/>
    <xsd:element name="backglass" type="ns1:LotInfoData" minOccurs="1" maxOccurs="unbounded"/>
    <xsd:element name="frontglass" type="ns1:LotInfoData" minOccurs="1" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>

  • How can i deploy two different versions of the same application on the same server??

    I have two different versions of an application. One is a released version. And another version under development. I need to port this version of the application to the same server. I'm using the same classes and packages(except for some new ones). Is it sufficient if i change the name of my ear(application name). Or should i change my code also.

    Hi
    You can repackage the new versions of ear,jar and war with different names. I hope that should work well.
    Cheers
    -pradeep

  • TS4036 how do i set up multiple devices under the same apple id

    I am having trouble adding my new iphone5 to my account, it keeps being confused as my son's. 

    How to use multiple iPods with one computer

  • Several web queries with the same selection

    Hi all,
    I need to implement eventing between 2 Iviews.
    I have tested the example that is given as per the white paper "How to…Client Side Eventing with BW 3.x and EP 5.0" successfully.
    Now, I have one Iview that takes from-date and to-date. I need to pass these date value from Iview1 to Iview2 automatically. How to get the value of these 2 date variables and raise the event in the JavaScript?.
    Any help is very much appreciated.
    Thanks
    Anuj

    <u><b>Raise Event Code</b></u>
    <SCRIPT>
    function raiseEvt(value1){
    if(window.document.domain == window.location.hostname){
    if ( document.domain.indexOf(".") > 0 ) document.domain = document.domain.substr(document.domain.indexOf(".")+1);
       EPCMPROXY.raiseEvent( "urn:com.sap:BWEvents","BWiViewevent", value1, null );
    </SCRIPT>
    <input type=button value=clickme onclick="raiseEvt(document.myform.t1.value+document.myform.t2.value);">
    <u><b>Subscribe Event</b></u>
    <script language="javascript">
    if(window.document.domain == window.location.hostname){
    document.domain = document.domain.substring(document.domain.indexOf('.')+1);
        EPCMPROXY.subscribeEvent("urn:com.sap:BWEvents","BWiViewevent", window, "myreceiveEvent");
    function myreceiveEvent( eventObj ) {
    url = url + "&data_provider=*&multi=X&FILTER_IOBJNM=0PSTNG_DATE&FILTER_VALUE =" +<b>eventObj.dataObject</b>+"&filter_collapse=";
    </script>
    <i>When there is only one text field,ie single date then it works perfectly.
    But when we are giving the range we are facing the problem.</i>
    the URL construction for range could be different. Its not a eventing issue, i think its the issue with how you construct the BW url. also you need to split eventObj.dataObject to ge the two field values.
    Regards
    Raja

Maybe you are looking for

  • How can I disable nagging "Apple-ID" password requests?

    Hello, In order to describe the problem I'm experiencing, I need to say some things in advance. I'm trying to install the same software on each of our 10 iPads. To do so, I install all necessary apps on one selected iPad (from here on "iPad No. 1") a

  • Profit center report with material

    Hi, I am using ECC6.0 document split activated is there any report which is similar to KE5Z b,coz KE5Z is not working after document split activation . I need report  which gives  profit center balances material wise. Regards Vijay.

  • Sales Order Confirmed qty set to zero even without credit check at SO level

    Hi Credit management is implemented and dynamic credit limit check has been assigned only for delivery doc types for blockig PGI. There is no credit limit check assigned to sales order types as per the customers requirement. However, we came across a

  • New iMac Keeps Crashing

    So this is my second breand new iMac that I ordered direct from the apple Website - I got it about 5 days ago.  They had me return the first one because it kept crashing.  Now this one does too... Here is the crash report.  It has crashed 3 times tod

  • Is there a 64-bit version of AcroPDFLib?

    Hi, please can you give me a final answer, as I have searched the internet for days now and haven't found anyone who appears to know the answer to my question. I have a 32-bit application that we are considering converting to 64-bit, but it fails whe