Triggering BPM Process without using Guest

Hi All,
I am triggering BPM web service from webdynpro from java. This is giving error message :
Server Exception: Guest,  is not allowed to start a process.; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Guest,  is not allowed to start a process.
[EXCEPTION]
How to start BPM web service with a logged in user id in place of Guest? I do not want to give BPM role to Guest user.
Thanks
Raktim
Edited by: Raktim Banerjee on Jul 5, 2010 12:41 PM

Hi Lars,
Thanks for your answer. As per note : "Web service endpoints with incorrect security settings or service calls without provided credentials will result in an error message telling that "Guest, is not allowed to start a process".
I am getting exactly the same error. What endpoint settings I need to change?
I am using following wsdl in process start:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
     xmlns:tns="http://www.example.org/JEService/"
     xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
     xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="JEService"
     targetNamespace="http://www.example.org/JEService/"
     xmlns:p="http://schemas.xmlsoap.org/wsdl/http/">
     <wsdl:types>
          <xsd:schema targetNamespace="http://www.example.org/JEService/">
               <xsd:element name="NewOperation">
                    <xsd:complexType>
                         <xsd:sequence>
                              <xsd:element name="eformno" nillable="true"
                                   type="xsd:string" />
                              <xsd:element name="initiator" nillable="true"
                                   type="xsd:string" />
                              <xsd:element name="isAccountantEntered" nillable="true"
                                   type="xsd:boolean" />
                              <xsd:element name="tasktext" nillable="true"
                                   type="xsd:string" />
                         </xsd:sequence>
                    </xsd:complexType>
               </xsd:element>
               <xsd:element name="NewOperationResponse">
                    <xsd:complexType>
                         <xsd:sequence>
                              <xsd:element name="eformno" type="xsd:string" />
                              <xsd:element name="initiator" type="xsd:string" />
                              <xsd:element name="isAccountantEntered" type="xsd:boolean" />
                              <xsd:element name="tasktext" type="xsd:string" />
                         </xsd:sequence>
                    </xsd:complexType>
               </xsd:element>
          </xsd:schema>
     </wsdl:types>
     <wsdl:message name="NewOperationRequest">
          <wsdl:part element="tns:NewOperation" name="parameters" />
     </wsdl:message>
     <wsdl:message name="NewOperationResponse">
          <wsdl:part element="tns:NewOperationResponse" name="parameters" />
     </wsdl:message>
     <wsdl:portType name="JEService">
          <wsdl:operation name="NewOperation">
               <wsdl:input message="tns:NewOperationRequest"
                    name="inputJE" />
               <wsdl:output message="tns:NewOperationResponse" />
          </wsdl:operation>
     </wsdl:portType>
     <wsdl:binding name="JEServiceSOAP" type="tns:JEService">
          <soap:binding style="document"
               transport="http://schemas.xmlsoap.org/soap/http" />
          <wsdl:operation name="NewOperation">
               <soap:operation
                    soapAction="http://www.example.org/JEService/NewOperation" />
               <wsdl:input name="inputJE">
                    <soap:body use="literal" />
               </wsdl:input>
               <wsdl:output>
                    <soap:body use="literal" />
               </wsdl:output>
          </wsdl:operation>
     </wsdl:binding>
     <wsdl:service name="JEService">
          <wsdl:port binding="tns:JEServiceSOAP" name="JEServiceSOAP">
               <soap:address location="http://www.example.org/" />
          </wsdl:port>
     </wsdl:service>
</wsdl:definitions>
What changes are required in the wsdl to accept the credential?
Thanks
Raktim

Similar Messages

  • How do I restart a process without using a loop?

    Hi,
    How can I restart a process without using the While action from the palette?
    The Wait action from the palette doesn't seem to do that.
    I simply want to restart a process after testing a condition in the Switch action.
    Thanks,
    Alexandru

    Hi,
    You can use the replay feature. Look at the BPEL references under the samples directory.
    hth,
    ~ronen

  • Calling a Business process without using RMI nor WS.

    For efficience reasons we are interested in calling business processes from java classes deployed in the same server that WLI but without using RMI calls.
    In the documentation it's said that you are able to call Business Processes via WebServices, or via the JPD Proxy. This proxy could be used from a java class but it uses RMI.
    <b>There is an intermediate interface that we could use for executing processes without using RMI?.</b> Is this interface java accesible or we have to develop a Wrapper to adapt the call?
    Thank's, David.

    Hi,
    I experienced the same behaviour with my setup here - only he ws-addressing is used. I am using Oracle SOA Suite 10.1.3.1.0.
    After redeploying the process several times, i gave up ...
    I wonder if the correlation property is entirely ignored ?
    Thanks in advance,
    André

  • Problem in generating WSDL file for triggering BPM process

    Hello Experts,
    I have a working BPM process which I want to trigger using a web service. I am referring following blog link to generate New WSDL file and perform further operations:
    /people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
    However, it everything goes well until I set the type for the "New Element". I want to set type to context of my component controller. So I selected Set type --> Enclosing Project and I seleted Context of my component controller.
    Upon saving this, I am getting this error:
    "../../rep/ui/com.sap.demo.wd_ui_mna.wd.comp.c_fillmynameage.C_FillMyNameAgeInterface.xsd" is not a path relative to "src/wsdl/NewWSDLFile.wsdl" because it contains too many '../'
    I am not sure what is happening here. I have also removed the response element(s) from WSDL source.
    What am I missing here?
    Thanks in advance,
    Ameya

    Cross post in EBiz forum -
    General EBS Discussion
    Regards,
    Anuj

  • Unable to initiate BPM process despite using script task

    Hi,
    I've created a BPMN process which I want to initiate through a script task - I followed the steps given in section 3.7 of the following doc -
    https://stbeehive.oracle.com/content/dav/st/HP%20personal%20workspace/Public%20Documents/BPMN_03_SalesQuote_Implementation.pdf
    but after deploying this process, when I go to BPM workspace using my user's login, I don't see my BPM process under list of applications. What could be wrong?
    Thanks,
    Harsh

    Hi Lavanya,
    Could you please tell me how you resolved. I am also getting same error.
    com.sap.glx.adapter.api.AdapterException: Process start failed due to TransitionException
    Thanks in advance.
    cheers,
    dev

  • Triggering BPM process from ECC

    Dear All,
    I created a WSDL in BPM and consumed it in ECC . After that created a logical port using SOAMANAGER.
    While executing in the program(the code is shown below) or testing the service consumer  it does not give any error. but still process not starting up.
    REPORT ZTEST_BPM.
    DATA : lv_port type REF TO zco_abapwsdl,
            lo_sys_exception   TYPE REF TO cx_ai_system_fault,
            input TYPE ZNEW_OPERATION_REQUEST1,
            in TYPE ztest.
    TRY .
       CREATE OBJECT lv_port
         EXPORTING
             LOGICAL_PORT_NAME = 'ZPORT'.
    CATCH CX_AI_SYSTEM_FAULT.
    ENDTRY.
       input-in-first_name = 'ABCDEF'.
       input-in-last_name = 'G'.
    TRY.
       call METHOD lv_port->NEW_OPERATION
        EXPORTING
             INPUT = INPUT.
       COMMIT WORK.
       CATCH CX_AI_SYSTEM_FAULT INTO lo_sys_exception .
       CATCH cx_ai_application_fault.
    ENDTRY.
    write : 'Process Started'.
    Your input will be helpful.
    Thanks and Regards,
    Prabhu Karuppasamy

    Make sure that the user you are testing this with, has all the necessary roles and authorizations on the portal to Start a BPM Process.
    For all possible roles and authorizations related to SAP BPM, refer the following:
    http://help.sap.com/saphelp_nw73/helpdata/en/45/d7d0e08a164c5e87e4604ba89c632a/content.htm
    https://help.sap.com/saphelp_nw73/helpdata/en/9c/23eaeb4c53486f8d9c4cb376b99994/content.htm

  • Triggering BPM Process on regular intervals.

    Hi All,
    Can i make a BPM Process to trigger on regular intervals. We want a BPM process to triggger on hourly basis.
    Is it possible in BPM suite to do this.
    Please share your thoughts.
    Thanks
    Parker.

    Hello Vikram Bailur,
    How can I define the scheduled timer start event by expression?
    The timer start event is usally described as below.
    The timer start event triggers the creation of a process instance based on a specific time condition. You can> configure the timer start event to trigger a process instance based on the following:          (1) A specific date and time. For example, a process could be triggered on December 31, at 11:59 PM.
              (2) A recurring interval. For example, a process could be triggered every 10 hours, 5 minutes, 32 seconds.
    In case of the above item (1), I want to define the scheduled expression such as:
    evey Friday at 11:00 PM
    the end of this week
    the end of this month at 11:00 PM
    I have searched the proper functions but there are no them like the following convenience functions in Oracle SQL/PLSQL as below.
    select next_day(sysdate,'Friday') from dual; '---returns date of the next friday
    select last_day(sysdate) from dual; '---returns the last day of this month
    How can do it?
    Akira

  • OOM Killer is killing the Java processes without using the swap?

    Hi All,
    We are using RHEL 5 64 bit on blade server CISCO UCS B230-M2.
    Below is the memory details on the server. I could see from the sar -r command it did not used the swap memory at all but it calls the OOM killer everyday.
    su@ /root-> free -g
                 total       used       free     shared    buffers     cached
    Mem:           125        119          5          0          2         81
    -/+ buffers/cache:         35         89
    Swap:          251          0        251
    The issue is occuring every day and doesnt allow any user to connect to the server in that perticular time, After some time we could see the below messages in /var/log/messages and once the java processes are getting killed it allow the new telnet connections.
    Any help on this is much appreciated.
    Oct 18 01:47:57 usdc01qd51 kernel: cpu 28 cold: high 62, batch 15 used:10
    Oct 18 01:47:57 usdc01qd51 kernel: cpu 29 hot: high 186, batch 31 used:20
    Oct 18 01:47:57 usdc01qd51 kernel: cpu 29 cold: high 62, batch 15 used:6
    Oct 18 01:47:57 usdc01qd51 kernel: cpu 30 hot: high 186, batch 31 used:93
    Oct 18 01:47:57 usdc01qd51 kernel: cpu 30 cold: high 62, batch 15 used:10
    Oct 18 01:47:57 usdc01qd51 kernel: cpu 31 hot: high 186, batch 31 used:137
    Oct 18 01:47:57 usdc01qd51 kernel: cpu 31 cold: high 62, batch 15 used:6
    Oct 18 01:47:57 usdc01qd51 kernel: HighMem per-cpu: empty
    Oct 18 01:47:57 usdc01qd51 kernel: Free pages:    37295696kB (0kB HighMem)
    Oct 18 01:47:57 usdc01qd51 kernel: Active:15955130 inactive:6377121 dirty:1470607 writeback:0 unstable:0 free:9323924 slab:301569 mapped-file:1506506 mapped-anon:7952475 pagetables:78246
    Oct 18 01:47:57 usdc01qd51 kernel: DMA free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:9076kB pages_scanned:0 all_unreclaimable? yes
    Oct 18 01:47:58 usdc01qd51 kernel: lowmem_reserve[]: 0 4024 126242 126242
    Oct 18 01:47:58 usdc01qd51 kernel: DMA32 free:1202200kB min:1448kB low:1808kB high:2172kB active:275860kB inactive:55140kB present:4120800kB pages_scanned:0 all_unreclaimable? no
    Oct 18 01:47:58 usdc01qd51 kernel: lowmem_reserve[]: 0 0 122217 122217
    Oct 18 01:47:58 usdc01qd51 kernel: Normal free:36093496kB min:44024kB low:55028kB high:66036kB active:63544660kB inactive:25453344kB present:125151120kB pages_scanned:0 all_unreclaimable? no
    Oct 18 01:47:58 usdc01qd51 kernel: lowmem_reserve[]: 0 0 0 0
    Oct 18 01:47:58 usdc01qd51 kernel: HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
    Oct 18 01:47:58 usdc01qd51 kernel: lowmem_reserve[]: 0 0 0 0
    Oct 18 01:47:58 usdc01qd51 kernel: DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 0kB
    Oct 18 01:47:58 usdc01qd51 kernel: DMA32: 21352*4kB 18549*8kB 13617*16kB 5772*32kB 1097*64kB 52*128kB 8*256kB 1*512kB 1*1024kB 1*2048kB 118*4096kB = 1202200kB
    Oct 18 01:47:58 usdc01qd51 kernel: Normal: 144164*4kB 1746735*8kB 1130515*16kB 102420*32kB 1956*64kB 83*128kB 42*256kB 2*512kB 3*1024kB 1*2048kB 6*4096kB = 36093496kB
    Oct 18 01:47:58 usdc01qd51 kernel: HighMem: empty
    Oct 18 01:47:58 usdc01qd51 kernel: 14377659 pagecache pages
    Oct 18 01:47:59 usdc01qd51 kernel: Swap cache: add 507, delete 507, find 163/244, race 0+0
    Oct 18 01:47:59 usdc01qd51 kernel: Free swap  = 263740076kB
    Oct 18 01:47:59 usdc01qd51 kernel: Total swap = 263740648kB
    Oct 18 01:47:59 usdc01qd51 kernel: Free swap:       263740076kB
    Oct 18 01:47:59 usdc01qd51 kernel: 32770048 pages of RAM
    Oct 18 01:47:59 usdc01qd51 kernel: 648871 reserved pages
    Oct 18 01:47:59 usdc01qd51 kernel: 10183423 pages shared
    Oct 18 01:47:59 usdc01qd51 kernel: 0 pages swap cached
    Oct 18 01:47:59 usdc01qd51 kernel: Out of memory: Killed process 9529, UID 502, (java).
    Thanks,
    Sachin.                  

    It looks like you experience low memory exhaustion. The kernel uses low memory to track allocations of all memory and the more memory you have, the more low memory will have to be allocated. When low memory is exhausted, it doesn't matter how much high memory is available, the oom-killer will begin killing processes to keep the server alive. There are a number of bug reports and patches available regarding this problem affecting Enterprise Linux kernels 4.4 - 4.8. Other solutions are to move to a 64-bit kernel or use 32-bit hugemem. Are you running NFS?
    Perhaps you might want to try the following:
    # cat /proc/sys/vm/lower_zone_protection
    You can try to increase the value and see what happens:
    # echo "250" > /proc/sys/vm/lower_zone_protection
    To set this option on boot, add the following to /etc/sysctl.conf:
    vm.lower_zone_protection = 250
    As a last resort effort, you can disable the oom-killer. This option can cause the server to hang, so use it at your own risk.
    Check status of oom-killer:
    # cat /proc/sys/vm/oom-kill
    Turn oom-killer off/on:
    # echo "0" > /proc/sys/vm/oom-kill
    # echo "1" > /proc/sys/vm/oom-kill

  • How to invoke an other BPM asynchronous process from the BPM process

    Do anyone know how to invoke other asynchronous process from the BPM process without using the Web Service URL?

    Try using a Service task implemented as a Process Call. Then you select the process you want to call, set the associations or transformation and deploy it to test.
    I hope it works for you.
    isabelbernely

  • BPM to BPM call without PI

    Hi Experts,
    We are working on PO 7.4 single stack.
    We want to trigger BPM process from another BPM process without involving PI.
    As we have huge data and multiple calls to different BPM process via PI.
    Any pointers on this would be helpful.

    Implement the process as you normally would. Import the WSDL for the service call to start the process. Use the same WDSL in the start event of the sub process and the automated task that calls the sub process. Make sure that the Service Reference for this Web Service is of type WS. Then configure the Service Group to call the system that should run the child process. If both processes should run on the same system choose local system for the Service Group.
    Bottom Line: Implement everything as you're used to. Use a Service Reference of type WS and configure the Service Group accordingly in NWA.

  • BPM process withour initialize task?

    Hi,
    Is it possible to have a BPM process without initiate task?
    My Use Case:
    Pass some data to the BPM process during the instance creation.
    I don't find any way to pass the data during instance creation. I'm thinking of having a webservice call as first activity in my process where the webservice populates the payload data. So I would like to get rid of initiator task and would like to invoke/start the BPM process using BPM API.
    Please help.
    Thanks,
    Suren

    Leave the initiator task in your process.
    Look at the BPM API example here - http://java.net/projects/oraclebpmsuite11g/downloads/directory/Samples/bpm-api-101-instance-query
    Specifically, you want to look at oracle.bpm.sample.instance.InitiateCreditIncreaseRequest.
    Once you get a handle on the initiatedTask, you can manipulate the payload.

  • A BPM process with out any human task

    Hi All,
    I am new bie to BPM. Can I create a BPM process without any human task?
    Like start event, service task (or any other activity) & end event.
    If it is possible, please let me know the proper steps to execute and test this process also.
    Thanks,

    Hi
    Yes, ofcourse you can have a Process without any User Task. Ex: Start Node -> Service Task -> End Node. Start Node can be 2 things say like DB Adapater and File Adapter. Read something from DB from some table and put into the Text File.
    But the thing is, BPM Process is more of Role Oriented. If you already saw, you define something called Swim Lanes and put each User Task in those Lanes and automatically users in that Role only can work on those Task.
    If you do not have any such things like User Task, you don't even need to create a BPM Process. Just create a simple BPEL with your custom Payload.
    Now, the most important question is how do you plan to trigger/start this process whether BPM or BPEL. Do you assign some users to the first Role and do users log into bpm/workspace and click the Link on the left side to start the process. ALSO since there is NO User Task, you will NOT have any Task Details Page and this means you MAY NOT even see the link on the left side in bpm/workspace.
    The only option I could see is have BPEL. This BPEL will have a WSDL automatically generated. And you can use this WSDL to instantiate the task.
    If your intention is to use this process/bpel in some other MAIN Process then it is totally possible.
    Thanks
    Ravi Jegga

  • How do I set up my new Macbook Pro without using the annoying Voiceover?

    How do I set up my new MacBook Pro without using the annoying Voiceover?  I cannot get it to work right; it seems to get stuck and repeats the same thing over and over.  It is driving me nuts!  Is there a way to begin the setup process without using the Voiceover system?  I am a new convert from a PC and I thought a Mac was supposed to be "intuitive!" 
    Any help is appreciated.
    Thanks.
    Pamela

    There is no good reason to register your Mac anyway.
    You can opt out of the setup process and registration by pressing Command (Apple key) and the "Q" key.
    The registration process requires you to divulge a lot of unnecessary information.

  • MDM web dynpro in BPM process

    This is my first development in BPM, so please be charitable and understanding....
    I have following error in my process:
    Error: Build stopped due to an error: com.sap.glx.paradigmInterface.bpmn.compiler.BPMNCompilerException: [BPM.rt_c_bpmn.000024] I'm sorry, I'm afraid I can't do that: The data object 'UIResponse' does not have any type assigned to it
    I have MDM web dynpro Item detail component embeed in my process in the human activity. I suppose that the problem is maybe in WebDynpro part, but I have no idea where - I was following the instructions given in e-book "How to integrate MDM with BPM", until now :-(. Do you have any idea what can be the reason of such error? I tried to find something in google, but no results for that....
    Thanks,

    Yes, I follow instruction "How to Integrate Master Data Management(MDM) and Business Process Management(BPM)", chapter number 5 - "Passing MDM Semantic Data between BPM Process Steps using wrapper application". In my example I need to have BPMStatus visible in the context - I don't know why yet, but it is empty now. The previous problem which I described above is already solved. I am not sure where the problem exactly was, nothing helped, so I decided to create new process from scratch. Now I am able to build the project (no error occur), but my contrainer is empty. I drag and drop it as it is descibed on page 58. The only one difference is that I made connection with BPM status.
    Besides, I discovered strange thing in this documentation on page number 61 - specify event handler. I use CE ver 7.2, and I have different windows than here - I have methods, events and event handler in separate tabs. So, I created event and event handler in those separate tabs, and then I should be able to copy them to Intefrace controller, as it is described it instruction. But in interface controller I don't have tab "event handler". Do you know why is that? Is it enough to have event handler in Component Controller? Maybe this is the problem why I don't see my container and cannot complete task?
    Regards and thanks for your replies,

  • ALBPM 5.7 BPM process admin issues with Oracle 11g RAC as directory service

    Hi,
    Setup ALBPM 5.7 enterprise for weblogic.
    BPM Engine deployed on weblogic cluster.
    BPM process admin (web console) deployed on tomcat.
    BPM process admin uses WEB-INF/directory.properties for directory configuration.
    things were fine with oracle SID,
    directory.default.url=oracle://<db_host>:1521/schema=diruser,sid=BPMDB { with this, login to process admin was working fine}
    But clueless, on how to configure RAC as the directory service in the above directory.properties file. Since this is a old version, no directory.xml in the installation.
    Connection string:
    (DESCRIPTION =
    (LOAD_BALANCE = on)
    (FAILOVER = on)
    (ADDRESS = (PROTOCOL = TCP)(HOST = DB_HOST1)(PORT=1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = DB_HOST2)(PORT=1521))
    (CONNECT_DATA =
    (SERVICE_NAME = BPMDB)
    (FAILOVER_MODE =
    (TYPE = SELECT)
    (METHOD = BASIC)
    Please help how to use service name (above connection string) in directory.properties, to be able to login to process admin successfully.
    Thanks in advance,
    Swamy

    Using admin center, able to get the string to be used in directory.properties.
    FYI, the string looks like below,
    directory.default.url=oracle://customURL:0/schema=bpmdirectory,customURL=jdbc:oracle:thin:@(DESCRIPTION = (LOAD_BALANCE = on)(FAILOVER = on)(ADDRESS = (PROTOCOL = TCP)(HOST = DB_HOST1)(PORT=1521))(ADDRESS = (PROTOCOL = TCP)(HOST = DB_HOST2)(PORT=1521)) (CONNECT_DATA = (SERVICE_NAME = BPMDB.DOMAIN.COM) (FAILOVER_MODE = (TYPE = SELECT) (METHOD = BASIC))))

Maybe you are looking for