OSB: Need to create JASON Based Service

Hi all,
Can I use take a Jason file as input for the proxy service in OSB 11g. If yes, then please guide me to achieve this...
Thanks & Regards,
Rakesh Ranjan

Thanks Prabhu... I got the samples from the given link...
One request from you...Since I am new to OSB, so it would be better if I get any step wise instruction... anyways I am trying to analyse the sample, and if trapped into some confusion will seek your help :)

Similar Messages

  • Creating Windows Based Service in Java

    Hey is there any way I can create windows based service in Java. My need is that no one has to log on to the machine to start a java application.
    Thanks in advance

    This can be done, although its been so long I forget the exact details. There are some utilities out there that will let you run any program as a service. I remember I created a batch file to run my java program in and then set the batch file up as a service.
    Hope that helps,
    Peter

  • Need to create report based on criteria between a range of dates

    I am very new to Numbers '09 and a beginner with spreadsheets.  I've searched and can't find a formula that fits this.  I've tried Match/IF  Match/Index  VLookup  If/And formulas but can't get the right results.
    I need to be able to create a report based on data from Master Spreadsheet.  I need formulas that will populate Report Page B8:B17 and D8:D17 from data in Master Spreadsheet that meets criteria range of dates (Report Page B5 and B6).
    The closest I've come was an IF(AND formula, but that left blank lines on my report page.  (I understand why, just not sure how to resolve it.)
    P.S.  I am working in Numbers '09 on an iPad (yes, the samples below are not in the Numbers program, but it was easier to do screen shots on my Mac notebook
    Master Spreadsheet:
    Report Page:

    Hi KC,
    So you are trying to retrieve the dates and associated comments for a specific student in a specific class between the two dates.
    Here's an example, using OFFSET and MATCH, plus an added index column on the Master table. Formulas and discussion below.
    Column E uses IF and AND to determine which rows contain the data to be transferred, thn uses MAX to number those rows.
    Master::E2: =IF(AND(A>=Report :: $B$5,A<=Report :: $B$6,B=Report :: $B$3,C=Report :: $B$4),MAX($E$1:E1)+1,"")
    Fill down to the bottom of column E.
    I don't see a need to repeat the "Date" and "Comment" labels on each row containing a date and comment, so I've placed these as fixed text in A8 and B8 of the Report table, and filled the cells below those with the dates and comments using MATCH and OFFSET.
    A9: =IF(ROW()>MAX(Master :: $E)+8,"",OFFSET(Master :: $A$1,MATCH(ROW()-8,Master :: $E,0)-1,0))
    B9: =IF(ROW()>MAX(Master :: $E)+8,"",OFFSET(Master :: $A$1,MATCH(ROW()-8,Master :: $E,0)-1,3))
    As can be seen, these formulas are identical except for the column-offset argument in OFFSET, shown in bold in the examples.
    Fill both formulas down to the bottoms of their columns.
    Regards,
    Barry

  • Help needed in creating a Simple Service

    Hi, I'm a student studying java and would like to set up a simple SOAP service using J2EE and Apache Tomcat, but have fallen at the first hurdle it seems.
    Here's my problem:
    Whenever I try to use the SOAP admin tool to deploy a service, and I try to click on the "List" button, I get a compiler error when the browser is trying to compile "list.jsp".
    It says:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 4 in the jsp file: /admin/list.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\Tomcat 4.1\work\Standalone\localhost\soap\admin\list_jsp.java:8: cannot resolve symbol
    symbol : class Constants
    location: package soap
    import org.apache.soap.Constants;
    ^
    C:\Tomcat 4.1\work\Standalone\localhost\soap\admin\list_jsp.java:9: package org.apache.soap.server does not exist
    import org.apache.soap.server.*;
    ^
    C:\Tomcat 4.1\work\Standalone\localhost\soap\admin\list_jsp.java:48: cannot resolve symbol
    symbol : variable Constants
    location: class org.apache.jsp.list_jsp
    String configFilename = config.getInitParameter(Constants.CONFIGFILENAME);
    I don't know why it can't find these class files, as I have definitely added the SOAP.jar file to my CLASSPATH.
    Can anybody help me please?
    Thanks

    Can you tell me which version of J2EE are you using ?
    -Arun

  • Need help creating text based game in Java

    Alright, I'm taking a big leap and I'm jumping a little out of league here. Anyways here are my two classes...I'm sure I've got plenty of errors :-/ One other thing. I have only programmed the battle section of the program so don't worry about the other 5 sections when fixing the code.
    import cs1.Keyboard;
    public class Knights
        public static void main (String[] args)
            // Object Declaration
            KnightsAccount player1 = new Account (1, 100, 200);
            // variable declarations
            boolean run = true;
            int choice;
            // Game Start
            System.out.println ("Welcome to Knights.");
            System.out.println ("--------------------------------------");
            System.out.println ("You are a level 1 character.  With 100 HP and 200 gold...good luck.");
            System.out.println ();
            while (run == true)
                System.out.println ();
                System.out.println ("Enter the number of the option you would like to do");
                System.out.println ();
                System.out.println ("1. Battle");
                System.out.println ("2. Train");
                System.out.println ("3. Work");
                System.out.println ("4. Rest");
                System.out.println ("5. Stats");
                System.out.println ("6. Quit");
                choice = Keyboard.readInt();
                if (choice == 1)
                    player1.battle();
                else if (choice == 2)
                    player1.train();
                else if (choice == 3)
                    player1.work();
                else if (choice == 4)
                    player1.rest();
                else if (choice == 5)
                    player1.stats();
                else
                    run = false;
    }And here is the second class...
    import java.util.Random;
    public class KnightsAccount
        public String winner;
        public int exp = 0;
        public void Account (int level, int hitPoints, int gold) {}
        public battle ()
            Random generator = new Random();
            int pumpkinHP = 80;
            int playerAttack, pumpkinAttack;
            System.out.println ("Engaged in combat with an Evil Pumpkin!");
            while (hitPoints > 0 && pumpkinHP > 0)
                if (pumpkinHP > 0)
                    playerAttack = generator.nextInt(15);
                    hitPoints -= playerAttack;
                    System.out.println ("Player 1 attacked Evil Pumpkin for " + playerAttack + ".");
                    System.out.println ("Evil Pumpkin has " + hitPoints + " HP left.");
                if (pumpkinHP <= 0)
                    pumpkinDead();
                if (hitPoints > 0 && !(pumpkinHP <= 0))
                    pumpkinAttack = generator.nextInt(12);
                    hitPoints -= pumpkinAttack;
                    System.out.println ("Evil Pumpkin attacked Player1 for " + pumpkinAttack + ".");
                    System.out.println ("Player 1 has " + pumpkinHP + " HP left.");
                if (hitPoints <= 0)
                    playerDead();
            return winner;
        private pumpkinDead ()
            System.out.println ("Success!  You have defeated the Evil Pumpkin with " + hitPoints + "HP left!");
            System.out.println ("For you good deed you earned 20 exp.");
            exp += 20;
            return exp;
        private void playersDead ()
            System.out.println ("You have been defeated.  Go home before we pelt melty cheeze at you.");
    }Whoever can help me I'd be grateful. I know there are probably a lot of things wrong here. Also if some of you could post your AIM or MSN so that I can get some one on one help on any of the smaller problems I run acrost that would help a lot too.
    Duke dollars to whoever helps me ;)
    AIM: Trebor DoD
    MSN: [email protected]

    You should really create a GameCharacter object that contains the
    statistics for a character (player or non-player) in the game.
    public class GameCharacter {
       private double attackStrength;
       private double defenseStrength;
       private String name;
       private String[] bodyParts;
       private Random = new Random();
    public GameCharacter(String name, String[] bodyParts, double attackSt, double defenseSt){
       this.attackStrength = attackSt;
       this.defenseStrength = defenseSt;
       this.bodyParts = bodyParts;
       this.name = name;
    // put lots of methods in here to get and set the information
    public String getName(){
      return this.name;
    public String getRandomBodyPart(){
       return this.bodyParts[random.nextInt(this.bodyParts.length)];
    }You then create your "knight" character and your "rabid pumpkin"
    character.
    Your fight method then just takes two GameCharacter objects and uses
    the information they contain to fight the battle.
    public void fight(GameCharacter a, GameCharacter b) {
       boolean fightOver = false;
       Random rn = new Random();
       double attackValue;
       while(!fightOver) {
           attackValue = a.getAttackStrength()*rn.nextDouble();
           System.out.println(a.getName()+" attacks "+b.getName()+"'s "+b.getRandomBodyPart()+" for "+attackValue+" points");
    }The above is not the fighting loop of course. I just put it in to
    demostrate how the fight method can be made generic. It takes any
    two characters and uses their defensive and attack information to
    calculate the fight outcome. It also uses the descriptions that the characters have
    to make the fight more interesting. (the getRandomBodyPart method in
    particular)
    matfud

  • Create/Copy a Service

    Hi all,
    I need to copy a standard transaction of SRM in Z namespace and make some logical changes in it. To be able to use this transaction from web, I need to create a new service in Z namespace as well. I tried creating a new service in SICF by copying the standards characteristics, but the service does not work.
    A communication failure error is given.
    Please correct me if wrong. Can i use the standard ITS service to call my Zprgram??
    Regards
    Ali

    Raja,
    This has already been done. And the class 'CL_HTTP_EXT_ITS' has already been added. However upon testing the service in SICF that this error is given
    The following error text was processed in the system ABCD3 : Communication failure
    The error occurred on the application server ABCD and in the work process 0 .
    The termination type was: IMC_CANCEL_TX
    The ABAP call stack was:
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_HTTP_EXT_ITS===============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    What could be wrong??
    Regards.

  • Create Complex Web Service using ADF BC Service Interface

    Hi,
    We have a requirement to create a number of web services with complex data types. The data types model a logical database entity and therefore contain multiple "rows" of data.
    In the most simple example, we have an entity Person and Person Address where 1 person and have multiple person addresses. We need to create a web service that encapsulates these entities and the relationship. For example the web service payload would contain:
    +<Person>+
    --<firstname/>
    --<lastname/>
    --<dob/>
    --<sx/>
    --<address>
    ----<line1/>
    ----<line2/>
    ----<postcode/>
    ----<country/>
    --</address>
    +</person>+
    We have created ADF BC components for each entity and the relationships. Now we are attempting to use the ADF BC Service Interface functionality to expose web service methods that would create and update the underlying VO/EO/Database tables with one call (i.e. create a record in table Person and one in Person Address).
    Creating a service interface for each entity VO works fine but we require a complex service encapsulating the logical entity of Person.
    Does anyone know if this is possible with ADF BC Service functionality? Or should we be looking for alternative method of generating these web services?
    Any advice greatly appreciated.
    Edited by: Jon on Feb 3, 2012 2:50 PM

    Hi,
    Did you go through following links
    http://blogs.oracle.com/middleware/entry/calling_web_services_using_adf_11g
    http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/webservices/ws.html

  • Job Chain. How to create Rule based on Time also?

    Hi ,
    I need to check at 9:30 AM that one of the previous step in the existing chain has been completed.
    If not I'd like to do some 'send_notification' Step.
    So, I need to create rule based on Time and 'step_n succeeded'.
    Could you please tell me how to do that?
    Thanks for your help,
    LSY.

    Hi,
    Alberto is right in his approach. You can't say to evaluate the chains rules at 9:30am but you can set an evaluation context of 10 minutes so that the chains rules are reevaluated every 10 minutes.
    Then you can create a rule that says
    if the time is between 9:30am and 9:40am and step_to_check is running or not_started
    then start send_notification_step
    Hope this helps,
    Ravi.

  • Create New Web Services

    Hello,
    Pardon my igonorance, however I am a .NET developer coming over to Java land. I downloaded Sun Java Studio (great!) and am able to do some things, bind controls to the db, consume Web services, etc. However, I need to create some Web services. First of all, can I do that in Studio Creator? Is there any clear, examples that will walk me through, step-by-step?
    Thanks in advance,
    Dan

    Theoretically, yes, you can build a service in.NET
    and a UI in JSC. There is a problem that cropped up.
    I have posted the problem earlier. To create a web
    service in .NET is a breeze. However, it does not
    come over to JSC as a UI. May be there is some
    tweeking to do. Web Services should be platform
    independent, right now they do not seem to be so.You are correct that web services (generated in .NET or anywhere else) do not get exported "as a UI". However, all web services should provide a way to get the Web Services Description Language (WSDL) description of that web service. If you can find the URL for that WSDL file (or get a copy onto your local disk), you can add a corresponding web service to Creator, by going to the Server Navigator, right clicking on Web Services, and selecting the "Add Web Service" dialog.
    This will cause a client proxy library to be created and added to your Server Navigator list, just like the examples that are pre-installed. Then, you can import and use those web services to construct a web user interface for them.
    See the online help for the Add Web Service dialog for more information, as well as the "Accessing Web Services" tutorial on the Creator web site.
    Craig

  • Time Based Service Request Escalation

    HI all
    we want to know, how to create time based service request escalation in Siebel CRM On Demand?
    thanks in advance

    What you can do within the application is have a report/dashboard to highlight the SRs that are over their planned SLA, but the user will have to be in the application to see it.
    If you want a time based WF, it currently is not available within R16, but you can write a relatively simple WS in combination with an integration event to solve this issue.

  • We need to create one or more business services to connect to service provider in OSB

    Hi all,
        I posted some questions for OSB and received some responses helpful. And today, I have a question about it to clearing about business services in OSB.
        Based on oracle's documents, a business service will connect to (I mean it can communicate) service provider (backend service). I have a example: Backend service A provide two services getEmployeeInfo and updateEmployee. Will I create one or two business services to connect to A ( to use these services) ? I think I need only one ? Can anyone talk about this case ?
        Many thanks.

    Hi Beck,
    for your scenario you can use only one business service,
    1. As Karan already explain about wsdl,  you should create a Business Service using WSDL file then you can choose operation at testing time.
    2. if you don't want  to use a wsdl and you can create a SOAP type service then you can use WSA-Action  to identify the service at beckend . Using wsa-action you can send a operation name like :
    <wsa:Action>http://xmlns.oracle.com/pcbpel/adapter/db/dbAdapterMultiOperation/Project1/AnkitTest/insert(Operation Name)</wsa:Action>
    Here 2 different solutions for you Question.
    Thanks
    Ankit

  • How to configure proxy services in OSB for Rest based services?

    how to configure proxy services in OSB for Rest based services implemented using Jersey (Rest).
    The Client need to contact OSB proxy servies by posting application/xml using jersey client and OSB proxy service will call the OSB business service.
    i would like to know how to get this request in OSB proxy service and send it to the business service and get the response back.

    I would suggest you refer to the below links:
    https://blogs.oracle.com/jeffdavies/entry/restful_services_with_oracle_s_1
    https://blogs.oracle.com/jamesbayer/entry/using_rest_with_oracle_service
    Hope this helps.
    Thanks,
    Patrick

  • Using a uddi key to create a business service in OSB

    I want to be able to use a service registry key when creating a business service in OSB. I've found documentation on how to do this in Oracle ESB, but not in OSB.
    From the documentation for OSB, I can only find a way to synchronize the business services imported from the service registry (when i search through the imported services there is no mention of the uddi key that i can see). I can choose to auto-import when setting up the registry, but I'm not sure exactly what this behavior does.
    From the console documentation (http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/consolehelp/uddi.html)
    "You can use the Auto-Import Status page to synchronize changes to a service with those present in the registry. Upon any changes to a service in the registry, Oracle Service Bus provides notification of the change on the Auto-Import Status page which lists all out-of-sync services. You can then synchronize the service in the Oracle Service Bus Console with the corresponding service in the UDDI registry."
    This setting seems to automatically update the endpoint of the business service wihtout that administrator having to do anything, but what is actually being done? Is the service bus updating the endpoint as soon as it has been notified of a change or when i view/call the service is the endpoint being looked up?
    Am I missing something??
    Edited by: user498458 on Apr 27, 2009 11:30 AM

    I took your advice and re factored the Receive class so it had all the functionality I needed except two methods which would then be overridden in the derived classes. What I had a hard time understanding is once an object of class say SpecialReceive extends Receive it can be referred to as Receive yet still maintain that it's a SpecialReceive.
    What I mean is if I give a Receive object to some method and this method has no idea that this object is actually SpecialReceive and it calls a method say run() which gets overridden by the SpecialReceive. I thought that since this method has no idea what type of Receive this object is it will execute Receive's run(). But it actually does know what type of class it is and it executes the right run() method (the one that SpecialReceive overrides).
    After I realized this there is no more need for casting.
    Thanks everyone for your contributions.

  • Need to Create AD LDAP based Address Book

    We need to Create AD LDAP based Address Book. Following is the scenario.
    Our Existing Network
    SMTP Domain Name1  is xyz.net hosted on O365 Exchange online with E3, E1 and KIOSK Plan for different users.
    SMTP Domain Name2 is abc.com hosted on onpremise Linux box
    Windows 2008R2 based AD Domain named abc.com
    Linux POP users get central/global address list by using AD Domain for
    abc.com LDAP address list
    Solution required for
    Exchange KIOSK user with POP connectivity need to have access to some Central/Global Address list for
    xyz.net
    We wish to
    Setup a seperate domain joined or workgroup server and use the Windows AD LDAP/ADAM service to build a Address List for
    xyz.net domain
    we DO NOT wish to replicate AD LDAP Instance from our existing Domain Controller.
    configure Exchange Kiosk pop users to use LDAP addres list by connecting it to the AD LDAP server.
    We are looking for
    steps to setup a ADLDAP/ADAM service on Win2008R2 or 2012 with a fresh AD LDAP Instance.
    The step to create a Application Directory Partition
    Populate the Application Directory Partition with users, groups, contact for the xyz.net domain either manually as well as by importing
    allow users to be able to access this application directory partition on AD LDAP server and
    allow the users to configure their pop email client [outlook 2010] to use the LDAP address book on the AD Ldap server

    Hi,
    Here i found some articles for you refering:
    How Active Directory Application Mode Works
    http://technet.microsoft.com/en-us/library/cc755705(WS.10).aspx
    AD LDS Getting Started Step-by-Step Guide
    http://technet.microsoft.com/en-us/library/cc770639(WS.10).aspx
    Active Directory Lightweight Directory Services
    http://technet.microsoft.com/en-us/library/cc731868%28WS.10%29.aspx
    Active Directory Lightweight Directory Services Operations Guide
    http://technet.microsoft.com/en-us/library/cc816635(WS.10).aspx
    Thanks.

  • Can I create JDE BSSV (Business Services) for REST based services?

    Can I create JDE BSSV (Business Services) for REST based services? If yes, then how? In what way it will be different from SOAP based?

    Hi
    Within Oracle SOA Suite, Oracle Service Bus would handle the REST side of things, which in turn would call the JCA adapter to talk to your JDE backend, or vice versa.
    Checkout the JDE adapter docs - http://www.oracle.com/technetwork/middleware/soasuite/documentation/jdewardsweb-1954164.pdf
    and the OSB Docs - HTTP and Poller Transports - 11g Release 1 (11.1.1.7)
    OSB 11.1.1.7 introduced additional REST support, so I'd recommend using that version onwards.
    Cheers
    iain

Maybe you are looking for

  • Header ID does not exist on this record or does not match ID

    Hi , I'm trying to import the sales order using OE_ORDER_PUB.process_order() API. If all my orders has equal no. of lines, I can able to import all the orders at one stoke. But if each order has different no. of lines, I'm unable to import all the or

  • Burn speed error iTunes

    iTunes v 6.05 Selected 4x burning speed under preferences Will not burn , get message, "iTunes can't burn this CD because the burn speed is too fast for your CD burner or media". I am using Verbatim disks with said burn speed and didn't have problems

  • Mac to PC conversion

    My iPod was originally set-up on a Mac. Can I reconfigure my iPod to be used on a PC without losing the songs on my iPod? If this is not possible can I transfer the iTunes library on my Mac to a PC? (Then I could wipe my Mac iPod & reconfigure it for

  • Bundle of Photoshop elements 8 and Premiere elements 8 Home ed.

    My question consists in knowing if i can use this software with commercial use in mind ex: architecture imaging. It says home edition in the box. Or does this means that its optimized for the causal home user? Like Windows XP Home edition vs Professi

  • What to enter in Group Authentication ?

    Hi People, I am connecting to the server however, i am entering the host as what i know. What do i need to enter in group authentication??