Java top down service

Hello,
Any links to java top down service tutorials using JDeveloper 11g?
Thanks.

chk here
http://st-curriculum.oracle.com/obe/jdev/obe1013jdev/10131/10131_wstopdown/wstopdown.htm
http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/webservices/ws.html

Similar Messages

  • Top-down web service approach with 10.1.2

    We are trying to develop a web service using the top-down approach (from WSDL to Java) in Oracle App Server 10.1.2. The how-to´s we have found use wsa.jar, but this jar is not available in 10.1.2 (it comes with 10.1.3)...
    Can the top-down approach be used in 10.1.2 ?
    How ?
    Thanks in advance
    Fer

    Hello,
    The OracleAS Web Service stack in 10.1.2 does not support the Top Down generation of Web services (generation of the WS from a WSDL).
    Can you move to 10.1.3, if not one migration path is the following, you do use Apache Axis in 10.1.2 to create topodown WS and when moving in 10.1.3 you will be migrating your Axis to the OracleAS Web Service 10.1.3 stack.
    Regards
    Tugdual Grall

  • Question about "top-down" web services development

    I tried to follow the Oracle "RPC literal top-down web services how-to" to develop a web service with a top-down approach but I have error when I try to compile with Ant the provided example.
    This howto is located at: http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/rpc-lit/index.html
    The error I have is:
    D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit>ant
    Buildfile: build.xml
    env-check:
    check-oracle-home:
    check-j2ee-home:
    init:
    sub-init:
    gen-service:
    [echo] Generating service artifacts
    env-check:
    check-oracle-home:
    check-j2ee-home:
    init:
    wsa:
    [java] java.util.zip.ZipException: The system cannot find the file specified
    [java] at java.util.zip.ZipFile.open(Native Method)
    [java] at java.util.zip.ZipFile.<init>(ZipFile.java:112)
    [java] at java.util.jar.JarFile.<init>(JarFile.java:127)
    [java] at java.util.jar.JarFile.<init>(JarFile.java:65)
    [java] Exception in thread "main"
    BUILD FAILED
    D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit\build.xml:21: The following error occurred while executing this line:
    D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit\config\common.xml:63: Java returned: 1
    Total time: 1 second
    When I look at the common.xml file which is used by the build.xml one I have a class like:
    <pathelement location="${ws.lib.dir}/orasaaj.jar"/>
    The problem is that I do not have this jar file on my disk and I can't find it on the net. Maybe it is one of the root cause of my build failed.
    Does anyone experience this howto successfully and if someone can tell me where to find this jar file it would be great.
    Thanks

    I tried to follow the Oracle "RPC literal top-down web services how-to" to develop a web service with a top-down approach but I have error when I try to compile with Ant the provided example.
    This howto is located at: http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/rpc-lit/index.html
    The error I have is:
    D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit>ant
    Buildfile: build.xml
    env-check:
    check-oracle-home:
    check-j2ee-home:
    init:
    sub-init:
    gen-service:
    [echo] Generating service artifacts
    env-check:
    check-oracle-home:
    check-j2ee-home:
    init:
    wsa:
    [java] java.util.zip.ZipException: The system cannot find the file specified
    [java] at java.util.zip.ZipFile.open(Native Method)
    [java] at java.util.zip.ZipFile.<init>(ZipFile.java:112)
    [java] at java.util.jar.JarFile.<init>(JarFile.java:127)
    [java] at java.util.jar.JarFile.<init>(JarFile.java:65)
    [java] Exception in thread "main"
    BUILD FAILED
    D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit\build.xml:21: The following error occurred while executing this line:
    D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit\config\common.xml:63: Java returned: 1
    Total time: 1 second
    When I look at the common.xml file which is used by the build.xml one I have a class like:
    <pathelement location="${ws.lib.dir}/orasaaj.jar"/>
    The problem is that I do not have this jar file on my disk and I can't find it on the net. Maybe it is one of the root cause of my build failed.
    Does anyone experience this howto successfully and if someone can tell me where to find this jar file it would be great.
    Thanks

  • Top down approach in developmet of Web services

    I am trying some initial development effort using Jdeveloper 11.1.1.1.0 version. I could successfully develop some samples using the bottom up method.
    Now thinking to go the top down approach.are there any risks/pitfalls in this approach. One question is that the team has a set of XSDs representing the objects we plan to pass as parameters to the web services methods. Is there some way in which we can sync up from XSDs to the generated java classes and if there are any changes done on the java classes can it be transparently reflected to the XSDs (using any of the capabilities of JDev)
    Also can we refer to the XSDs we generated, from the WSDL's so that both are separate and they are independently modifiable.
    It would be great if there is any documentation of the best practices approach for similar use cases.

    In NWDS 7.1 i used to create webservice.I followed the process given in sap help.
    steps:
    1.      In the SAP NetWeaver Developer Studio, you create an EJB Project and an enterprise application project for the Web service.
    2.      In the EJB Project, you create an EJB Session Bean 3.0 and implement the business logic of the Web service.
    3.      You expose the EJB Session Bean 3.0 as a Web service, using the Web service wizard in the SAP NetWeaver Developer Studio.
    4.    You deploy the Web service endpoint on the application server.
    Thanks,
    Murthy.

  • Top down approach for creating the web services in NWDS 7.1

    I am trying to develop a web service in top down approach.
    1) I created a Dynamic web project.
    2) Created a WSDL File using the WSDL Graphic editor.
    3) Now i am trying to create the Webservice from the WSDL file ,  i am getting the following error
    The SAP Netweaver Web service runtime does not support the service project type Dynamic Web Project.
    How do i created the web service from here on.
    Regards
    ABS

    In NWDS 7.1 i used to create webservice.I followed the process given in sap help.
    steps:
    1.      In the SAP NetWeaver Developer Studio, you create an EJB Project and an enterprise application project for the Web service.
    2.      In the EJB Project, you create an EJB Session Bean 3.0 and implement the business logic of the Web service.
    3.      You expose the EJB Session Bean 3.0 as a Web service, using the Web service wizard in the SAP NetWeaver Developer Studio.
    4.    You deploy the Web service endpoint on the application server.
    Thanks,
    Murthy.

  • Java Class Web Service

    Which the best way to make a webservice based on a java class in JDeveloper 10.1.2?
    I need to make a webservice that make some queries in views of BPEL's dehydration DB, but I would not like that this webservice was a BPEL process in the Process Manager, with gone off instances being to each query. Therefore I intend to make a java class that it executes the queries and it returns the results.
    However it would like a structuralized payload, instead of returning a primitive and soap-serialized type, I would like to return a complex type.
    Example of return message:
    ... SOAP Message ...
    <payload>
    <sensors>
    <sensor>
    <date>2006-sep-11</date>
    <activity>invoke partner</activity>
    </sensor>
    <sensor>
    <date>2006-sep-11</date>
    <activity>receive partner</activity>
    </sensor>
    </sensors>
    </payload>
    ... SOAP Message ...
    Well, JDeveloper 10.1.2 can't make this work easiest for me ... the wizard can't work with classes returning complex types.
    I tried many ways to do this: top-down and bottom-up approach's, but without success.
    Also tried made a wsdl and using schemac generate facades classes, write a deploy file and, and after some difficult made the deploy in my OC4J. But invoking the webservice the server returns this message:
    "javax.servlet.ServletException: WSDL Generation exception: java.lang.Exception org.collaxa.thirdparty.dom4j.Namespace is not a java bean: must have a default constructor"
    Well, sorry, but I'm a java newbie and I have no idea about what can I do in this case. But I think that the error isn't in my class. :-(
    Ok, also tried to do this, for test, in JDeveloper 10.1.3, but without success too.
    Following some examples and tutorials, I tried to use the wizard "Create J2EE webservice" using WSIF, but doesn't works for me.
    I read the blog posts:
    "Revisiting Java and WSIF"
    http://blogs.oracle.com/reynolds/2006/08/10#a112
    "Using Java from BPEL"
    http://blogs.oracle.com/reynolds/discuss/msgReader$10?mode=day
    And many others...
    But, in fact, the things doesn't works like in the tutorials...
    Someone can help-me?
    Thanks for help and sorry for my rusted english.

    As far as I can tell, the SOAPContext is not magically there in Oracle Web services so you have to revert to Oracle SOAP (which is where the OracleSOAPContext comes from and is pretty much Apache SOAP 2.3.1 with fixes and a couple things to make it work in our environment - e.g. like a slightly updated SOAPContext class).
    We ship Oracle SOAP with our distribution in the soap.ear file located in the <oc4J_home>\soap\webapps directory. Just add this line (tailored to your config) to your server.xml:
    <application name="soap" path="../../../soap/webapps/soap.ear" auto-start="true" />
    and the line:
    <web-app application="soap" name="soap" root="/soap" />
    to your http-web-site.xml and your Oracle SOAP environment should be set up with an endpoint of:
    http://127.0.0.1:8888/soap/servlet/soaprouter
    Then build your Web service and in your method add the SOAPContext parameter. Here is a simple method that should print out the remote IP, after casting to the OracleSOAPContext:
    public String sayHello( SOAPContext ctx, String test)
    OracleSOAPContext octx = (OracleSOAPContext)ctx;
    System.out.println("Remote address: " + octx.getRemoteAddress());
    return "Hello: " + test;
    For completeness, the dd file looks like:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <isd:service
    id="mypackage3.Class1"
    xmlns:isd="http://xml.apache.org/xml-soap/deployment">
    <isd:provider
    type="java"
    methods="sayHello"
    scope="Request">
    <isd:java class="mypackage3.Class1" static="false"/>
    </isd:provider>
    <isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener>
    </isd:service>
    Mike.

  • Need help with tree edit distance and restricted top-down mapping algorithm

    *This topic was posted a while ago in "java programming" section but was suggested to try here
    Hi everyone,
    A couple of days ago I posted a topic on analyzing structure similarity between two web pages. After some researching, I know I need to work out some tree matching algorithms: tree edit distance algorithm(TED) and a improved version: restricted top-down mapping algorithm(RTDM). TED is about calculating the minimum operation cost(insert, delete, replace) to map one tree into another. RTDM further restricts the 3 operations to only the leaf nodes so as to improve time complexity.
    This is the general idea but I'm having difficulties to find resources to let me understand and implement the algorithms. I'm using ACM portal (Association for Computing Machinery) to access the technical papers but I find that they do not provide enough info, google gives mostly the same technical papers and some websites which illustrate the general idea of these algorithms.
    Hoping that you can give me some guidance on these 2 algorithms. Not looking for codes but I need more details on them. Thanks in advance.

    For scientific research I prefer Scirus: http://www.scirus.com/
    Just two pages I found on a quick search:
    http://arxiv.org/abs/cs/0604037
    http://www.cs.uic.edu/~yzhai/
    The latter might not be exactly what you asked for, but you might be interested in the listed publications. I have not taken a closer look.

  • Create top-down JTabbedPanes

    Hello,
    I've written the following code to create a JPanel containing three different tabs. Each of these tabs are supposed to have a top-down design, meaning all components will be added from the top of the JPanel to the bottom. I've provided this for the first tab, as an example.
    In the first tab, I've so far added a JLabel and a JComboBox and I wish to add the other panel (called centerPanel) beneath these components. That is, the title, "Filters" will be seen right below "Names: ". Right now, the panel is showing up next to the JComboBox.
    I'm a little confused about the layouts and I'm not sure which layout to pick for each panel in order to have this right. Please help me out.
    Thanks,
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.awt.FlowLayout;
    import javax.swing.BorderFactory;
    import javax.swing.JComboBox;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JTabbedPane;
    public class MyTabbedPaneTest extends JPanel {
          * @param args
         JPanel mainPanel;
         JPanel tab1Panel;
         JPanel tab2Panel;
         JPanel tab3Panel;
         public MyTabbedPaneTest()
              setLayout(new BorderLayout());
              JFrame frame = new JFrame("My Frame");
              add(createTabsPanel(), BorderLayout.NORTH);
              frame.getContentPane().add(this);
              frame.setSize(300,400);
              frame.setVisible(true);
         public JTabbedPane createTabsPanel()
              JTabbedPane tabsPane = new JTabbedPane();
              tabsPane.addTab("     Tab1      ", createTab1Panel());
              tabsPane.addTab("     Tab2      ", createTab2Panel());
              tabsPane.addTab("     Tab3      ", createTab3Panel());
              return tabsPane;
         public JPanel createTab1Panel()
              tab1Panel = new JPanel(new FlowLayout(FlowLayout.LEFT,0,0));
              JPanel centerPanel = new JPanel(new BorderLayout());
              centerPanel.setBorder(BorderFactory.createTitledBorder("Filter:"));
              JLabel label1 = new JLabel("   Name: ");
              JComboBox namesComboBox = new JComboBox();
              namesComboBox.setPreferredSize(new Dimension(120,20));
              namesComboBox.getModel().setSelectedItem("Select...");
              tab1Panel.add(label1, JLabel.CENTER);
              tab1Panel.add(new JLabel("    "));
              tab1Panel.add(namesComboBox);
              tab1Panel.add(centerPanel, BorderLayout.SOUTH);
              return tab1Panel;
         public JPanel createTab2Panel()
              tab2Panel = new JPanel(new FlowLayout(FlowLayout.LEFT,0,0));
              return tab2Panel;
         public JPanel createTab3Panel()
              tab3Panel = new JPanel();//new FlowLayout(FlowLayout.LEFT,0,0));
              return tab3Panel;
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              MyTabbedPaneTest test = new MyTabbedPaneTest();
    }

    Hi,
    The following code shows a JFrame with three different tabs. This is what I said I'll post yesterday. Although, I received a lot of help during this post, I pretty much came up with all the solution myself.
    Here's the code, if anyone wants to use it.
    package test;
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.awt.FlowLayout;
    import java.awt.Font;
    import java.text.DateFormat;
    import java.util.Date;
    import javax.swing.BorderFactory;
    import javax.swing.BoxLayout;
    import javax.swing.ButtonGroup;
    import javax.swing.JButton;
    import javax.swing.JComboBox;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JRadioButton;
    import javax.swing.JSeparator;
    import javax.swing.JTabbedPane;
    import javax.swing.JTextField;
    import javax.swing.SwingConstants;
    public class MyTabbedPaneTest extends JPanel {
         JPanel tab1Panel;
         JPanel tab2Panel;
         JPanel tab3Panel;
         public MyTabbedPaneTest()
              setLayout(new BorderLayout(5,5));
              JFrame frame = new JFrame("My Frame");
              frame.setResizable(false);
              add(createTabsPanel(), BorderLayout.NORTH);
              frame.getContentPane().add(this);
              frame.setSize(510,510);
              frame.setVisible(true);
         public JTabbedPane createTabsPanel()
              JTabbedPane tabsPane = new JTabbedPane();
              tabsPane.addTab("     Tab1      ", createTab1Panel());
              tabsPane.addTab("     Tab2      ", createTab2Panel());
              tabsPane.addTab("     Tab3      ", createTab3Panel());
              return tabsPane;
         public JPanel createTab1Panel()
              JButton newButton = new JButton("   New   ");
              JButton deleteButton = new JButton("   Delete   ");
              tab1Panel = new JPanel(new FlowLayout(FlowLayout.LEFT,5,15));
              tab1Panel.setPreferredSize(new Dimension(700,500));
              JPanel centerPanel = new JPanel(new BorderLayout());
              centerPanel.setBorder(BorderFactory.createTitledBorder(" Filter "));
              JLabel label1 = new JLabel("   Name: ");
              JComboBox namesComboBox = new JComboBox();
              namesComboBox.setPreferredSize(new Dimension(120,20));
              namesComboBox.getModel().setSelectedItem("Select...");
              tab1Panel.add(label1);
              tab1Panel.add(namesComboBox);
              tab1Panel.add(newButton);
              tab1Panel.add(deleteButton);
              JPanel filterTopPanel = new JPanel(new FlowLayout(FlowLayout.LEFT,5,10));
              JLabel sourceLabel = new JLabel("Names Source: ");
              JComboBox nameSourceComboBox = new JComboBox();
              nameSourceComboBox.setPreferredSize(new Dimension(120,20));
              nameSourceComboBox.getModel().setSelectedItem("Sources...");
              filterTopPanel.add(sourceLabel);
              filterTopPanel.add(nameSourceComboBox);
              centerPanel.add(filterTopPanel, BorderLayout.NORTH);
              JPanel filterCenterPanel= new JPanel(new BorderLayout(5,5));
              filterCenterPanel.add(new JSeparator(), BorderLayout.NORTH);
              centerPanel.add(filterCenterPanel,BorderLayout.CENTER);
              JPanel filterBottomPanel = new JPanel();
              filterBottomPanel.setLayout(new BoxLayout(filterBottomPanel, BoxLayout.Y_AXIS));
              JPanel filterBottomPanel1 = new JPanel(new FlowLayout(FlowLayout.LEFT,10,5));
              JTextField symbolTextField = new JTextField();
              JLabel symbolsLabel = new JLabel("Names:                   ");
              symbolTextField.setPreferredSize(new Dimension(350,20));
              filterBottomPanel1.add(symbolsLabel);
              filterBottomPanel1.add(symbolTextField);
              filterBottomPanel.add(filterBottomPanel1);
              JPanel filterBottomPanel2 = new JPanel(new FlowLayout(FlowLayout.LEFT,10,5));
              JComboBox addFilterComboBox1 = new JComboBox();
              addFilterComboBox1.setPreferredSize(new Dimension(100,20));
              addFilterComboBox1.getModel().setSelectedItem("Add...");
              filterBottomPanel2.add(addFilterComboBox1);
              JComboBox box1 = new JComboBox();
              box1.setPreferredSize(new Dimension(350,20));
              filterBottomPanel2.add(box1);
              filterBottomPanel.add(filterBottomPanel2);
              JPanel filterBottomPanel3 = new JPanel(new FlowLayout(FlowLayout.LEFT,10,5));
              JComboBox addFilterComboBox2 = new JComboBox();
              addFilterComboBox2.setPreferredSize(new Dimension(100,20));
              addFilterComboBox2.getModel().setSelectedItem("Add...");
              JComboBox box2 = new JComboBox();
              box2.setPreferredSize(new Dimension(350,20));
              filterBottomPanel3.add(addFilterComboBox2);
              filterBottomPanel3.add(box2);
              filterBottomPanel.add(filterBottomPanel3);
              JPanel filterBottomPanel4 = new JPanel(new FlowLayout(FlowLayout.LEFT,10,5));
              JComboBox addFilterComboBox3 = new JComboBox();
              addFilterComboBox3.setPreferredSize(new Dimension(100,20));
              addFilterComboBox3.getModel().setSelectedItem("Add...");
              JComboBox box3 = new JComboBox();
              box3.setPreferredSize(new Dimension(350,20));
              filterBottomPanel4.add(addFilterComboBox3);
              filterBottomPanel4.add(box3);
              filterBottomPanel.add(filterBottomPanel4);
              JPanel filterBottomPanel5 = new JPanel(new FlowLayout(FlowLayout.LEFT,10,5));
              JComboBox addFilterComboBox4 = new JComboBox();
              addFilterComboBox4.setPreferredSize(new Dimension(100,20));
              addFilterComboBox4.getModel().setSelectedItem("Add...");
              JComboBox box4 = new JComboBox();
              box4.setPreferredSize(new Dimension(350,20));
              filterBottomPanel5.add(addFilterComboBox4);
              filterBottomPanel5.add(box4);
              filterBottomPanel.add(filterBottomPanel5);
              JPanel filterBottomPanel6 = new JPanel(new FlowLayout(FlowLayout.LEFT,10,5));
              JComboBox addFilterComboBox5 = new JComboBox();
              addFilterComboBox5.setPreferredSize(new Dimension(100,20));
              addFilterComboBox5.getModel().setSelectedItem("Add...");
              JComboBox box5 = new JComboBox();
              box5.setPreferredSize(new Dimension(350,20));
              filterBottomPanel6.add(addFilterComboBox5);
              filterBottomPanel6.add(box5);
              filterBottomPanel.add(filterBottomPanel6);
              JPanel datePanel = new JPanel(new BorderLayout());
              datePanel.setBorder(BorderFactory.createTitledBorder(" Range "));
              datePanel.setPreferredSize(new Dimension(490,90));
              JLabel endDateLabel = new JLabel("End Date:");
              JRadioButton todayRadioButton = new JRadioButton("Today", true);
              JRadioButton dateTextRadioButton = new JRadioButton();
              ButtonGroup buttonGroup = new ButtonGroup();
              buttonGroup.add(todayRadioButton);
              buttonGroup.add(dateTextRadioButton);
              Date today = new Date();
              DateFormat df = DateFormat.getDateInstance(DateFormat.MEDIUM) ;
              String date = df.format(today);
              String newDate = date.replaceAll(", ", " ");
              String [] dateArray = newDate.split(" ");
              String todaysDate="";
              todaysDate = todaysDate.concat(dateArray[1]+"-"+dateArray[0]+"-"+dateArray[2]);
              JTextField dateTextField = new JTextField(todaysDate);
              dateTextField.setPreferredSize(new Dimension(100,20));
              endDateLabel.setFont(new Font("Arial", Font.BOLD, 11));
              JLabel daysBackLabel = new JLabel("   Days Back:");
              daysBackLabel.setFont(new Font("Arial", Font.BOLD, 11));
              daysBackLabel.setLayout(new FlowLayout(FlowLayout.RIGHT,0,0));
              JTextField daysBackTextField = new JTextField("1");
              daysBackTextField.setPreferredSize(new Dimension(40,20));
              daysBackTextField.setHorizontalAlignment(JTextField.RIGHT);
              JLabel maxHeadlinesLabel = new JLabel("Max Lines:");
              maxHeadlinesLabel.setFont(new Font("Arial", Font.BOLD, 11));
              JTextField maxHeadlinesTextField = new JTextField("50");
              maxHeadlinesTextField.setPreferredSize(new Dimension(60,20));
              maxHeadlinesTextField.setHorizontalAlignment(JTextField.RIGHT);
              JLabel maxHeadlinesAllowedLabel = new JLabel("(4000 Max)");
              maxHeadlinesAllowedLabel.setFont(new Font("Arial", Font.PLAIN, 11));
              JPanel dateTopPanel = new JPanel(new FlowLayout(FlowLayout.LEFT, 5,0));
              JPanel dottedLinePanel = new JPanel();
              dottedLinePanel.setLayout(new BoxLayout(dottedLinePanel, BoxLayout.Y_AXIS));
              dottedLinePanel.setPreferredSize(new Dimension(1,40));
              dateTopPanel.add(endDateLabel);
              dateTopPanel.add(todayRadioButton);
              dateTopPanel.add(dateTextRadioButton);
              dateTopPanel.add(dateTextField);
              dottedLinePanel.add(new JSeparator(SwingConstants.VERTICAL));
              dateTopPanel.add(dottedLinePanel, BorderLayout.NORTH);
              dateTopPanel.add(daysBackLabel);
              dateTopPanel.add(daysBackTextField);
              datePanel.add(dateTopPanel, BorderLayout.NORTH);
              JPanel dateBottomPanel = new JPanel(new FlowLayout(FlowLayout.LEFT, 5,0));
              dateBottomPanel.add(maxHeadlinesLabel);
              dateBottomPanel.add(maxHeadlinesTextField);
              dateBottomPanel.add(maxHeadlinesAllowedLabel);
              datePanel.add(dateBottomPanel, BorderLayout.CENTER);
              centerPanel.add(filterBottomPanel, BorderLayout.SOUTH);
              JPanel okCancelPanel = new JPanel(new FlowLayout(FlowLayout.LEFT,0,0));
              okCancelPanel.add(new JButton("OK"));
              okCancelPanel.add(new JButton("Cancel"));
              tab1Panel.add(centerPanel);
              tab1Panel.add(datePanel);
              tab1Panel.add(okCancelPanel);
              return tab1Panel;
         public JPanel createTab2Panel()
              tab2Panel = new JPanel(new FlowLayout(FlowLayout.LEFT,0,0));
              return tab2Panel;
         public JPanel createTab3Panel()
              tab3Panel = new JPanel();
              return tab3Panel;
         public static void main(String[] args) {
              MyTabbedPaneTest test = new MyTabbedPaneTest();
    }

  • Hierarchy not getting displayed in BPS top down planning

    HI
    As per our business requirement we have enhanced planning levels 4MP70000 and 4MP80000 to make it as planning function for four quarters. This is working fine as expected but we are facing issues in hierarchy. When implemented from CRM side we are seeing them as indpendent structures and not as hierarchies. Also the constraint that the sum of child node amounts should not exceed the parent node is not getting implemented. We used the hierarchy variable 4MKTHI01.
    Please guide us what could be the issue and any help on this is greatly appreciated.
    Thanks.

    We got the sloution for this:
    We need to make the hierarchy setting and tick the check entry box in top down planning layout. Then this is automatically taken care of.
    Regards
    Sirisha.

  • KE28 Top-down distribution for only part of the Value Field

    Hi Experts,
    We have a situation where we will make manual postings in CO-PA through KE21N. Part of this postings will be at the lowest detailed level and part will be for a more summarized level od characteristics. All the postings will flow to the same value field.
    We need to make a top-down distribution only for the postings that were made in a summarized level, because the other postings already have the details that we need.
    Is it possible?
    Kind Regards
    Mayumi Blak

    Hi Venkata,
    Please note that :-
    you can not distribute to a characteristic that already contains a
    value.  Please see note 77476.  If you want to distribute to eg.
    profit center, then the characteristic must be initial (in the data
    to be distributed).
    In the case where the log showed "number of receivers" but no line
    written is a common problem in transaction KE28 logged by customers.
    One example is that, if the amount of line items is 0.00 for all the
    receivers, no line item will be written.
    No values in reference data:
    If there are no values in reference data for some segments (see the
    log). No records are posted (segments which were distributed, but
    their value is zero i.e. there is no value to be distributed, are not
    posted).
    No initial values in the distribution level (ie. # - non assigned)
    in each of the characteristics in distribution level.
    Kind Regards,
    Abhisek Patnaik,

  • How can I organize a 16 site broschure in landscape DIN lang format? You reed this broschure top-down!

    I tried to create a broschure with 16 sites. Open format of one site is 210x210 Closed format is 210x99. I tried a lot but I beleave Indesign accept only to organise the printarea from left to right. But I need a top-down site oranisation.
    I hope anyone know the answer.
    Thank in advanced

    You have to set up your brochure in portrait!
    You can rotate the view on screen of your spreads in 90° steps during your work. Only one problem remains, the baseline grid is not rotated, but you can use a frame based baseline grid which can be rotated, you can save this baseline grid in object styles.
    Your measures are wrong: Your pages have to have w x h 105mm x 210mm.
    99mm x 210mm is the Zick-Zack-fold from a DIN A4 which is 297/3mm x 210mm, this would be wrong here.

  • Running the Java program as service.

    Hi,
    I want to create have java program, which runs continously. This would hit check a table in Database for any new records and if there is anything it would post a message to another service. It would keep track of how many messages were posted and how many were completed at any point of time.I should have the ability to stop this service. When a stop sequence is initiated, it should wait till all the messages are processed and shutdown. I am looking for inputs on how to invoke the java program as service and the second part (stopping the service). I dont want to Java wrapper service or commons daemon api. I am on JDK 1.4.2
    Thanks in Advance.
    Regards,
    Arul.

    Do you want to write a daemon? I dont think you can do it without some explicit OS support..
    Well, lemme know if you find a way

  • Problem generating stubs for Java EJB web service deployed in OAS

    I created an EJB web service and I've successfully deployed it in my Oracle App Server. Some of the methods work fine but others produce the ff error:
    org.apache.soap.SOAPException - java.lang.IllegalArgumentException: No Serializer found to serialize [classname] using encoding style [encoding]It seems that the objects specified as parameters in the web service methods exposed are the only ones that had stubs generated for them. Other objects I use, which are usually wrapped inside a Vector, did not have generated stubs.
    Example:
         public String loginUser(UserDTO userDTO) throws RemoteException, NamingException, SQLException;
    public String addItems (Vector vecItems) throws RemoteException, NamingException, SQLException; // where vecItems is a collection of ItemDTO objects     In this scenario, stubs were generated for the UserDTO class, but not for the ItemDTO class. In effect, calling the addItems method resulted to the exception I mentioned above.
    I did a workaround wherein I declared a dummy method which accepted all the types of objects I needed as parameters so all the necessary stubs can be generated, but this fix doesn't feel like it's the proper solution to my problem.
    If anyone can help me, it would be greatly appreciated. Thanks!

    Crossposted:
    Problem generating stubs for Java EJB web service deployed in OAS

  • Unable to install Sun Java System MAPI Service Providers

    I tried to install the outlook connector for Outlook 2003. I've got the following error message. It said that Unable to install Sun Java System MAPI Service Providers. I am using Windows 2000 SP3 platform
    --- 2005/06/22 11:41 ---
    11:41:26 [5365] Outlook version is 11.0.6359.0.
    11:41:26 ERROR: [5501] Unable to find MAPI directory.
    11:41:26 No directory "C:\Program Files\Common Files\System\MAPI\LANGID" with LANGIDs: 1033, 0, 1033, 1033, 1033, 1033.
    11:41:26 [5475] TMP directory is 'C:\DOCUME~1\admin\LOCALS~1\Temp'.
    11:41:28 [5362] Checking Windows version.
    11:41:28 [5363] Windows version is 5.0.
    11:41:28 [5364] Checking Outlook version.
    11:41:28 [5509] Checking default mail client.
    11:41:28 [5508] Default mail client is 'Microsoft Outlook'.
    11:41:28 [5178] Verifying that Outlook is not running.
    11:41:28 [5179] Trying to login to shared session.
    11:41:29 ERROR: [5501] Unable to find MAPI directory.
    11:41:29 No directory "C:\Program Files\Common Files\System\MAPI\LANGID" with LANGIDs: 1033, 0, 1033, 1033, 1033, 1033.
    11:41:29 [5366] Checking whether Sun Java System MAPI Service Providers are installed.
    11:41:29 ERROR: [5501] Unable to find MAPI directory.
    11:41:29 No directory "C:\Program Files\Common Files\System\MAPI\LANGID" with LANGIDs: 1033, 0, 1033, 1033, 1033, 1033.
    11:41:31 ERROR: [5351] Unable to install Sun Java System MAPI Service Providers.
    11:41:31 ERROR: Unable to install Sun Java System MAPI Service Providers.
    Anyone can help for this? Thanks

    I have used this method, but the dog gone service does not return a started status. It just keeps saying starting even after the service starts.
    Download sc.exe from ftp://ftp.microsoft.com/reskit/win2000/sc.zip and copy
    it to system32
    Open a command line, change to C:\Sun\AppServer\lib and run:
    C:\winnt\system32\sc.exe create SJdomain1 binPath=
    "C:\Sun\AppServer\lib\appservService.exe
    \"C:\Sun\AppServer\bin\asadmin-pause.bat start-domain domain1\"
    \"C:\Sun\AppServer\bin\asadmin-pause.bat stop-domain domain1\"" start= auto
    DisplayName= "SunJava domain1"
    1. I'm no fan of windows and I prefer Solaris or Linux
    2. Windows should have this tool as a part of the OS so I don't have to go hunt for it
    3. I guess this solution is better than no solution at all :)

  • HT1338 Help I can't get Java to down load to my Mac version 3.06 I have did the soft ware up date ?

    Help I can't get Java to down load !

    Hello BROitsJAMIE,
    Thanks for using Apple Support Communities.
    I'd like you to please follow the troubleshooting in the article linked to below in order to resolve this issue with your Mail.
    OS X Mail: Troubleshooting sending and receiving email messages
    Take care,
    Alex H.

Maybe you are looking for