How to implement sheduling services in Ep

Hi all,
I would like to know how to implement scheduling services in ep in the sense .. running jobs in portal .
Any pointers to this would be of great help.
Thanks& Regards,
Uma,

Hi Uma,
If you have not already done so, try the following weblog by Prakash.
<b>Did you know you can schedule jobs in portal using KM's Scheduler Task?>
Hope this helps you
Ranjith

Similar Messages

  • Oracle BI Enterprise Edition - How to implement "Scheduling Services"

    hi,
    Currently doing some analysis of OBIEE for project specification doc.
    Please help me for the below need.
    1. How to implement "Scheduling Services" in OBIEE , terms of;
    a.Integration with 3rd party schedulers
    b.Job management
    c.Job scheduling
    d.Notifications
    reg,kannan
    Edited by: user4810433 on Nov 13, 2008 8:59 PM

    hi,
    try this below links
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/delivers/delivers.htm
    http://oraclebizint.wordpress.com/2007/09/13/oracle-bi-ee-10133-configuring-delivers-ibots/
    Regards
    Naresh
    Edited by: Naresh Meda on Nov 13, 2008 9:03 PM

  • How to implement singleton service if i m using only jar and war component

    hello,
    in my application i m using only jar and war component .
    as i m not using EAR for deployment so i dont have weblogic-application.xml file.
    so in this case how i implement weblogic singleton service .and how to call active method

    From the documentation:
    After you have created a singleton service class using the SingletonService interface, you must define it as a singleton service within WebLogic Server. This singleton service object contains the following information:
    The path to the class to load as the singleton service.
    The preferred server and other candidate servers for the singleton service.
    The following excerpt from the cluster element of config.xml shows how a singleton service is defined:
    <singleton-service>
    <name>SingletonTestServiceName</name>
    <user-preferred-server>myManaged1</user-preferred-server>
    <class-name>mycompany.myprogram.subpackage.SingletonTestServiceImpl</class-name>
    <cluster>myCluster</cluster>
    </singleton-service>
    Note that the config.xml is located in the <domain-home>/config directory

  • How to implement web service client timeout

    I'm trying to implement a web service client using JAX-RPC specification and the client is generated by clientgen utility. We are using weblogic8.1(sp5).
    How do I control the connection timeout and data transmission timeout? I have tried:
    BindingInfo.setTimeout() method and stub._setProperty("weblogic.webservice.rpc.timeoutsecs", "1" /* secs */);
    and they don't seem to be working...
    I have searched the web service documentation and didn't found any mentioning on this. Can someone shred some light on this?
    Thanks.
    Ren
    null

    Hi,
    I had a problem too for setting the timeout of a webservice client. but i didn't find any thing on this.
    But there is a work around for this see if it suits you but for this you have to use Apache AXIS webservice api to generate the client in that Api you have the Stub.timeOut() function to over come this problem
    Cheers !!
    Vivek:-)

  • How to implement a service that runs once a day?

    Hi all,
    is there a service or so available that waits for example 24 hours and runs every day for example at 9:00 am?
    I know there is the Wait service with the scheduleWait operation, but I can only specify days, hours or minutes. So I can not use this service to specify a time when to run. How is this possible?
    Thanks in advance!
    Paul

    Design your process somewhat similar to the above model.
    Invoke your process (only one time) at 9 AM.
    This is the simplest solutions. The other way is to write a custom DSC.
    Nith

  • ACE: How to implement multiple services on a pair of servers

    We plan to loadbalance two mail servers which offer several services like http, imap and pop3. Those services are independent from each other.
    Our idea is to use an own serverfarm for each service, something like that :
    probe http http-probe
    probe imap imap-probe
    probe pop3 pop3-probe
    serverfarm host http-farm
    predictor leastconns
    probe http-probe
    rserver server1
    inservice
    rserver server2
    inservice
    serverfarm host imap-farm
    predictor leastconns
    probe imap-probe
    rserver server1
    inservice
    rserver server2
    inservice
    serverfarm host pop3-farm
    predictor leastconns
    probe pop3-probe
    rserver server1
    inservice
    rserver server2
    inservice
    Is that approach meaningful at all ?
    Can we use a common vip for all serverfarms or do we have to assign a unique vip for each farm ?
    How do we distinguish between the different requests ?
    Has somebody a sample configuration for that ?
    Thank you very much in advance.

    If the 3 services run on the same port, using different serverfarm does not make sense just because the problem would be different.
    If they run on different ports, then you have the distinction that you need to split the config.
    Gilles.

  • Business process bpmn implementation with services in uddi

    Dear everyone,
    could anyone provide me the link to the tutorial of implemenation bpmn with service in uddi?
    I don't know how can i call a service, and how i implement a service in bpmn process with jdeveloper.
    many thanks in advance,
    sophea

    Hi Sophea,
    You can use service activity to invoke the service.
    For exposing the BPM process as service, you can use message start activities (Receive) and service activity (Reply) to implement synchronous pattern.
    Please refer Oracle&amp;reg; Fusion Middleware Modeling and Implementation Guide for Oracle Business Process Management 11g Release 1…
    Hope it helps.
    Thanks

  • How to Implement BW in IT Service Desk/IT Help Desk /IT Complain Surveillance Dept/IT Customer Support Dept?

    Hi
    If a organization have 200 to 300 daily complains of there IT equipment/Software/Network e.t.c.
    How to Implement BW in IT Service Desk/IT Help Desk /IT Complain Surveillance Dept/IT Customer Support Dept?
    Is there any standard DataSources/InfoObjects/DSOs/InfoCubes etc. available in SAP BI Content?

    Imran,
    The point I think was to ensure that you knew exactly what was required. A customer service desk can have many interpretations from a BI perspective.
    You could have :
    1. Operational reports - calls attended per shift , Average number of calls per person , Seasonality in the calls coming in etc
    2. Analytic views - Utilization of resources , Average call time and trending , customer satisfaction , average wait time
    3. Strategic - Call volumes corresponding to campaigns etc , Employee churn and related call times
    Based on these you would then have to construct your models which would be populated by data from the MySQL instance for you to report.
    Else if you have BWA you could have data discovery instead or if you have HANA - you could do even more and if you have a HANA sidecar - you technically dont need BW. The possibilities are virtually endless - it depends on how you want to drive it and how the end user ( client ) sees value in the same.

  • How  to implement "my appraisals" service in ESS ?

    hi,
    i am configuring ESS in EP 6.0. My back end system is MySAP ERP. i wanted to implement "My Appraisals" service in ESS but i dont see any iview for it . Can anyone tell me how to implement it in ESS?
    regards,
    aditi

    Hi Aditi
    if u dont' found ZEMPLOYEE_CAREER_MBO  (customer specific)
    crate ur own by following
    spro ->IMG ->cross-application components ->Homepage Framework-> resources ->define resources ->define resources (add entry)
    click on new entry
    specifi the following
    resource key -
    >ZEMPLOYEE_CAREER_MBO
    description -
    >Appraisals In Process
    object name----->hap_document/documents_todo.htm
    url of pcd page-->pcd:portal_content/com.sap.pct/every_user/com.sap.pct.ess.employee/com.sap.pct.ess.roles/com.sap.pct.ess.employee_self_service/com.sap.pct.ess.employee_self_service/com.sap.pct.ess.area_career_job/com.sap.pct.ess.bsp_career_job
    save ur entry. release the request.
    now create the service.
    spro ->IMG ->cross-application components ->Homepage Framework-> services->define services->define services(add entry)
    click on new entry specifie following
    service key -->EMPLOYEE_CAREER_APPRAISALS
    service link text-->Appraisals
    service type--->service build with BSP
    link resource--->ZEMPLOYEE_CAREER_MBO
    save ur entry.
    now click on assign services to subarea->Assign Services to Subareas (Find Entries)
    create new entry.
    subarea key---->EMPLOYEE_CAREER_SUBAPPRAISALS
    service key short---->EMPLOYEE_CAREER_APPRAISALS
    position--->1
    if u have any query revert back
    regards,
    kaushal

  • How to Implement Management Chain in External routing Service

    hi,
    I am using External Routing Service to Assign & route the tasks.
    I will get the authorisation workflow in our external Routing class , Now I am suppose to implement that workflow in BPM worklist for that human task.
    One way is to know the way to implement management chain in the External Routing Service.
    I have found some BPEL classes for doing the same eg. ParticipantsType.ManagementChain, objFactory.createParticipantsTypeManagementChain().
    But not able to find any sample code to implement.
    Does any body knows how to implement the same.
    Is their any other way to resolve this issue.
    you can also refer the following thread to understand the problem statement: PROGRAMMATICALLY PERSISTING THE APPROVAL WORKFLOW FOR A HUMAN TASK.
    thanks
    Jagdish

    I have tried the below mentioned code for implemnting management chain...
         private Participants createParticipant() {
              System.out.println("1");
              String user = users[numberOfApprovals++];
              ObjectFactory objFactory = new ObjectFactory();
              Participants participants = objFactory.createParticipants();
              participants.setIsAdhocRoutingSupported(false);
                   StageType stage = objFactory.createParticipantsTypeStage();
                   stage.setName("Stage1");
                   System.out.println("2");
                   SequentialParticipant seqParticipant = objFactory.createParticipantsTypeSequentialParticipant();
                   seqParticipant.setName("Stage1.Participant1");
                   System.out.println("3");
                   ListType listType = objFactory.createList();
                   ManagementChainListType managementListType = objFactory.createManagementChainListType();
                   // adding Resource in the management chain
                   ResourceType resourceChain = objFactory.createResourceType("fkafka");
                   resourceChain.setIsGroup(false);
                   resourceChain.setType("STATIC");
                   resourceChain.setIdentityType("user");
                   managementListType.getResource().add(resourceChain);
                   System.out.println("4");
                   // adding levels in the management chain
                   ParameterType levelParameterType = objFactory.createParameterType("2");
                   levelParameterType.setType("STATIC");
              managementListType.setLevels(levelParameterType);
                   System.out.println("5");
                   // adding title in the management chain                    
                   ParameterType titleParameterType = objFactory.createParameterType("Vice President");
                   titleParameterType.setType("STATIC");
                   managementListType.setTitle(titleParameterType);
                   System.out.println("6");
                   listType.setManagementChain(managementListType);
                   System.out.println("7");
                   seqParticipant.setList(listType);
                   System.out.println("8");
                   stage.getParticipantOrSequentialParticipantOrAdhoc().add(seqParticipant);
                   System.out.println("9");
              participants.getParticipantOrSequentialParticipantOrAdhoc().add(stage);
              System.out.println("10");
              return participants;
    The above code doesnot give error during execution but It doesnot work, what It's suppose to be...
    what It does is..It calls onInitiation method number of times [equal to the number of levels given in hierachy +1] at one shot. without being assigned to anybody and come out of the human task.
    please let me know..If am missing something...
    thanks
    Jagdish Khera

  • How to implement redundant with 1 CE router to 2 MPLS service providers

    Dear all,
    Our head-office are currently have 1 Cisco CPE 3825 router with 2 WAN connections to our branches. We are now using static routing protocol in our network infrastructure, we consider how to implement the redundancy for networks by the redundant circuits connection to 2 MPLS providers, only when the primary connection to the primary MPLS L3 provider fail, the backup link to the second MPLS Layer 2 provider automatically active. Anybody knows where can I find information, tips or examples, how we'd handle the routing for that?
    We are now have:
    1 G0/1 interface connect to primary MPLS L3 Provider (the 2nd G0/2 interface is a leased-line connection to our partner, and we not consider here)
    1 HWIC (layer 2) card, with 4 ports, which has interface F0/2/3 connected to the backup MPLS Layer 2 provider.
    Thanks in advance.
    PS: Current configuration : 3727 bytes
    version 12.3
    service timestamps debug datetime msec
    service timestamps log datetime msec
    service password-encryption
    hostname Router
    boot-start-marker
    boot system flash c3825-entservicesk9-mz.123-11.T7.bin
    boot-end-marker
    logging buffered 4096 debugging
    logging monitor xml
    no aaa new-model
    ip subnet-zero
    ip cef
    no ftp-server write-enable
    no spanning-tree vlan 4
    no spanning-tree vlan 5
    interface GigabitEthernet0/1
    description connect to VDC MPLS$ETH-WAN$
    mtu 1480
    ip address 222.x.x.66 255.255.255.252
    ip flow ingress
    ip flow egress
    service-policy output SDM-QoS-Policy-1
    ip route-cache flow
    duplex auto
    speed auto
    media-type rj45
    fair-queue 64 256 256
    no cdp enable
    interface FastEthernet0/2/0
    switchport access vlan 2
    no cdp enable
    interface FastEthernet0/2/3
    description ToTBToverFPT
    switchport access vlan 5
    no cdp enable
    interface Vlan2
    description CONNECT TO MPLS_VDC
    ip address 192.168.201.9 255.255.248.0
    interface Vlan5
    description Connect to HoChiMinhCity
    ip address 172.16.1.5 255.255.255.252
    ip classless
    ip route 0.0.0.0 0.0.0.0 Dialer1
    ip route 172.16.244.0 255.255.255.0 222.255.33.65
    ip route 192.168.0.0 255.255.248.0 222.255.33.65
    ip route 192.168.24.0 255.255.254.0 222.255.33.65
    ip route 192.168.30.0 255.255.254.0 222.255.33.65
    ip route 192.168.32.0 255.255.254.0 222.255.33.65
    ip route 222.x.x.68 255.255.255.252 222.255.33.65
    ip route 222.255.33.72 255.255.255.252 222.255.33.65
    ip route 222.x.x.196 255.255.255.252 222.255.33.65
    ip route 222.x.x.200 255.255.255.252 222.255.33.65
    ip http server
    ip http authentication local
    no ip http secure-server
    ip http max-connections 3
    control-plane
    line con 0
    logging synchronous
    stopbits 1
    line aux 0
    stopbits 1
    line vty 0 4
    password
    login
    transport input telnet
    line vty 5 14
    privilege level 15
    password
    login
    transport input telnet
    line vty 15
    privilege level 15
    password
    login
    transport input telnet
    parser view SDM_Monitor
    scheduler allocate 20000 1000
    end

    Hi Mr jianqu,
    Because of our customer now has 2 main central offices, and all other sub branches are now connected to each of these main central office via one primary full-meshed MPLS VPN of 1st Service Provider, so If I use the float static routes, and when there is a failure at one link at a CENTRAL CE Router to primary link to primary MPLS VPN Service Provider, but still there is no failure at the other site from a router CE sub branch with the the PE of the primary full-meshed MPLS VPN Layer 3 Service Provider,so It cannot cause a failover to a second redundant link of the 2nd Service Provider?
    So with our system, do we only have one solution like this:
    -Configure BGP as the routing protocol between the CE and the PE routers.
    -Use local preference and Multi Exit Discriminator (MED) when running BGP inside a our customer VPN to select the primary and backup links.
    -Use AS-override feature to support overlapping AS numbers between customer sites

  • How to Implement Async JAX-WS 2.1 Service

    I would appreciate some guidance, or links to documentation, on how to implement an asynchronous JAX-WS 2.1 web service (note that I am NOT asking how to implement a client program that invokes a JAX-WS web service asynchronously b/c BPEL will be invoking the service).
    Ultimately, what I need to accomplish is to:
    (a) implement a JAX-WS web service that can be invoked asynchronously
    (b) deploy that JAX-WS web service to Oracle WebLogic 10.3 and
    (c) invoke the JAX-WS web service asynchronously from Oracle BPEL Process Manager 10.1.3.3.
    As an example, let's say I have the following class that I'd like to expose as an async JAX-WS web service:
    <pre>
    public class EngineConfigurationService
    public Configuration configureEngine(ConfigurationRequest aRequest)
    //....arbitrary amounts of long-running computation happens here...
    return configuration;
    </pre>
    How would I annotate this class to allow it to be consumed as an async JAX-WS web service? Would I need any other classes (e.g., a "response" class)?
    Thanks in advance for any help.
    Dave

    I recently developed a test async web service and deployed it on weblogic 9. What I did was 1.) create a java class with with standard ws annotations.
    2.)Compile it using jwsc ant task setting the attribute enableAsyncService="true".
    I am pasting the java file and the ant target here for your reference.
    <taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask" classpathref="classpath.basic"/>
    <target name="buildWebService">
         <jwsc
         srcdir="${basedir}/src/com/test/"
         sourcepath="${basedir}/src/com/test/"
         destdir="${basedir}/build"
         classpathref="classpath.basic"
         keepGenerated="true"
         enableAsyncService="true"
         debug="on">
         <module contextPath="TestAsyncWS" name="TestAsyncWS" explode="false" >
              <jws file="TestAsyncWS.java">
         <WLHttpTransport contextPath="TestAsyncWS" serviceUri="TestAsyncWS" portName="TestAsyncWS" />
         </jws>
         <FileSet dir="${basedir}/src" >
         <include name="**/*.java" />
         </FileSet>
         </module>
              </jwsc>     
         </target>
    and here is the java class
    package com.test;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    import javax.jws.soap.SOAPBinding;
    @WebService (name = "TestAsyncWS", targetNamespace = "java:com.test")
    public class TestAsyncWS
         public TestAsyncWS()
         @WebMethod()
              public String sayHello(String textToDisplay)
              String result = "I can still work.Here is what you sent to me. "+ textToDisplay;
              System.out.println(result);
              try {
                   Thread.sleep(20000);
              } catch (InterruptedException e) {
                   e.printStackTrace();
              return result;
    }

  • How to use singleinstance service with a JWS application

    Hello,
    I have a Swing application and i am using Java web start to deploy on the user machines.
    I want to know how to implement the single instance service. so that only one instance os the application is running.
    Where should i use the singleinstance class provided by JNLP api.
    for ex:
    package test;
    import java.awt.BorderLayout;
    import javax.swing.JFrame;
    import javax.swing.JOptionPane;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTextArea;
    import javax.swing.border.EmptyBorder;
    import java.util.Date;
    // classes of the web-start API, used in this example.
    import javax.jnlp.SingleInstanceListener;
    import javax.jnlp.SingleInstanceService;
    import javax.jnlp.ServiceManager;
    import javax.jnlp.UnavailableServiceException;
    /** A test of the SingleInstanceService using the web-start API.
    @author Andrew Thompson
    @version 2007/1/8
    public class SingleInstanceApplication
    extends JFrame
    implements SingleInstanceListener {
    /** A simple editing area. */
    JTextArea document;
    /** Assemble the GUI. */
    SingleInstanceApplication() {
    super("JNLP API single instance service");
    try {
    SingleInstanceService singleInstanceService =
    (SingleInstanceService)ServiceManager.
    lookup("javax.jnlp.SingleInstanceService");
    // add the listener to this application!
    singleInstanceService.addSingleInstanceListener(
    (SingleInstanceListener)this );
    } catch(UnavailableServiceException use) {
    use.printStackTrace();
    System.exit(-1);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    document = new JTextArea(
    "Try openning another version of this application\n");
    document.setEditable(false);
    JPanel main = new JPanel(new BorderLayout());
    main.add(new JScrollPane(document));
    main.setBorder( new EmptyBorder(8,8,8,8) );
    getContentPane().add(main);
    pack();
    setSize(400,300);
    setLocationRelativeTo(null);
    /** Specified by the SingleInstanceListener interface
    @param args The command line parameters used for this invocation */
    public void newActivation(String[] args) {
    StringBuffer sb = new StringBuffer();
    for (int ii=0; ii<args.length; ii++) {
    sb.append("'" + args[ii] + "' ");
    String message = "Got new args: " + sb.toString();
    // this usually serves to alert the user the app.
    // wants attention. On Win. it will flash the
    // apps. icon in the task bar.
    JOptionPane.showMessageDialog(this, message);
    // also add the new args and time to the document.
    document.append( new Date() + "\t" + message + "\n" );
    /** Construct the GUI and display it. If the user double clicked
    a file to start the application, begin measures to load that file. */
    public static void main(String[] args) {
    SingleInstanceApplication app =
    new SingleInstanceApplication();
    app.setVisible(true);
    in my progrma there are many clasess where should i use this.
    Pls help new bie!!
    Thanks and Regards

    To work for your project, the SIS has to be implemented on the class that is the main(). To implement the SIS for a class, it needs to declare it implements the SingleInstanceListener and define the new activation method. Also, it needs to have the SingleInstanceService added to it via. the methods addSingleInstanceListener(). It is not strictly necessary to call addSingleInstanceListener() from the main() class, but it does make a lot of sense.
    Does that answer your question?
    Edited by: AndrewThompson64 on Dec 15, 2007 1:28 AM
    Edited by: AndrewThompson64 on Dec 15, 2007 1:48 AM

  • 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

  • How to create Web Service based on PI WSDL message

    Hi all,
    we have following scenario:
    Within PI (version 7.1) we set up a message type and inbound service interface. This service interface should send the PI message to a web service running on a SAP J2EE (version 7.01). As the PI message is sent as WSDL I thought it should be easy to build a web service on the SAP J2EE based on this WSDL from PI.
    Unfortunately, I have problems creating the Web Service.
    For my current project we integrated the NWDI to the SAP NetWeaver Developer Studio and I'm required to add the Web Service to an existing DC (Development Component) within the NWDI.
    What I tried so far is:
    - I created a Deployable Proxy Project and within this I created a Client Proxy Definition based on the WSDL from the PI. But I can't add this Proxy to the DCs of the NWDI and I don't know how to implement my own coding here in order execute specific functions.
    - I created a new class within the NWDI DC and a public method. Based on this I created a Virtual Interface and a Web Service Definition (WSD). Then I added this to a Web Service Deployment Descriptor. I uploaded this to the SAP J2EE. But I'm not able to access this and I don't know hoe to assign the WSDL here.
    I also tried here to create a client proxy based on this WSD as I thought I might assign the WSDL here. But I don't see the WSD in the list of Web Services uploaded to the SAP J2EE...
    Can you please advice me how to create a Web Service in such an environment?
    regards
    René Jurmann

    Hi Tahir,
    sorry that you needed to wait this long - but this is how I created the web service:
    The steps on how to create the web service in NetWeaver Developer studio are nearly the same as described in the blog http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5838. [original link is broken] [original link is broken] [original link is broken]
    Some steps I just skipped and some others I added. Some of the steps I did the way I described it as I needed to connect the web service with the SAP PI.
    Prerequisites:
    Add Java Perspective and J2EE Development Perspective to the open perspectives.
    Within "Window - Preferences - Web Services" check "Soap extensions visible in the virtual interface editor"
    The SDM of the corresponding SAP J2EE is configured within "Window - Preferences"
    Create a Development Component (DC) with type "J2EE -> EJB Module"
    The business logic of the web service will be implemented in an Enterprise Java Bean (EJB). So first the EJB component must be created:
         Choose "File -> New -> Other"
         In opening PopUp choose "Development Component -> Development Component Project"
         Select the Software Component for which you want to add the DC (e.g. "Local Development -> MyComponents")
         Choose now vendor, name and type:
              vendor is an alpha-numeric string of 20 characters starting with a letter - all in lower case
              name is an alpha-numeric string starting with a letter - all in lower case
              vendor and name concatenated must not be longer then 40 characters
              the name can be separated into different part using "/" as separator
              each part of the name must not be longer than 8 characters
              the type is "J2EE - EJB Module"
              you can specify a Caption as general description for the web service
    Create new EJB
    To create the EJB itself:
         In J2EE DC Explorer of J2EE Development Perspective expand new DC and right-click on folder "ejbModule"
         Choose "New - EJB" with following details:
              EJB Name: <name as for PI service Interface to be created - starting in upper case>
              EJB Project: <pre selected>
              Bean Type: Stateless Session Bean
              Default EJB Package: <corresponds to namespace in PI>
              generate default interfaces: Checked
    Regarding the "Default EJB Package" this should be created according the namespace in PI for which all PI objects will be created. This only applies if you have some naming conventions here.
    Example:
    Namespace in PI is:  http://company.net/pi/SOFTWARE_COMP/Application
    The corresponding package then is: net.company.pi.software_comp.application
    Implement coding for web service
    As the web service will be called via PI some transfer variables will be submitted. Most likely, those variables will not be standard type (e.g. String) but a complex type. Those types must be generated as Java classes. Below an example of a complex type I needed:
    Data Type
    net.company.pi.software_comp.application.types.MessageProcessingInformation
    Structure:
         Element name          Element type
         sendingSystemID          String
         interfaceID               String
         businessProcessVariantCode     String
         testIndicator               Boolean
    For every element described a public "get", "set" and "has" method must be created in the corresponding Java class:
    package net.company.pi.software_comp.application.types;
    import java.io.Serializable;
    public class MessageProcessingInformation implements Serializable {
         protected String sendingSystemID;
         protected String interfaceID;
         protected String businessProcessVariantCode;
         protected Boolean testIndicator;
         public String getSendingSystemID() {
              return sendingSystemID;
         public void setSendingSystemID(String value) {
              this.sendingSystemID = value;
         public boolean hasSendingSystemID() {
              if(sendingSystemID != null && !sendingSystemID.equals("")){
                   return true;
              return false;
    All Java classes representing complex types and all classes referenced here (used for sub-types) must implement java.io.Serializable. Java standard types which do not implement this class must not be used as sub-types.
    As soon as all data types are declared the real business logic can be implemented:
         In J2EE DC Explorer of J2EE Development Perspective expand DC - "ejb-jar.xml" - <Name> and double click on "ejbCreate"
         In detail view select folder "Business Methods" and click "Add"
         choose name of business method - this should be the same as the PI message type used for the service interface - starting lower case
         return type should be "void"
         add needed parameters fully qualified - including package (as specified in PI and created previously in DC)
         you can mark certain parameters as array if necessary
    Remark:
    It might be that after saving you get an error. This might be as the package name of one component is copied to the corresponding Java class at the very beginning (before the package declaration within the Java class). Simply delete the string here.
    It also might be, that the new business method is only defined in the remote interface class but not in the bean class. Just create an according method in the bean class.
    Within the newly created business method within the bean class you can now implement the business logic.
    Create a DC with type "J2EE -> Enterprise Application"
    In order to create the "real" web service and deploy it to the J2EE an Enterprise Application project has to be created. So create a new DC as for the EJB Module but choose as type "J2EE -> Enterprise Application".
    After the DC is created right click on the EJB DC and choose "Add to EAR Project". Choose the new DC.
    Create web service for EJB
    As soon as you implemented the business logic you can create the "real" web service. Therefore:
         Right click on the EJB name below "ejb-jar.xml"
         Choose "New - Web Service"
         Choose proper "Web Service Name" and "Configuration Name" (probably oriented at the EJB name)
         Copy the URL of the web service - you'll need it later for PI configuration
         on the second next screen use the same name for "Virtual Interface" and "Web Service Definition" (the name should be the name of the "Endpoint")
         the "EAR Project" should be preselected
    Unfortunately, the web service can't be used in its current configuration to be accessed by PI. Therefore the Virtual Interface must be changed. To do so, expand folder "Virtual Interfaces" and double click the virtual interface created.
    Within the detail view expand in tabs "Mapping" and "Types" the complete folder structure. For any "SOAP Extension" where a namespace can be defined use as namespace the corresponding namespace in PI (e.g. http://corpintra.net/pi/CBFC_GLOBAL_SAP_APPL/BillerDirect) but do not change any "Soap Extension" of a standard Java type. (if you don't have any naming convetions for namespaces in PI you can leave the SOAP Extension here. But then the namespace in PI should be set accordingly.)
    Probably it can be necessary on top level "Soap Extensions" in tab "Mapping" to leave "Use Namespaces for Parameters" unchecked. For some of my web services this parameter must be checked for others not - just try.
    If you can define a "New Name", "Local Name" or "Item Label" for a Soap Extension then use a name with starting upper case letter. (For Java Naming conventions most of the data type names will start with lower case letters.) Especially the method name must be renamed this way in order to stick to the PI namings.
    As a last point to change here check in tab "Mapping" all "Incoming Parameters" which you specified as array. Use for those as "New Name" a different name - do not just simply change from lower case to upper case. This is necessary as on PI we need to create two levels although here only one is specified.
    For any own sub-type declared as array the name within the coding should also differ from the corresponding Java Class name the type refers to.
    If all this is done you can deploy the web service to the J2EE:
         right click on "Enterprise Application" DC and choose "Development Component - Build..." and build all corresponding components
         right click on "Enterprise Application" DC and choose "Development Component - Deploy"
    Test the new web service via <J2EE URL>/wsnavigator/enterwsdl.html
    Create PI interface
    After the web service is created successfully the PI integration can be started.
    Therefore, within the Enterprise Services Builder create a data type according to the web service definition. All components defined on top-level for this data type should be declared as incoming parameter for the web service business method. Therefore it could be necessary to create some sub data types on PI first and add those to the "master" data type.
    Ensure that the names of the components correspond to the names defined in the web service (see virtual interface here). Those names must exactly be the same - including lower/upper case. Also take care for the ordering of the components.
    In case you need to include arrays following applies:
    The upper level is of occurrence "1:1". This has only one sub-entry with occurrence "1:n". The names for upper and sub-level must not equal.
    Based on the data type a message type is created. The name of the message type must be exactly the same as the name of the web service business method. (Hint: the name of the web service business method was most likely changed in the virtual interface. Then this name must correspond to the message type name.) Based on the message type an asynchronous inbound interface is to be created (which will be referred in the Integration Directory). The operation name for this interface (left panel) should be the same as the name for the web service business method.
    Create PI mappings and routings
    How to map (message mapping and operation mapping) from source to the web service message I wont explain here as this depends on the source message. The only important things here are:
         When creating the SOAP communication channel within the Integration Builder the "Target URL" is:
              <J2EE URL>/<Access URL as specified in web service creation>?wsdl&style=document
         The soap action is the name of the web service business method.
         Most likely the web service needs authentication to be executed.

Maybe you are looking for

  • Getting field names of an internal table

    Hi all, Does anyone know if exists a statement, function module or method that gets the field names of an internal table ? Thanks in advance, David

  • SAP connected fax machine issue

    Hi All , Need to know where the fax machine settings are made . Issue is  one automatic cover page is coming with To address as SAP while sending fax . Need to know where we can disable that. Thanks & Regards , Sabu.

  • End user and password change

    Hi. I have a small application running on 3.0. I created 10 end-users with a dummy password as "not developers" and "not administrators". Further I marked for change password at next logon. However, users are able to logon using the the link from the

  • System security application addon

    What is "System security application 1.0" addon? Is it firefox software? Why it's getting installed after i've remvoed it?

  • E-mail alarms always sent late

    iCal has been consistently sending me e-mail alarms to late. Generally I set an alarm to send me e-mail about upcoming events 2 or 3 days beforehand, but iCal sends me the e-mail after the event has passed! "Message" and "Message with sound" alarms e