How to use resource servlet ?

Hi all,
Does any body know know how to use resource servlet to share resources (xsd, wsdl etc) in OSB ? Kindly provid eme witht the steps
Thank you.

Hi Eric,
We can share the resource in the following way, but unfortunately OEPE doesnt accept http urls in schemaLocation arrtibute
How can I get the WSDL/Policy/MFL/Schema/Proxy via HTTP?
You can retrieve many of the resource types directly from the OSB server by using HTTP instead
of needing to use the service bus console. The general pattern for the URL is as follows:
http://[hostname]:[port]/sbresource?[Resource Type]/[Project Name]/[Resource Name]
CHAPTER 18 ■ HOW DO I . . . ? 477
The [Resource Type] section of the URL may be any one of the following values:
• BIZ
• MFL
• POLICY
• PROXY
• SCHEMA
• WSDL
The URL must be UTF-8 encoded. If the resource is stored in a directory, then the directory
structure needs to be declared explicitly in the URL also.
For example, in the Hello World project in Chapter 4 of this book, we defined aWSDL resource
in the WSDL folder of the project. The name of that WSDL resource is set to HelloWorld. To retrieve
this WSDL, you would use the following URL:
http://localhost:7001/sbresource?WSDL/Hello+World/WSDL/HelloWorld

Similar Messages

  • How to use a servlet adapter ?

    Hi all,
    I try to use the servlet adapter, but documentation is not very usefull on this point (like on many other point).
    The first step in documentation is : Create a directory in the classpath oracle.panama.adapter.servlet for the .class
    file. The MasterService creation should go smoothly (if you pray I suppose) if you also have the .class file in a similar directory where you
    are running the Service Designer.
    Questions :
    - I dont understand ' create a directory in the classpath oracle.panama.adapter.servlet'.
    What does it mean ?
    - How can I make the same thing on the client which running the Service Designer ?
    All input are welcome.
    rgds,

    Create your Servlet under the directory
    %ORACLE_HOME%\panama\server\classes\oracle\panama\adapter\servlet.
    The servlet should have the package declaration
    package oracle.panama.adapter.servlet;
    Copt the class file to the above mentioned directory.
    Then create a service using this class.
    Give the entire class name for the service
    eg
    package oracle.panama.adapter.servlet.Test
    where test is the servlet class name.
    null

  • How to use resource bundle entries for column names/title in .rpt file

    <p>Our application needs to be able to support reporting in multiple languages. Hence we do not want to put language specifiec column names in the rpt file but rather use text for a particular locale during runtime which in java world is easily achievable using Resource Bundle entries.</p><p>Does JRC allow for using resource bundle entries as column names or for that matter for titles etc. in the .rpt file?</p>

    Hi,
       You can follow this step-by-step tutorial to find out how to achieve this using our User Function Libraries (UFLs). The walkthrough can be found here:
    <a href="http://diamond.businessobjects.com/node/412">http://diamond.businessobjects.com/node/412</a>
    Regards,<br />Sean Johnson (CR4E Product Manager) <br /><br /> <a href="http://www.eclipseplugincentral.com/Web_Links-index-req-ratelink-lid-639.html">Rate this plugin @ Eclipse Plugin Central</a>

  • How to use a servlet in a Workflow process step.

    Hi
    I need am upgrading existing code from cq 5.4 to CQ 5.5.
    The exsiting code uses a servlet with an injected @MailService reference to send emails. It is currently used as a process step service.
    However, with CQ 5.5 I see that I need to implement the WorkFlowProcess interface, to see this class listed as in the Process step drop down list.
    The issue I have is if I keep the class as a Servlet extension , it does not show up in the drop down list of the process step.
    Is there a way to update the code to list this servlet as a process step?
    Or is there a way to inject the MailService reference into a class which only implements the "WorkflowProcess" interface and is not a servlet ?
    advice appreciated.
    thanks
    Ven

    The implementation of WorkflowProcess is to be deployed as an OSGi service, so you can @Reference the MailService in that class.
    http://dev.day.com/docs/en/cq/current/workflows/wf-extending.html#Defining a Process Step with a Java Class
    scott

  • How to use a Servlet to do HTTP streaming?

    Hello, everyone!
    I want to use a servlet to do simple HTTP streaming, just like what Apache is doing now. I just want the basic functions of HTTP streaming. I want the Servlet works like this, reads data from a local media file and sends through HTTP to client player to do streaming.
    Where can I find some sample source codes?
    Best regards,
    George

    Can anyone help?
    George

  • How to use resource bundles?

    I have a requirement to translate the test that appears on the custom buttons of my portal application. I know resource bundles are part of .properties file that are delivered in Classes floder. But i am not sure how should i make use of this in translating the button text. It would be grate if someone knows it. I will be  very helpfull.
    Regards,
    Ameya

    Hi Ameya,
    [This link|http://help.sap.com/saphelp_nw04/helpdata/en/74/641640b7b6dd5fe10000000a155106/frameset.htm] will provide you information on how to implement Portal Content Translation.
    [This link|http://help.sap.com/saphelp_nw04/helpdata/en/62/8b1d40bb37e569e10000000a155106/frameset.htm] will explain how to create and access Resource Bundles (read the entire chapter).
    Hope it helps,
    Roy
    Edited by: Roy Cohen on Nov 26, 2008 3:21 PM

  • How to use the servlets and javabeans in the JavaServer Pages?

    I have some trouble on the usage of JavaBeans and Servlets.
    Who can tell me the resource about those?
    Thank you!

    The JOT Servlets framework integrates Java Beans and Servlets. You can download the evaluation package and look at the demonstration applications to get some ideas about how it works.
    JOT Servlets - http://www.jotobjects.com

  • How to use resource of in Webcenter Space into one of its Child Spaces

    I have a requirement for using the Spaces resources(Navigation Model,Skin ) that are created at the Sub Space level to be used in the Child Sub Spaces.
    For eg.,
    Consider the example where i have a sub Space "A". This space has the Resources like navigation N1, Skin S1 and Page template P1 created at the scope of the Space. Also this Space has 3 Sub Spaces, A1,A2,A3.
    My requirement is to use the Navigation model "N1" ,Skin "S1" and Page template "P1" of the Parent Space "A" at the Sub Space level with the Spaces "A1","A2","A3"
    Regards,
    Hardik

    For some resources this is possible like the navigation model. When you edit a navigation model, you can add the navigation model of a different space to the current navigation model. Just select navigation model reference when editing a navigation model and you should be able to select whatever space you want.
    Resources like resource catalog, page templates and skins can not be selected from the parent.
    There is, however a workaround for this and that is creating your resource at the highest level possible in spaces. This is done in the resource section in the administration section of webcenter spaces. Not the admin of a specific space, the admiinistration section of the environment. From there you shoiuld be able to create navigation models, skins, resource catalogs and so on that can be used in every space.

  • How to use resource in jar

    my application use some images in directory /images;
    and i put the directory in my jar;
    and in my .java i wirte
    somefunction("images/aaa.jpg")
    it cannot be found.
    why��
    it's like this
    -app/
    -app.java
    -images/
    -aaa.jpg

    Try to read this :
    http://forum.java.sun.com/thread.jsp?forum=31&thread=447141&tstart=30&trange=15
    Maybe it will help you as it helped me

  • How to use a servlet to display an excel spread sheet onto a browser?

    Hi, I have a problem here, I couldn't display an excel spread sheet onto a browser..Can anybody enlighten me on how to go about it?
    Thanks

    Hi, I tried to refresh the 'application/vnd.ms-excel'
    page by calling it again from another frame...it give me a blank page.
    Does it means that the excel sheet cannot be reopen once it's open?
    thanks

  • How to use the servlet api

    I can't compile servlet code because it doesn't recognize the http... classes.
    I downloaded the servlet api but don't know what to do with it (unziped it but no installation!)
    please help

    I can't compile servlet code because it doesn't
    recognize the http... classes.
    I downloaded the servlet api but don't know what to do
    with it (unziped it but no installation!)
    please helpI am having the same problem... i am running windows 95 (unfortunately) and have installed the jsdk1.3.
    These are my autoexec.bat entries
    SET PATH=c:\jdk1.3\bin
    SET JAVA_HOME=C:\jdk1.3
    set classpath=c:\jdk1.3\lib;c:\jdk1.3\jre\lib\ext\servlet.jar%classpath%
    I am still not able to compile a servlet program though.
    Any ideas?
    Much appreciated!!!!
    -Charlie

  • How to create the servlet as acontroller  and how to use it

    how to create the servlet as acontroller and how to use it

    >
    John
    Please update your forum profile with a real handle instead of "914824".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    I am going to have over 50 buttons in a page, Why? This would be a most unusual UI paradigm. I've never seen such a page, which suggests that whatever you want to do is normally done another way. Please explain the requirement in more detail.
    just wanted to know if its possible to do something like this in java.
    Java is not used in programming APEX UI behaviour. Java and JavaScript may share initial syllables, but they are not closely related.
    It's possible to achieve a great deal in JavaScript, but a clear definition of the requirements is necessary. Do you mean the buttons should be dynamically generated? If so, yes, this is possible in JavaScript. What would drive the process?
    Also, i would like to have dynamic action on it, for example, when the button is pressed, fill a string of text into other items(text field) within the page. Without more detail its not possible to make any specific suggestions. For example, I certainly would not want to create 50+ individual dynamic actions relating to different buttons.

  • How to use an IFrame with my servlet?

    Hello, my question is this (basically, I'm building a "social" application for one of the social networks out there,
    but I'm using a java servlet as my back-end server, though I don't know if it matters to my question) -
    I want to insert an iframe to my application, but I didn't find good material on how to use this, and what to add to my servlet
    for completing the communication with the iframe - can anyone give an example maybe, or a link to a good piece of code.
    Basically, what I want for my application is to simply allow a user to record a voice message, and save it somewhere,
    and for that I need to use a java library, and this is why I thought building it with an iframe that will directly communicate with my java servlet. - IS THIS A GOOD IDEA?
    thanks :)
    Kogan.

    IFrame is just a HTML element. You normally embed HTML elements in a JSP file. How to use an IFrame is covered by every average HTML tutorial.
    What's your actual problem?

  • How to use a Java Resource in my java source

    Hello,
    I need to know how to use my external JAR I loaded in the database using this line below:
    CREATE OR REPLACE JAVA RESOURCE NAMED "MyJar" USING BFILE (BFILE_DIR,'MyExternal.jar');
    In fact, I have a Java file using this JAR, but I do not know how to tell to the java source that it have to use this JAR.
    ==========Java Source importing the Jar===================
    package com.gemalto.ws.snmp;
    import java.io.IOException;
    import java.util.Vector;
    import org.snmp4j.Snmp;
    import org.snmp4j.smi.*;
    import org.snmp4j.TransportMapping;
    import org.snmp4j.transport.DefaultUdpTransportMapping;
    import org.snmp4j.CommunityTarget;
    import org.snmp4j.mp.SnmpConstants;
    import org.snmp4j.PDU;
    import org.snmp4j.event.ResponseEvent;
    public class SNMPAgent
    ==========================
    Could you give the SQL request or loadjava command line permitting to do use my java resource file?
    Thks

    The JAR is already load by using CREATE JAVA RESOURCE ... or "loadjava -resolve –force -user p/p@SID –genmissing -jarasresource MyJar.jar"
    If we can create a resource by SQL or loadjava, how can I use it in my java code?
    Edited by: 847873 on 28 mars 2011 06:05
    Edited by: 847873 on 28 mars 2011 06:07

  • How to use session variable in JSP function  & How to use both JSP  Servlet

    Hi,
    I am new to JSP and servlets
    Still I am devloping a website in JSP. I am not mixing JSP with servlets, but I do create Java files for bean, logic and database works.
    I try to keep the hard coding part out of JSP.
    I dont how to use both JSP and Servlets in combination.
    Hence If needed I write some functions in JSP.
    but it gives me error
    +<%! public void abc()+
    +{+
    int intUserId = Integer.valueOf((Integer) session.getAttribute("MySession_UserID"));
    +}+
    +%>+
    Saying cannot find symbol session
    1) So can u please tell how can I access session variables within JSP function
    2) And also give me some links/tutorials about useing both JSP and Servlets in combination.
    Thanks
    Venkat

    The application architecture when you use Servlets and JSP in a standard MVC pattern is explained here (under the heading "Integrating Servlets and JSP Pages") and here ...

Maybe you are looking for