How to start a process via web service with automatically run first screen

Hi guys,
we want to start the process via web service and skip the inbox presentation of the first human activity of the process. It means that the first activity should start automatically by clicking the link (wsdl link).
Is there any opportunity to realize this thought?
THX
Regrads
Phil

Hi Phil,
You may refer to my blog series for steop by step procedure on how to initiate a BPM workflow through webservice. Below are the links:
/people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
/people/arafat.farooqui/blog/2010/06/23/introduction-to-sap-netweaver-bpm-part-5
Hope this helps!!
Regards,
Arafat

Similar Messages

  • How to download a file via web service in Windows Phone 8.1?

    My project just got 2 part.
    1.Pivot app
    2.Webclient server (provide data for pivot app the view the data)
    My concert that how do i do a download button to download a file via web services in to isolated storage.
    urgent!

    something like this:
    public async System.Threading.Tasks.Task DownloadFile()
    using (var client = new Windows.Web.Http.HttpClient())
    var stream = await client.GetInputStreamAsync(new System.Uri("http://urltomyfile"));
    var file = await ApplicationData.Current.LocalFolder.CreateFileAsync("myfile.txt", CreationCollisionOption.GenerateUniqueName);
    using (var fileStream = await file.OpenAsync(FileAccessMode.ReadWrite))
    IBuffer buffer = new Windows.Storage.Streams.Buffer(1024);
    while ((buffer = await stream.ReadAsync(buffer, buffer.Capacity, InputStreamOptions.None)).Length > 0)
    await fileStream.WriteAsync(buffer);
    await fileStream.FlushAsync();
    how is your webservices offering the file?
    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

  • How could I synchronize databases via web services

    I have two web sites. The first has been build in jsp. The second has been build in php. Each of these sites has database mysql.
    I have managed to communicate these two web sites via web services.
    I would like someone to tell me how could I syncronize these two databases via web services. There is something specific procedure?
    Thanks in advance, sorry for my bad English

    If you can explain us what you actually looking for, then I can extend my help.As we are also using websites in jsp which is having DB connections.
    Cheers
    Rajesh R

  • Start GP Process using web services

    Hi,
    I am trying to start a GP process from a Java EJB project using WSDL created by GP component for a particular template. I have created the deployable client proxy from the WSDL and added the reference in the EJB project.
    Any idea how to use different proxy classes within the EJB project to start the process.
    Thanks
    Rajeev

    Hi Rajeev,
      i haven't done one with EJB triggerred it from webdynpro. here is a snippet that kicks of the sample time off process using api from webdynpro
              IUser user = null;
              IGPStructure params = null;
              //  Get current user
              try {               
                   IWDClientUser wdUser = WDClientUser.getCurrentUser();
                   user = wdUser.getSAPUser();
                   //     obtain the Process template
                   IGPProcess process = 
                              GPProcessFactory.getDesigntimeManager().getActiveTemplate(
                   //     by specifying its ID
                   processId,
                   //     and the user accessing it
                   user);
                   //     obtain the Run Time Manager
                   IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
                   //     create a new, empty role assignment list
                   IGPProcessRoleInstanceList roles = rtm.createProcesRoleInstanceList();
                   //     get the number of roles required
                   int rolenum = process.getRoleInfoCount();
                   //     iterate over the required roles
                   for (int i = 0; i < rolenum; i++) {
                        //     add a new role assignment to the list
                        roles.createProcessRoleInstance(
                        //     by specifying the role's unique name
                        process.getRoleInfo(i).getRoleName()).addUser(
                        //     add the current user to every process role
                        user);
                   // Here you see how to populate parameters with data.
                   // This example only works, if you initiate the "Time-Off process"
                   // that is delivered per default with the GP Framework.
                   // You find it in the gallery below "Examples".
                   // Otherwise no parameters are initialized.               
                           params= GPStructureFactory.getStructure(process.getInputParameters());     
                   if (process.getTitle().equals("Time-Off Process")){
                        IGPStructure struc = params.addStructure("Time_off_data.1");                    
                        struc.setAttributeValue("AbsenceTypeText", "Vacation");
                        struc.setAttributeValue("SimulationCode",0);
                        struc.setAttributeValue("CompletionCode",0);
                        struc.setAttributeValue("PaidFlag", true);                    
                   //     initiate the process template by passing the Process template
                   rtm.startProcess(process,
                   //     a name,
                   "API started Process",
                   //     a description,
                   "This process has been started from a WebDynpro via public API",
                   //     the initiating user
                   user,
                   //     the role assignment,
                   roles,
                   //     the initial parameters
                   params,
                   //     and the user actually executing this action
                   user);
              } catch (WDUMException ex) {
                   logger.traceThrowableT(Severity.ERROR,
                        "Current user could not be resolved: ", ex);               
              } catch (GPInvocationException ex) {
                   logger.traceThrowableT(Severity.ERROR,
                        "Exception raised when trying to start process: ", ex);               
              } catch (GPEngineException ex) {
                   logger.traceThrowableT(Severity.ERROR,
                        "Exception raised when trying to start process: ", ex);                    
    Hope that helps
    Abdul

  • Hi... How to start the application for Web Services Example...

    Hi all,
    I want to develop one application for a example of Web services. From J2ME i have to request and get aresponse from other platform like VB.net using Web Service APIs. Any one help me to give one example for this topic.
    Thanks in advance,
    Regards
    Dhana

    Hi,
    I read the demo program. Sorry i am unable understand the concept what is going on in the program. I saw other examples with XML codings with parsing but in this no XML codings are there. I am unable to understand the concept what is going on in J2ME with web services. Give me a simple example if u did any application related to this topic. I have to receive today from the website(web server). Help me...
    Regards,
    Dhana

  • Start an operation in web service with starting glassfish

    Hi all,
    I have a web service.it works with client style JAX-WS and glassfish v2 server. how can i define an operation in my web service that with starting of glass fish v2, this operation starts too?

    fahimeh wrote:
    how can i define an operation in my web service that with starting of glass fish v2, this operation starts too?I am not sure that you can configure glass fish v2 server like this or not. But When ever glass fish v2 or any server starts, all successfully deployed web application, resources etc. gets initialized. In respect to this you can surely configure your web application such a way that whenever it get stated you want to perform any operation.
    So, this will end up with your requirement isn't It?
    Look at this thread: [how to start a thread in a web service when the web service is starting|http://forums.sun.com/thread.jspa?messageID=10915016#10915016]

  • How to implement the security in web service with Weblogic 9.2

    I've generated web service by Web Logic 9.2 using existing WSDL (as per client requirement) and want to add security policy for authentications.
    I have used following annotation in service class.
    @Policies({
    @Policy(uri="policy:Auth.xml" , direction=Policy.Direction.inbound)
    But it gives compilation time error with following message.
    The Policy and Policies annotations are not allowed on jws file when compiledWsdl option is specified
    I've also tried to modify the WSDL to accommodate policy configuration and again generate the web service but problem is being as it is.
    If anybody has solution of this issue then please let me know ASAP.

    Did you get an answer to your question? I have the same problem with WebLogic 10.0.

  • How to get a doc//literal web service with JWSDP1.3

    I can build a rpc/encoded service (based the tutorial),
    but I need a doc/literal.
    Because I have a J2ME client.
    How can I do it?
    thanks

    Do you want to see if Arun's white paper helps you? I checked and he talkks about this at the end of his first scenario, at https://jax-rpc.dev.java.net/whitepaper/1.1/index-part2.html#Scenario1.
    - eduard/o

  • Start GP Process from VC using Web Service with parameters

    Hi,
    II´m trying to instantiate a GP process from a Vc iView using a Web Service; I always used Instantiation via URL but using this method I don´t have any "return" data from GP saying "Ok - The process started succesfully".
    The questions are:
    1) Is possible to start a GP process via Web Services through a VC Flash iview? If so, is posible to send input parameters to the process via the web service?
    2) Does the web service returns any message with the status of the process? ( something like: "the process started succesfully")
    Best regards,
    Marco.

    1) Is possible to start a GP process via Web Services through a VC Flash iview? If so, is posible to send input parameters to the process via the web service?
    A: Yes. You can send input parameters to the service through WS.
    2) Does the web service returns any message with the status of the process? ( something like: "the process started succesfully")
    A: Yes. The return message can be added to the WS. It depends on how do designed the WS.
    -Ashutosh

  • How to create document/literal web services with WLS7

    How do you create document/literal web services with WLS7 ( not workshop)
    - Is it possible with servicegen and stateless EJBs as the backend component?
    The default is RPC/Soap-encoded is there anyway to craft the web-services.xml
    to make it document/literal
    - Is it possible with the JMS-implemented web services - have not tried this yet
    - Is there another mechanism?

    That would be the <web-service> element in the web-services.xml file, of course.
    "Michael Wooten" <[email protected]> wrote:
    >
    Hi Rich,
    Try adding a style="document" attribute to the starting <web-service>
    element.
    The might be a way to get <servicegen> to do this for you, but I haven't
    found
    it yet :-)
    Regards,
    Mike Wooten
    "Rich Muth" <[email protected]> wrote:
    How do you create document/literal web services with WLS7 ( not workshop)
    - Is it possible with servicegen and stateless EJBs as the backend component?
    The default is RPC/Soap-encoded is there anyway to craft the web-services.xml
    to make it document/literal
    - Is it possible with the JMS-implemented web services - have not tried
    this yet
    - Is there another mechanism?

  • Executing a Job via Web Services using a Server Group?

    When executing a job from Designer or from the Management Console you have the option to select a specific job server or a server group.
    But when executing a job via Web Services it uses the first job server with which the repository was associated (i.e. the first job server listed in AL_MACHINE_INFO).
    Is there a way to get the job to execute using a server group instead simply choosing the first job server in the list?
    Note: We are using FIM to execute the jobs via web services and don't have access to additional parameters.

    Joe
    Here is the where you can change the server group/job server.
    - After you add the Batch/real Time job as a webservice.
    - Go to the Webservice Batch Job Attribute and from the drop down choose the "Enable job Attributes" and hit apply.
    - After this if you use the WSDL URL http://<Data Services Web Server>:<Web server Port>/DataServices/servlet/webservices?ver=2.0&wsdlxml
    - You will see the job attributes that you can change based on the allowed parameters mentioned in the documentation.
    The batch job or real time job is published without the job parameters by default. Once you enable the job attributes, remove and re publish the batch job as a web service. The application making the call to this webservice should be able to read the WSDL generated by Data services and pickup all the input and output parameters of the method.
    Refer to the Data Services Integrator guide (Chapter 3 : pages 25 - 33 ) to get the exact parameter values permitted via Data Services jobs called via web services.
    Hope this helps!
    Thanks & Regards
    Tiji

  • How to integrate Oracle BI Publisher via Web Services in Oracle Forms.

    hi
    I hope you fine and happy. I think you hear about the new reporting tool (Oracle BI Publisher).
    Really it is a great tool. I need someone help me; How I can integrate Oracle BI Publisher via Web Services in Oracle Forms.
    I got the guidelines of this integration process from ORACLE.
    But, when I compile the script of publicreportserviceclient.callRunReport - the script running the report -, I get some errors in PL/SQL compiler
    http://www.oracle.com/technology/products/xml-publisher/index.html

    ==========================
    PL/SQL CODE:
    ==========================
    DECLARE
         RAISEDEXCEPTION ORA_JAVA.JOBJECT;
    REPORT_PATH VARCHAR2(200);
    PARAM_NAME VARCHAR2(200);
    PARAM_VALUE VARCHAR2(200);
    UN VARCHAR2(200);
    PW VARCHAR2(200);
    FORMAT VARCHAR2(200);
    TEMPLATE VARCHAR2(200);
    OUT_FILE VARCHAR2(200);
    OBJ ORA_JAVA.JOBJECT;
    BEGIN
    OBJ := PUBLICREPORTSERVICECLIENT.NEW();
    REPORT_PATH := '/LEARN/EMPLOYEES/EMPLOYEES.XDO';
    PARAM_NAME := 'P_DEPTNO';
    PARAM_VALUE := '50';
    UN := 'Administrator';
    PW := 'Administrator';
    FORMAT := 'PDF';
    TEMPLATE := 'Simple';
    OUT_FILE := 'C:\DevSuiteHome_1\j2ee\home\default-web-app\' || 'TEST';
    --PUBLICREPORTSERVICECLIENT.CALLRUNREPORT(OBJ,:REPORT_PATH,PARAM_NAME,:PARAM_VALUE,UN,PW,:FORMAT,:TEMPLATE,OUT_FILE);
    PublicReportServiceClient.callRunReport( REPORT_PATH,
    PARAM_NAME,
    PARAM_VALUE,
    UN,
    PW,
    FORMAT,
    TEMPLATE,
    OUT_FILE);
    WEB.SHOW_DOCUMENT('HTTP://127.0.0.1:8889/j2ee/' || 'TEST');
    END;
    ==========================
    JAVA CODE FOR callRunReport FUNCTION:
    ==========================
    public void callRunReport (String reportPath, String[] paramName, String[] paramValue, String
    username, String password, String format, String template, String outFile)
    try {
    bip_webservice.proxy.PublicReportServiceClient myPort =
    new bip_webservice.proxy.PublicReportServiceClient();
    // Calling runReport
    ReportRequest repRequest = new ReportRequest();
    repRequest.setReportAbsolutePath(reportPath);
    repRequest.setAttributeTemplate(template);
    repRequest.setAttributeFormat(format);
    repRequest.setAttributeLocale("en-US");
    repRequest.setSizeOfDataChunkDownload(-1);
    if (paramName != null)
    ParamNameValue[] paramNameValue = new ParamNameValue[paramName.length];
    String[] values = null;
    for (int i=0; i<paramName.length; i++)
    paramNameValue[i] = new ParamNameValue();
    paramNameValue.setName(paramName[i]);
    values = new String[1];
    values[0] = paramValue[i];
    paramNameValue[i].setValues(values);
    repRequest.setParameterNameValues(paramNameValue);
    else
    repRequest.setParameterNameValues(null);
    ReportResponse repResponse = new ReportResponse();
    repResponse = myPort.runReport(repRequest,username,password);
    byte[] baReport = repResponse.getReportBytes();
    FileOutputStream fio = new FileOutputStream(outFile);
    fio.write(baReport);
    fio.close();
    } catch (Exception ex) {
    ex.printStackTrace();

  • How to invoke processes viw Web Services

    I am trying to test out how we can create/call processes from external programs via Web Services.
    I have gone into Studio, I have created a Process called "Customer Call" in a "Process/Customer" Folder which has an id of "CustomerCall". Then I have gone to Process->Process Web Service from the Menu, and added an operation called "customerCall" set to "Process Creation" and Argument Set of "BeginIn". I have then Saved, Checked, Published and Deployed the Process. Then Launched the Workspace and have tested the process works in Hiper Workspace.
    However I am unable to access the Process via a WSDL as the documentation suggests.
    Following the documentation if I try
    http://localhost:9000/fuegoServices/ws/Customer%20CallServiceListener?WSDL
    any of the following, as suggested I get a page back with the following text, "HTTP/1.0 500 INTERNAL SERVER ERROR".
    For fun I have also tried the following
    http://localhost:9000/fuegoServices/ws/CustomerCallServiceListener?WSDL
    http://localhost:9000/fuegoServices/ws/Customer/Customer%20CallServiceListener?WSDL
    http://localhost:9000/fuegoServices/ws/Customer/CustomerCallServiceListener?WSDL
    All with the same result!
    Interestingly if I try
    http://localhost:9000/fuegoServices/ws
    I get back a page that says, "Web Services".
    Have found the following on dev2dev forums, which seems to hint at another method, but this fails also.
    http://forums.bea.com/bea/message.jspa?messageID=600044292&tstart=60
    The only WSDL I seem to be able to get back is
    http://pc009068:8585/workspace/webservices/ProcessService?WSDL
    Which brings back the WSDL attached
    Hope you can help, or find someone as the documentation seems very confused and possible out of date!

    The following Java client application shows how to use the JAX-RPC API to invoke the buy and sell operations of the deployed Trader Web Service.
    example from bea online
    The following snippet from the sample build.xml file contains instructions that will build the EAR file into a temporary build_dir directory:
    <target name="build" >
    <delete dir="build_dir" />
    <mkdir dir="build_dir" />
    <copy todir="build_dir" file="trader.jar"/>
    <servicegen
    destEar="build_dir/trader.ear"
    warName="trader.war"
    contextURI="webservice">
    <service
    ejbJar="build_dir/trader.jar"
    targetNamespace="http://www.bea.com/examples/Trader"
    serviceName="TraderService"
    serviceURI="/TraderService"
    generateTypes="True"
    expandMethods="True" >
    </service>
    </servicegen>
    </target>
    The following Java client application shows how to use the JAX-RPC API to invoke the buy and sell operations of the deployed Trader Web Service:
    package examples.webservices.complex.statelessSession;
    public class Client {
    public static void main(String[] args) throws Exception {
    // Setup the global JAXM message factory
    System.setProperty("javax.xml.soap.MessageFactory",
    "weblogic.webservice.core.soap.MessageFactoryImpl");
    // Setup the global JAX-RPC service factory
    System.setProperty( "javax.xml.rpc.ServiceFactory",
    "weblogic.webservice.core.rpc.ServiceFactoryImpl");
    // Parse the argument list
    Client client = new Client();
    String wsdl = (args.length > 0? args[0] : null);
    client.example(wsdl);
    public void example(String wsdlURI) throws Exception {
    TraderServicePort trader = null;
    if (wsdlURI == null) {
    trader = new TraderService_Impl().getTraderServicePort();
    } else {
    trader = new TraderService_Impl(wsdlURI).getTraderServicePort();
    String [] stocks = {"BEAS", "MSFT", "AMZN", "HWP" };
    // execute some buys
    for (int i=0; i<stocks.length; i++) {
    int shares = (i+1) * 100;
    log("Buying "+shares+" shares of "+stocks[i]+".");
    TradeResult result = trader.buy(stocks, shares);
    log("Result traded "+result.getNumberTraded()
    +" shares of "+result.getStockSymbol());
    // execute some sells
    for (int i=0; i<stocks.length; i++) {
    int shares = (i+1) * 100;
    log("Selling "+shares+" shares of "+stocks[i]+".");
    TradeResult result = trader.sell(stocks[i], shares);
    log("Result traded "+result.getNumberTraded()
    +" shares of "+result.getStockSymbol());
    private static void log(String s) {
    System.out.println(s);
    software reviews

  • How to start the process.

    I'm using CE 7.3 for BPM.
    I would like to start process from simple menu not using Process Repository.
    Does anyone know hot to start BPM process form menu ?
    Do I have to develop webDynro applicatin that calls web-services for staring the process ?
    Best regards,
    Koji Nagai

    Thank you for your reply.
    I understand how to start BPM process by using BPM API.
    But in my project, we need to minimize the developed objects.
    To use BPM API means to develope programs right ?
    If possible, I would to start BPM process without developing programs.
    Is there any way to start BPM process from menu without add-on programs.
    Best regards,
    Koji Nagai

  • Exposing a process as web service on Oracle BPM 11g

    Hi!
    Does somebody know how can I expose a process as a web service on Oracle BPM 11g? How does it works?
    In the version 10.3, when we exposed a process as web service it always had 3 default methods: startSession, getInstanceStatus and discardSession, is it the same in the 11g version?
    Where can I found some info about it? Any tutorial?
    Thanks a lot!
    Ana

    Typically you would use a Message Start event to start the process in conjunction with a Message End event. This will allow your process to be called as an asynchronous web service.
    In the "Implementation" section for the start event, you specify the input parameters. You can specify "Define Interface" to directly define the interface, or use an existing interface from the BPM Catalog (the From Catalog option).
    For further details on the different event types and their use cases, refer to the modeling and implementation guide:
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15176/toc.htm
    You can test the web service and examine the WSDL and endpoints by using FMW control (Enterprise Manager). In the menu on the left hand side: expand SOA -> SOA-Infra -> <Partition Name> -> Composite Name, then click the "Test" button at the top.

Maybe you are looking for

  • Date & Day & Month please help

    Hi Scripters, I have creat a diary book in InDesign CS4. Probelm: I want to alert the date and day for each time like this. But after the 7 saturday after alert the 8th day is undefined result. Date     Day 1          Sunday 2          Monday 3      

  • Upgrading to 7.3.1

    Hi Do you have to back up your songs when upgrading to newer version of itunes, i have never installed a newer since 7.0? Any help would be great. Thanks

  • Why is my new USB Superdrive not working?

    When I connect my new USB superdrive (external disc drive) to my iMac, it doesn't show on my list of devices in Finder or on the desktop.  I took it back to the store and it works on the store's iMacs. My eReader and USB memory stick both work. Is th

  • Code too small on screen

    I'm finding myself leaning towards my monitor to see things in the code window. Is there any way to make the code appear larger on my screen? I changed the font setttings in preferances and restarted, but it didn't seem to do anything. Thanks!

  • KERN-EXEC error when starting Maps 2.0 on my N95 8...

    Hi all! When I start Maps 2.0 (v2.0 wk21 b02) on my N95 8GB I get most of the times (but not always), the following error: Application closed: PosServer KERN-EXEC 3 When I 'ok' that message the program seems to work normally though. What does this er