WebService Automated Activity in BPM - How to transport WSDL to Test/Prd

Hi,
I am using a webservice in BPM, This webservice is based on BRM. It is hosted on DEV and i am consuming it with its WSDL whose url has DEV host/port.
My questions, How would i change when I should move whole BPM piece. I know i will do the same with BRM but it's new url will be based on TEST or PRD. Do I need to change it in BPM and redeploy on Prd/TEST.
Any ideas, highly appreciated.
Thanks
Raags

You need not change anything in the  BPM or BRM once you move it to Test or PRD. You can change the end point for the webservice from DEV to TEST / PRD through configuration.
This configuration is managed through NWA - NetWeaver Administation Application.
SOA Management - Application and Scenario Communication - Application Configuration.
You need to open the consuming application (which in this case is BPM as it consumes the web service from BRM) and then change the endpont by selecting the provider system (BRM web service from TEST / PRD) in the consumed services Tab.
For more information, go through the help document - [http://help.sap.com/saphelp_nw72/helpdata/en/4a/856a4d112439f1e10000000a42189c/frameset.htm]

Similar Messages

  • Error in Automated activity of BPM using the PI operation mapping.

    Dear Experts,
    We have a BPM process, where we have imported Operation Mapping, to use it in an automated activity. We have created the service reference with localhost and checked the local provider system check box and with type WS.
    While running the scenario the process stops at the automated activity (having the Operation mapping), with error:
    A technical error during invocation: Could not invoke service reference name
    I have tried to recreate the step couple of times but it is always the same error.
    Could you please share your expertise in how to over come the error.
    Thank you,
    Best Regards,
    Ajay

    Hi Ganesh,
    Thanks for your response.
    SOAP and Mail scenario are also using the same inbound proxy structure , and the proxy is working fine in both cases.
    For FTP scenario we are reusing the same inbound proxy but we are facing error .
    SAP is getting
    "XML to ABAP Conversion error with error id as "CX_ST_MATCH_ELEMENT " System expected the element 'Namespace of the inbound service interface' .
    Please guide.
    Thanks,
    Ruchi

  • Consuming a CAF Web Service in an automated activity

    Hi
    I'm trying to import a WSDL that points to a custom service so it can be used within an automated activity within my BPM.  I am importing the WSDL using the Remote Location option and am entering the WSDL.  It then appears to import with no issues but has a warning about not being able to validate the WSDL.  However, I can't then see the newly imported WSDL in the list of available interfaces for the automated activity.  I've imported other WSDL's and I can see those.  Can anyone provide any pointers?

    Hi,
    can you open the eclipse error log and post any errors you find there?
    Regards,
    Christian

  • How to see wsdl in JBoss?

    Hi,
    I have deployed a WebService application in JBoss. How to see wsdl at server (JBoss) side?
    I have supplied url: http://localhost:8080 in the browser,
    It is showing the below page, from here how to see the wsdl file?
    JBoss Online Resources
        * JBoss Documentation
        * JBoss Wiki
        * JBoss JIRA
        * JBoss Forums
    JBoss Management
        * Tomcat status (full) (XML)
        * JMX Console
        * JBoss Web Consolethank you for your consideration,

    Hi,
    I have downloaded an application from internet
    The interface is :
    package webservice1;
    import javax.jws.WebService;
    import javax.jws.WebMethod;
    import java.rmi.Remote;
    import java.rmi.RemoteException;
    import javax.jws.soap.SOAPBinding;
    import javax.jws.soap.SOAPBinding.Style;
    @WebService(name="Calculator1")
    @SOAPBinding(style=Style.RPC)
    public interface Calculator extends Remote
       @WebMethod int add(int x, int y);
       @WebMethod int subtract(int x, int y);
    }and the implementation is:
    package webservice1;
    import javax.ejb.Stateless;
    import javax.jws.WebService;
    import javax.jws.soap.SOAPBinding;
    import javax.jws.soap.SOAPBinding.Style;
    @Stateless
    @WebService(name="Calculator1", endpointInterface="webservice1.Calculator")
    public class CalculatorBean implements Calculator
       public int add(int x, int y)
          return x + y;
       public int subtract(int x, int y)
          return x - y;
    }application folder name: calculatorwebservice
    I am giving the url:
    http://127.0.0.1:8080/calculatorwebservice/Calculator1?wsdlbut JBoss giving Error: 404
    HTTP Status 404 - /calculatorwebservice/Calculator1
    type Status report
    message /calculatorwebservice/Calculator1
    description The requested resource (/calculatorwebservice/Calculator1) is not available.
    Apache Tomcat/5.5.20I am unable to give proper URL, according to the above code what could be the url to look the WSDL?
    thank you for your kind consideration,

  • BRM Webservice call from BPM as an automated activity in CE 7.2

    Dear All,
    A simple BRM ruleset is created and published as a webservice. The WSDL is available at NWA ->SOA Management-> Application and Scenario Communication-> Single Service Administration.
    The webservice test in WSNAVIGATOR provides the expected results.
    In the BPM process flow, an automated activity has been created for the webservice call. This activity contains the 'Service Interface' and 'Service Reference' of the imported WSDL.
    Issue:
    When the process is started, the BRM webservice call results in error. The error is not visible in the log but the process flow shows a green symbol on the automatic activity, thereby indicating that the webservice call does not end and the process remains in 'In progress' state.
    Can you please provide your inputs?
    Thanks,
    Pritish

    Dear All,
    The issue is resolved with the help of following document.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9009be68-1e9a-2c10-fd91-8f5fcb00474c.
    Regards,
    Pritish

  • BPM Automated Activity: Technical User vs Named User

    Hi Folks,
    I've implemented a number of working BPM prototypes and now our customers are so interested they want us to implement a number of productive solutions for different process scenarios. Technically we all know that for the automated activity we can either use a logical destination or a service group which in both cases will mean a number of alternatives for authentication to the backend to execute the service operation in the automated activity. In our scenarios so far we have tested both approaches i.e. Service Group and Logical destination using a technical user for both cases (For SG, technical user in the physical system assigned to the SG)
    My question is are you using a technical user to authenticate to the backend in either case or are you forwarding credentials of a named user involved in the specific process instance to be authenticated to the backend and in case of the latter how do you achieve this (apart from ensuring this user also exists in the backend)? The dilemma is if (by SAP agreement) we can use a technical user then what (apart from our ethics) stops us from only getting BPM licences and using a technical user(s) for most of our data maintenance transactions and by extension what prevents the same approach being used via non-SAP BPM tools (such as AquaLogic). I know there may be different arrangements specific to an organisation's license agreement and relationship with SAP but what is the general approach out there
    Thanks for sharing your feedabck

    Hi Anna,
    Please check the section 'ABAP  webservice' in the document
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10271ce0-d613-2d10-a094-d4d693cd7b43?quicklink=index&overridelayout=true
    Anil

  • Consuming external webservice in an automated activity

    hi,
    i am consuming a bapi based webservice in an automated activity. i have checked this in wsnavigator using WSDL, it is working fine. when i consume this in my process dc , it asks me to create aService group. i have created one and now deployed dc to server. it doesn't work and in log error it shows that thsi service group is not assigned to any physical system.
    now i tried to create a business scenario communication, for this i created provider systems (it was created and pinged sucessfully, showed all the web services lying in its service registry). when i was creating business scenario, under first step credentials of service group and provider systems are provided. unser second step when i tried to add the services it didn't showed the services which it showed me while i pinged.
    please tell me how to sucessfully consume an external web service (bapi based).This is lying on SR but when i tried to access it through single service administration, it was not there. please guide me how can i sucessfully consume this webservice (using service group or logical destination).
    Thanks In Advance.

    Hi Rohit,
    try with Application Communication Configuration instead of Business Scenario (should be easier for single service). Make sure you have entered the correct credentials for the backend system (both for metadata retrieval and for runtime invocation).
    Instead of Service Registry you can also try with WSIL when creating the provider system. The WSIL URL for the ABAP system should look like this: http://host:port/sap/bc/srt/wsil.
    Please also check the SOA config guide by Alexander Zubev:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40dabb46-dd66-2b10-1a9a-81aa620098b3
    Hope this helps,
    Christian
    Edited by: Christian Loos on Dec 29, 2009 10:28 AM

  • Automated activity not executing in BPM process

    Hi All,
    We have created a BPM process in NWCE72, and it was executing fine.
    When we added an automated activitiy and assigned a Web Service created from a rule and run the process, it is possible to run the process till the automated activity only. The automated activity is throwing error a snapshot of the same pasted belw
    If anyone has encountered simllar problem kindly let us know how to overcome.
    Lookforward for help in overcoming this problem
    Down below it is saying that "You may have not assigned the Service Group to a Provider System, or the generation of the configuration has failed. "
    =====================================================================================================
    An error occurred while executing transition AUTOMATED_ACTIVITY_Determine_Criticality(Token_0_Equipment_Issue_Reporting_Process_2baa0100a79b04782f33bbea2160cdf3{64810061-7973-11df-872e-02004c4f4f50}(Instance_0_Equipment_Issue_Reporting_Process_2baa0100a79b04782f33bbea2160cdf3{4be7da15-7973-11df-b824-02004c4f4f50}(?),1,null,operator,ff12474b71b3fa29a516e53e125eaa18), Instance_0_Equipment_Issue_Reporting_Process_2baa0100a79b04782f33bbea2160cdf3{4be7da15-7973-11df-b824-02004c4f4f50}(null,null,null,false), Context_0_DO_IssueTrackingProcess_2baa0100a79b04782f33bbea2160cdf3{4be7da30-7973-11df-c7a0-02004c4f4f50}(Instance_0_Equipment_Issue_Reporting_Process_2baa0100a79b04782f33bbea2160cdf3{4be7da15-7973-11df-b824-02004c4f4f50}(?),Scope_14_Equipment_Issue_Reporting_2baa0100a79b04782f33bbea2160cdf3{4be7da2f-7973-11df-cc05-02004c4f4f50}(?),1,true,false,null)): com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script "_Equipment_Issue_Reporting:AUTOMATED_ACTIVITY_Determine_Criticality(
          com.sap.glx.adapter.BPMNAdapter:Token_0_Equipment_Issue_Reporting_Process_2baa0100a79b04782f33bbea2160cdf3 token,
          com.sap.glx.adapter.BPMNAdapter:Instance_0_Equipment_Issue_Reporting_Process_2baa0100a79b04782f33bbea2160cdf3 parent,
          com.sap.glx.adapter.internal.ContainerAdapter:Context_0_DO_IssueTrackingProcess_2baa0100a79b04782f33bbea2160cdf3 context_1){
      exit=new com.sap.glx.adapter.BPMNAdapter:Exit();
      exit:onActivation("E01DFA6EF00BAFC0797011DFB05502004C4F4F50", parent, token);
      delete exit;
      controller=new com.sap.glx.adapter.internal.ExceptionAdapter:ExceptionController();
      controller:setContext(token);
      delete controller;
      callscope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_7_Equipment_Issue_Reporting_2baa0100a79b04782f33bbea2160cdf3(parent);
      call=new com.sap.glx.adapter.UnifiedConnectivityAdapter:Call_0_Determine_Criticality_2baa0100a79b04782f33bbea2160cdf3(callscope);
      ppUsername=token:ppUsername;
      ppHash=token:ppHash;
      call:setPrincipal(ppHash, ppUsername, token);
      request=callscope:instantiate("http://www.sap.com", "#RulesTypes-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet");
      mapper=new com.sap.glx.adapter.internal.Transformer:DataMapper();
      yves_in=new com.sap.glx.adapter.internal.Transformer:Data();
      yves_out=new com.sap.glx.adapter.internal.Transformer:Data();
      data=context_1:getData();
      yves_in:setData("demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting", "$demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting:DO_IssueTrackingProcess", data, "C000F957BEB5AA9E0E98E96A67EE2D06");
      yves_out:setData("http://www.sap.com", "$http://www.sap.com:Request-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet", request, "8F3954721A11A18DF1A2321F9544700D");
      mapper:map("E01DFA6EF00DF9B0797011DFC8A002004C4F4F50_2baa0100a79b04782f33bbea2160cdf3", yves_in, yves_out);
      request=yves_out:getData("http://www.sap.com", "$http://www.sap.com:Request-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet", "8F3954721A11A18DF1A2321F9544700D");
      delete yves_in;
      delete yves_out;
      delete mapper;
      call:setInputData("http://www.sap.com", "$http://www.sap.com:Request-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet", request);
      response=callscope:instantiate("http://www.sap.com", "#RulesTypes-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet");
      call:setOutputData("http://www.sap.com", "$http://www.sap.com:Response-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet", response);
      call:invoke();
      response=call:getOutputData("http://www.sap.com", "$http://www.sap.com:Response-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet");
      mapper=new com.sap.glx.adapter.internal.Transformer:DataMapper();
      yves_in=new com.sap.glx.adapter.internal.Transformer:Data();
      yves_out=new com.sap.glx.adapter.internal.Transformer:Data();
      yves_in:setData("http://www.sap.com", "$http://www.sap.com:Response-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet", response, "8F3954721A11A18DF1A2321F9544700D");
      data=context_1:getData();
      yves_in:setData("demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting", "$demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting:DO_IssueTrackingProcess", data, "C000F957BEB5AA9E0E98E96A67EE2D06");
      bind context_1;
      data=context_1:getData();
      scope=new com.sap.glx.adapter.internal.TypeRegistry:GenericScope(null, "C000F957BEB5AA9E0E98E96A67EE2D06");
      copy=scope:copy(data);
      delete scope;
      yves_out:setData("demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting", "$demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting:DO_IssueTrackingProcess", copy, "C000F957BEB5AA9E0E98E96A67EE2D06");
      mapper:map("E01DFA6EF0106AB0797011DFBC6D02004C4F4F50_2baa0100a79b04782f33bbea2160cdf3", yves_in, yves_out);
      data=yves_out:getData("demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting", "$demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting:DO_IssueTrackingProcess", "C000F957BEB5AA9E0E98E96A67EE2D06");
      context_1:setData(data);
      delete yves_in;
      delete yves_out;
      delete mapper;
      delete call;
      delete callscope;
      token:state=0;
    at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:68)
    at com.sap.glx.core.kernel.execution.transition.Transition.commence(Transition.java:138)
    at com.sap.glx.core.kernel.execution.LeaderWorkerPool$Follower.run(LeaderWorkerPool.java:126)
    at com.sap.glx.core.resource.impl.common.WorkWrapper.run(WorkWrapper.java:58)
    at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator$1.run(ServiceUserManager.java:121)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:337)
    at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator.run(ServiceUserManager.java:118)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:169)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:277)
    Caused by: com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script command "call:invoke()"
    at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:796)
    at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:63)
    ... 11 more
    Caused by: java.lang.RuntimeException: com.sap.glx.adapter.api.AdapterException: com.sap.engine.interfaces.sca.exception.SCADASException: Could not invoke service reference name b51513b6-379d-4c0b-be2a-a3b13d7fe23b, component name demo.sap.comreportissueprocessdcBPMcomponent, application name demo.sap.com/reportissueprocessdc.
    at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallObject$PropagatedCall.run(UnifiedWebServiceCallObject.java:127)
    at com.sap.glx.core.login.LoginPersisterProxy$1.run(LoginPersisterProxy.java:76)
    at com.sap.glx.core.resource.impl.j2ee.J2EELoginPersisterImpl$1.run(J2EELoginPersisterImpl.java:80)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:396)
    at com.sap.glx.core.resource.impl.j2ee.J2EELoginPersisterImpl.invokeAsPropagated(J2EELoginPersisterImpl.java:74)
    at com.sap.glx.core.login.LoginPersisterProxy.invokeAsPropagated(LoginPersisterProxy.java:72)
    at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallObject.invokeWebServiceOperation(UnifiedWebServiceCallObject.java:93)
    at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallClass.invoke(UnifiedWebServiceCallClass.java:174)
    at com.sap.glx.core.dock.impl.DockObjectImpl.invokeMethod(DockObjectImpl.java:528)
    at com.sap.glx.core.kernel.trigger.config.Script$MethodInvocation.execute(Script.java:245)
    at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:791)
    ... 12 more
    Caused by: com.sap.glx.adapter.api.AdapterException: com.sap.engine.interfaces.sca.exception.SCADASException: Could not invoke service reference name b51513b6-379d-4c0b-be2a-a3b13d7fe23b, component name demo.sap.comreportissueprocessdcBPMcomponent, application name demo.sap.com/reportissueprocessdc.
    at com.sap.glx.adapter.app.ucon.SCADASWrapperImpl.invoke(SCADASWrapperImpl.java:151)
    at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallObject$PropagatedCall.run(UnifiedWebServiceCallObject.java:125)
    ... 23 more
    Caused by: com.sap.engine.interfaces.sca.exception.SCADASException: Could not invoke service reference name b51513b6-379d-4c0b-be2a-a3b13d7fe23b, component name demo.sap.comreportissueprocessdcBPMcomponent, application name demo.sap.com/reportissueprocessdc.
    at com.sap.engine.services.sca.das.SCADASImpl.invokeReference(SCADASImpl.java:362)
    at com.sap.glx.adapter.app.ucon.SCADASWrapperImpl.invoke(SCADASWrapperImpl.java:116)
    ... 24 more
    Caused by: com.sap.engine.interfaces.sca.config.exception.ESBConfigurationException: Configuration not found for application: demo.sap.com/reportissueprocessdc,composite:reportissueprocessdc,component:demo.sap.comreportissueprocessdcBPMcomponent,reference:b51513b6-379d-4c0b-be2a-a3b13d7fe23b,bindingType:WS
    at com.sap.esi.esp.service.server.ESPServiceInterfaceImpl.getConfiguration(ESPServiceInterfaceImpl.java:450)
    at com.sap.engine.services.sca.plugins.ws.WebServiceImplementationInstance.initWsdas(WebServiceImplementationInstance.java:193)
    at com.sap.engine.services.sca.plugins.ws.WebServiceImplementationInstance.accept(WebServiceImplementationInstance.java:76)
    at com.sap.engine.services.sca.das.SCADASImpl.invokeReference(SCADASImpl.java:335)
    ... 25 more
    Caused by: com.sap.esi.esp.lib.mm.config.exceptions.ObjectNotExistsException: Configuration not found for application: demo.sap.com/reportissueprocessdc,composite:reportissueprocessdc,component:demo.sap.comreportissueprocessdcBPMcomponent,reference:b51513b6-379d-4c0b-be2a-a3b13d7fe23b,bindingType:WS
    at com.sap.esi.esp.service.server.esb.ConnectivityConfigurationManagerImpl.readConfiguration(ConnectivityConfigurationManagerImpl.java:276)
    at com.sap.esi.esp.service.server.ESPServiceInterfaceImpl.getConfiguration(ESPServiceInterfaceImpl.java:443)
    ... 28 more
    Caused by: com.sap.esi.esp.lib.mm.config.exceptions.ObjectNotExistsException: Configuration not found for application: demo.sap.com/reportissueprocessdc,serviceRefId:reportissueprocessdc_demo.sap.comreportissueprocessdcBPMcomponent_b51513b6-379d-4c0b-be2a-a3b13d7fe23b_WS. Please check the configuration details from the NWA. You may have not assigned the Service Group to a Provider System, or the generation of the configuration has failed.
    at com.sap.esi.esp.service.server.esb.ConnectivityConfigurationManagerImpl.readConfiguration(ConnectivityConfigurationManagerImpl.java:334)
    at com.sap.esi.esp.service.server.esb.ConnectivityConfigurationManagerImpl.readConfiguration(ConnectivityConfigurationManagerImpl.java:263)
    ... 29 more
    Date:  2010-06-16
    Time:  19:17:16:800
    Category:  com.sap.glx.core.kernel.execution.LeaderWorkerPool
    Location:  com.sap.glx.core.kernel.execution.LeaderWorkerPool
    Application:  sap.com/com.sap.glx.process.ear
    Thread:  Galaxy 340 / Follower Worker
    Data Source:  j2ee\cluster\server0\log\defaultTrace_00.trc
    Arguments:  
    DSR Transaction:  c6a0ff48796211dfca1602004c4f4f50
    Message ID:  com.sap.BPM.core_svc.000047
    Session:  0
    Transaction:  
    User:  SAP_BPM_Service
    Time Zone:  +0100
    Customer Message Component:  BC-BMT-BPM-SRV
    DC Name:  com.sap.glx.core.svc
    Correlation ID:  5164050000004002
    DSR Root Context ID:  C6A0FF48796211DFCA1602004C4F4F50
    DSR Connection:  c6a0ff48796211dfca1602004c4f4f50
    DSR Counter:  0
    Host:  dcwwwx11871
    System:  CE2
    Instance:  J00
    Node:  server0
    Log ID:  02004C4F4F50039E000000010000162C

    Hi,
    Your Error Says
    You may have not assigned the Service Group to a Provider System, or the generation of the configuration has failed. at com.sap.esi.esp.service.server.esb.ConnectivityConfigurationManagerImpl.readConfiguration
    Procedure to Create Provide System
    https://cw.sdn.sap.com/cw/docs/DOC-101203 (From the service where you are consuming)
    Procedure to Create and Assign ServiceGroup
    While importing the Enterprise Service into Automated Activity it will ask the name of Service Group.Please check what is the Service Group Name and Assign the Service Group to the Provider System by following the Below Procedure.
    https://cw.sdn.sap.com/cw/docs/DOC-109461
    Thanks
    Srikanth

  • How to trigger the start  of activity in BPM Studio 10.3

    Hi
    I am new to BPM Studio 10.3.1.
    I have configured two External Resources
    1)J2EE Application Server: Giving details of the application server on which my JMS Queue resides
    2)JMS Messaging Service: Giving details of the JMS Queue
    I want to trigger the start of BPM process/ activity execution when a message arrives on the configured JMS Queue from an external system.
    How will I be able to listen to that queue?
    Similarly, I would also like to know the steps to post a message to JMS through the activity in BPM Studio.
    Is there any document available that helps in configuring the External Resources other than the Studio Reference guide and User guide.
    Can anyone please help on this?
    Thanks

    I don't know if this is exactly what you're after when you wan't to start an 'activity' with a JMS message,
    If you're searching for a way to start the process, this might be your solution:
    String procId = process.id;
    *// Load the JMS Message in the argument holder*
    m_begin.load(xmlText : message.textValue);
    logMessage("JMS message retrieved from queue: \n" + message.textValue, severity : Severity.DEBUG);
    *// Set the arguments which are sent with the new instance*
    *Any[String] argsIn;*
    argsIn["beginArg"] = m_begin;
    *// Specify the process in which the new instance should be created*
    ProcessInstance.create(processId : procId, arguments : argsIn, argumentsSetName : "BeginIn");
    If you wan't to notify an instance which is in a Wait activity, you can use this:
    *// Putting the message in the paramaters*
    *Any[Any] params;*
    logMessage("JMS message retrieved from queue: \n" + message.textValue, severity : Severity.DEBUG);
    params["waitArg"] = m_wait;
    *String instId = {instance ID};*
    Notification.send(instanceId : instId, activityName : "WaitActivity", argumentSetName : "WaitIn", parameters : params);
    -----

  • How to access a method in webservice catalogued component in BPM Process

    Hi
    Can anyone explain me how to access a method in webservice catalogued component in BPM Process using an imported jsp in bpm process.
    Thanks & Regards
    Ashish

    If Class B only has a reference to an Interface A, and that reference points to a concrete instance of Class A, then of course Class B can still call the method on Interface A. The method for concrete instance Class A is called behind the scenes.
    That's how interfaces work. That's what they're good for.
    Look at the code in the java.sql package for examples. Connection, Statement, ResultSet - all are interfaces. But behind the scenes you're using the concrete implementations provided by your JDBC driver. You don't know or care what those classes are or their package structure. All you do is make calls to the java.sql interface API, and it all works. - MOD

  • Error while invoking a automated activity

    Hello,
    I don't know whether this is the correct quesiton to this forum but since I am getting error in NW BPM process, I am writing it here.
    I have created a process which is getting triggered by WS call. The first step after start is automated activity where a call to SAP is made via a sync proxy.
    When I tried to execute the entire BPM process, I am getting the error in BPM Logs as
    "A technical error during invocation: Could not invoke service reference name
    eb7cf84e-f05c-41c4-940a-8f95113179f3, component name
    example.org~<DC Name>~BPMcomponent"
    Actually 2 things I did as a part of correction, the first is to set the communicaiton protocol is XI in the service reference of an outbound service interface that is used to call SAP system and change the interface pattern of its inbound interface to XI3.0 compatible. as suggested by Udo Martens in one of his blog. Also the inbound interface in the start step is of XI3.0 compatible.
    I re-deployed the project which I verified by going through NWA logs and also checked the configuration as given in blog. I have collaboration agreement done in PI where Sender is SOAP communication channel with XI protocol and it is as per the sender defined into the service reference.
    Sending a message from SAP NetWeaver BPM process to PI fails via automated activity - Technology Troubleshooting Guide -…
    Also I read one thread where it was resolved by clearing JCO caches but it seems the call was RFC call unlike in my case it is proxy call.
    "Could not invoke service reference" for automated activity (RFC call)
    Any clue what could have went wrong. I could see a cache issue here. But how to clear BPM cache.I couldn't find such option on NWA.
    Thanks in advance.
    Regards

    Hi Ameet,
    I'm facing same error,
    Could you  tell me how to apply the solution? Please.
    Thanks in advantage,
    Regards.

  • Creation of  WSDL file & import it in the creation of automated activity

    Hi Friends,
    I want to create BPM process for automated activity.I have created task for human activity. I have created CAF Application,but I dont know how to ceate/import WSDL file(This WSDL file is used to assign the interface to the automated activity).Can anyone explain about WSDL file creation and it's significance.
    (I am following one document 'Creating BPM Process with Human and Automated Activities' from this link ' https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/501bd56f-a5a6-2b10-4fbf-a61a64055fe4')
    Regards,
    Pranjali

    Hi Pranjali,
    WSDL is a document written in XML. The document describes a Web service. It specifies the location of the service and the operations (or methods) the service exposes. WSDL types are used to describe the data. XML Schema is used (inline or referenced) for this purpose.
    Refer to the below link for more deatils on WSDL:
    http://en.wikipedia.org/wiki/Web_Services_Description_Language
    Also there are numerous documents avaiable on this topic, just do a google search.
    Hope this helps!!
    Cheers,
    Arafat

  • Reduce number retries for an automated activity on a fault-message

    Hi everyone,
    is it possible to reduce the number of retries if an automated activity gets a fault response? With correcting my logical destinations it was possible for me to achieve communication to a webservice outside the netweaver.
    Now I tried the same with a selfmade deployed process and it "worked" - too good. When the automated activity tries to call the webservice, which is a synchromous bpm-process I created, it recieves a fault message. This fault.message is a "the process has been triggered" message that starts my next process. Now that the automated activity gets the "error" I wanted it retries 3 times to get a working connection with the service - so I get 3 new process instances. Is it possible to reduce the retry-counter and if yes, where can I do that? I already looked for this option in the service registry and in the logical destination settings. There isn't an option in the NWDS for the automated activity and i haven't found something in the help.sap.com,
    And yes I know that this isn't usefull for an operativ system.
    With kind regards,
    Markus

    Hi Markus,
    The number of retries is configured internally and cannot be modified on a per automated activity basis. To cover this use cases (BPM process A calling BPM Process B via WS), it is recommend to define the service interface of the process B as "one -way" (request without response) so that no SOAP fault it returned if case of successful start. In case an issue occurs during the start of process B, a SOAP fault will be returned.
    Hope this helps,
    David

  • Stuck at automated Activity

    Hello,
    I'm new to NetWeaver BMP and in SAP in general. I've downloaded and installed the following Trial Version:
    [SAP NetWeaver Composition Environment 7.2 Trial Version|http://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/a0a6bd7b-3dfc-2c10-eb95-aae0f777d4ab]
    I have already managed to get a workflow running with two human activities, that's no problem. But as soon as I include an automated Activity, the process get's stuck at that point, when the webservice should be called.
    My BPM process looks like that:
    [View my designed process|http://floriankalisch.de/pics/process.png]
    The webservice I want to use:
    [The external webservice|http://www.thomas-bayer.com/axis2/services/BLZService?wsdl]
    I imported the web service from remote location and assigned the interface to the automated activity.
    The mappings should be ok.
    The 'Process Visualisation' (stuck at the automated activity):
    [Stuck at automated Activity|http://floriankalisch.de/pics/stuck.png]
    Could some one give me a hint? Any help is appreciated
    Thanks in advance
    Florian
    Edited by: devandmore on Jan 26, 2011 8:39 PM

    Hi Florian,
    I see the following in the error stack trace
    "Log entry 8
    com.sap.esi.esp.lib.mm.config.exceptions.ObjectNotExistsException: Configuration not found for application: demo.sap.com/bp_retrieve_bank,serviceRefId:bp_retrieve_bank_demo.sap.combp_retrieve_bankBPMcomponent_c3170c61-9da4-4da4-9209-4508677ac60f_WS. Please check the configuration details from the NWA. You may have not assigned the Service Group to a Provider System, or the generation of the configuration has failed.
    com.sap.esi.esp.service.server.esb.ConnectivityConfigurationManagerImpl.readConfiguration(ConnectivityConfigurationManagerImpl.java:334)
    ... (22 more)
    You need to configure the service groups /destinations in NWA(Netweaver Administrator) while using the automated activities.
    logon to NWA ->SOA Management->Application and comminication scenario->Application communication.
    Under this you can find your process DC and then goto consumed services tab and configure the WSDL
    Regards, Anil

  • How to transport the BW query's variable to BO  webi report

    Hi all
    I'd like to know how to transport the BW query's variable to BO 's webi . today ,I created a sap customer varible in my bw system to get the max calmonth in the active table.The varible in the BW side run's well ,but I use this query to build a new univers ,and created a new webi report base on this univers ,but the question is the webi report can't get the varible's value I wann to know how to transport the bw varible value to BO webi report
    Thanks and regards,
    Peter .zhu

    I have changed my variaable in my bw query ,I found if you use SAP default variable it is ok in BO side . So I get a guidline by SAP default variable ,I changed my customer variable in variables edite ,don't use 'ready for input' .And then the variable can be useful in BO side .
    Edited by: peter zhu on Jun 16, 2008 11:43 AM

Maybe you are looking for

  • How to skip first TWO Lines of   .txt  file    using XSLT Mapping

    Hi Friends  ,                           I have an .txt file in has the format as                            <TEST>                             4564564545                             56456444566                             56465                       

  • ITunes wma conversion problems

    Hi, My girlfriend has just bought me an iPod Nano and so I am trying to import my music collection over to iTunes, unfortunately. I have been happily using Windows Media Player until now and have a lot of .WMA format music files that I now HAVE to co

  • Problem in uploading XML via XAI Inbound Service and XAI Receiver..

    Problem in MDM 2.0.1 I'm trying to upload some interval data in batches via XAI. I have created one XAI Inbound service *(D1-SUNXAI)* where i am using BO *(D1-IMDSeeder)* Then I have created one XAI RECEIVER where XAI class is XMLFILERCVR, XAI user i

  • Can CEs on ACNS 5.0 be upgraded using CiscoWorks

    The existing documentation isn't particularly clear about whether you can upgrade a CE that is running ACNS 5.0 to a newer 5.x version (once it comes out) using CiscoWorks. The 4.0 version could be configured as ECDN or not. That command is gone now.

  • Maximum size of Other Forms data file?

    I'm trying to resolve a problem with disappearing data. I'm using Safari 5.0.5 (because newer versions lack required features). Every few days, Safari begins to delete data from the Other Forms file (in username/Library/Safari/Other Forms) and contin