WebService Reference in a BPM Process

I am using Oracle BPM 11g for creating my business process. Within my BPM process, I am referencing couple of external Web Services. I used the Web Services adapter in the SOA composite editor and included them in my process. The process is created in my development environment and it is working fine. The external Web Services are also within the development environment.
Now I need to move my process to the UAT environment. In the UAT environment I need to access the UAT version of the Web Services. How do I parametrize the host name of the web services, so that the same BPM process is moved to the UAT enviroment without rebuilding the process?

Your problem can be simply resolved by using configuration plan when deploying the composite to the UAT env. For more information about generating the configuration plan, please see http://biemond.blogspot.com/2010/02/web-service-references-and-soa.html

Similar Messages

  • 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

  • PAPI WS and Process Webservice in the same BPM process

    Hello All -
    Can we use PAPI-WS and Process Webservice in the same BPM process?
    Here is my plan for usage.
    i. Use PAPI-WS for instance creation, workflow details and getting process instances.
    ii. Use Process Webservice to execute particular task.
    Did any one tried this and / or any idea on this?
    BR,
    Justin.

    Hi,
    You can use both interfaces but keep in mind that when exposing a process as a webservice the two activities that you can invoke are the Begin and the Notification Wait.
    Regards

  • How to invoke a webservice in the middle of a BPM process

    I use BPM studio to create processes.
    In the middle part of the BPM process, it need to invoke a web service (an ADF project deployed to weblogic as a web service). Then, it will wait.
    After the process is finished, it will invoke another web service (an ADF project deployed to weblogic as a web service).
    How to invoke web services in and after the process?
    Thank you.

    Hi,
    Thanks for your reply. I use BPM studio 10.3
    In the Catalogue, there are 3 default components which are Fuego, Java, and Plumtree.
    In the Fuego, there is an item of WebServices. In the Plumtree, there is an item named WebServiceProperty.
    If I create a new Module, I cannot find the option of web service.
    How to invoke a webservice (ADF/Java web service developed in Jdeveloper deploy to weblogic ) ?
    Thanks.

  • Webservice Exceution in BPM Process

    Hi,
    Do i need to write any code for executing webservice in BPM Process.
    The problem is i created process i am able see the work items in the UWL inbox .When the request is submitted it going to Approval inbox ..and once the approval is approved for creation
    That should be created in the backend.But that is not happening??what could be the reason??
    I am able to see the process in requestor and approval inbox ....all are fine but i could'nt see the output..?
    Please can any one help me out??
    ONE MORE DOUBT
    Whenever I want to create a task iam starting the process so iam able to create one task.. if i want intialize/Create  some tasks(100 tasks) what should i do??Do we start the process 100 times..?are anyother procedure?
    Regards
    Shwetha

    Hi Shwetha,
    You do not necessarily need to write code in case you rely on existing services. Typically some configuration is missing when the service consumption is not working as expected. Make sure that you did this before.
    Could you please check the status of your tasks and processes in the SAP NetWeaver Administrator ("Manage Tasks", "Manage Processes"). The troubleshooting guide (mentioned in the forum description) might help you a little here.
    In addition you could check the trace file if some other technical problems occurred.
    Regarding your second request:
    You do not need to start 100 processes for 100 tasks. That simply depends on your process model. You could prepare something like a loop which creates a task until a certain criteria is reached. But be careful not to run into endless loops here. That might cause massive problems on your system.
    Hope that helps,
    Martin

  • BPM process interactive activity(JSP) - external webservice method interac

    I am using Oracle BPM studio 10.3.1.0.
    I have one external web service published on glassfish application server, I have introspected it in my BPM process using its WSDL.
    Now one of my BPM process interactive activity is there, which is represented by one JSP, I am giving some input to my JSP.
    I want this input to be passed to the web service method as a parameter, and it should fetch the output, so basically I want to invoke the web service method, could you please guide me how to do it?
    Thanks & Regards
    Ashish

    Hy Ashih
    I dont know if this is best way to do that, but I have a similar situation here, and I'm using AJAX do call the webservice method by BPM and retrieve data.
    Something like this:
    1 - Create the XMLHttpRequest() object in your jsp (if you need I have the entire code)
    2 - Create the a JavaScript method for to call the OBPM method in your component
    function mymethod(arg1, arg2, arg3)
    xmlhttp.onreadystatechange=function()
                                                      if( xmlhttp.readyState==4 )
                                                           document.getElementById("AnyDIV").innerHTML = xmlhttp.responseText;
         var resp = "<f:invokeUrl var='YourComponenteName' methodName='YourMethodName'/>";
    //Incude how many args your need here
         resp+="&arg1=" + arg1;
         resp+="&arg2=" + arg2;
         resp+="&arg3=" + arg3;
         xmlhttp.open("POST",resp,true);
         xmlhttp.send(null);
    3 - You'll need a div html tag called "AnyDIV" to receive the BPM answer
    4 - On you BPM component, in YourMethodName method (needs to be ServerSide = no), create two args, the first is httpRequest type (name request), and the second is httpResponse type (name response) (fuego lib)
    5 - Type the code below in your BPM method to send info back to the JSP
    //getting the args
    String arg1 = request.getParameter(string : "arg1");
    String arg2 = request.getParameter(string : "arg2");
    String arg3     = request.getParameter(string : "arg3");
    //Do the webservice call here, prepare the html answer and put it into an string variable
    strReturn = "bla bla bla";
    //Send the anwser back to the jsp
    response.bodyTextContent(arg1 : strReturn);
    Or you can do this using xml answer and deal with the tags with javascript
    that's it

  • How to  Instantiate Oracle BPM Process Webservice from the OSB

    Hi,
    In our project we have one requirement i.e Instantiate Oracle BPM Process Webservice from the OSB.After register BPM service in to OSB I am creating one Message flow to instantiate BPM Process.
    first call to startSession Operation, then use response of startSession operation is used as reqest for BPM process operation.
    Can u tell me how do we use response of startSession operation to the request of BPM process.
    Thanks in Advance.

    An easier way of instantiating a BPM process via a WS call is to set the authentication type to 'Username Token Profile' on your web service operation in BPM studio and then redeploy it. If you use this type of security on your bpm process operations you can start the process in one call instead of having to get a session first and then starting the process.
    Once you've updating the process, re-register the new process WSDL and business service with OSB (or import it manually) and you can just call the start process operation in one request (passing a username and password using the WS-UsernameToken method) without having to get a session first.
    Hope this all make sense,
    Mike.

  • Instantiate Oracle BPM Process Webservice from the OSB.

    Hi,
    In our project we have one requirement i.e Instantiate Oracle BPM Process Webservice from the OSB.After register BPM service in to OSB I am creating one Message flow to instantiate BPM Process.
    first call to startSession Operation, then use response of startSession operation is used as reqest for BPM process operation.
    Can u tell me how do we use response of startSession operation to the request of BPM process.
    Thanks in Advance.

    An easier way of instantiating a BPM process via a WS call is to set the authentication type to 'Username Token Profile' on your web service operation in BPM studio and then redeploy it. If you use this type of security on your bpm process operations you can start the process in one call instead of having to get a session first and then starting the process.
    Once you've updating the process, re-register the new process WSDL and business service with OSB (or import it manually) and you can just call the start process operation in one request (passing a username and password using the WS-UsernameToken method) without having to get a session first.
    Hope this all make sense,
    Mike.

  • Problem with array param when calling a webservice from a BPM Process

    Hi. I have a web service and uses an array as parameter.
    The array (named "atributos") as part of a business object is defined here:
    <xs:schema targetNamespace="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/TrackPCPDOTrans" ...>
    <xs:complexType name="TrackPCPDOTransType">
    <xs:sequence>
    <xs:element name=... />
    <xs:element name="atributos" nillable="true" type="ns2:AtributosType" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:element name="TrackPCPDOTrans" type="TrackPCPDOTransType"/>
    </xs:schema>
    <xs:schema targetNamespace=... >
    <xs:complexType name="AtributosType">
    <xs:sequence>
    <xs:element name="key" nillable="true" type="xs:string"/>
    <xs:element name="value" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    <xs:element name="Atributos" type="AtributosType"/>
    </xs:schema>
    In the service task activity, I pass the params to the web service:
    "descripcion" --> TrackPCPDOTrans.atributos[1].key
    DataObject.descripcion --> TrackPCPDOTrans.atributos[1].value
    "estado" --> TrackPCPDOTrans.atributos[2].key
    DataObject.estado --> TrackPCPDOTrans.atributos[2].value
    "justificacion" --> TrackPCPDOTrans.atributos[3].key
    DataObject.justificacion --> TrackPCPDOTrans.atributos[3].value
    But when I test the process, an error ocurrs:
    <auditQueryPayload auditId="8712004" ciKey="380019">
    <dataState>
    <dataObject name="FaultMessage" isBusinessIndicator="false">
    <value> oracle.bpm.bpmn.engine.model.runtime.microinstructions.TrappableException: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage} cause: {faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage} parts: {{ summary=<summary>empty expression result. The expression bpmn:getDataInput('trackPCPDOTrans')/ns:atributos[2]/ns1:key is empty. An attempt to read or copy data referenced or computed by the XPath expression either had invalid data, according to the XML schema, or did not contain certain optional data. Ensure that the variable or expression result named in the error message is not empty. Enable XML schema validation of related data elements to ensure the run-time data is valid. </summary>} } </value>
    </dataObject>
    </dataState>
    </auditQueryPayload>
    What is wrong?
    Thanks for your help.

    I did the assignment in XPATH:
    oraext:parseXML(concat('<AtributosTracking xmlns="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/AtributosTracking">
    <arrayAtributosTracking>
    <key xmlns="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/Atributos">','descripcion','</key>
    <value xmlns="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/Atributos">',bpmn:getDataObject('DataObjectDDSAO')/ns:descripcion,'</value>
    </arrayAtributosTracking>
    <arrayAtributosTracking>
    <key xmlns="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/Atributos">','estado','</key>
    <value xmlns="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/Atributos">',bpmn:getDataObject('DataObjectDDSAO')/ns:estado,'</value>
    </arrayAtributosTracking>
    </AtributosTracking>'))
    AtributosTracking.xsd:
    <?xml version="1.0" encoding="UTF-8"?>
    <?bpmo version="11.1.1.6.0.15.53" build="15.53" fullName="DataTypes.AtributosTracking" modifiers="268435456"?>
    <xs:schema targetNamespace="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/AtributosTracking" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/AtributosTracking" xmlns:ns1="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/Atributos" xmlns:bpmo="http://xmlns.oracle.com/bpm/bpmobject/" >
    <xs:import namespace="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/Atributos" schemaLocation="Atributos.xsd"/>
    <xs:complexType name="AtributosTrackingType">
    <xs:sequence>
    <xs:element name="arrayAtributosTracking" nillable="true" type="ns1:AtributosType" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:element name="AtributosTracking" type="AtributosTrackingType"/>
    Atributos.xsd:
    <?xml version="1.0" encoding="UTF-8"?>
    <?bpmo version="11.1.1.6.0.15.53" build="15.53" fullName="DataTypes.Atributos" modifiers="0"?>
    <xs:schema targetNamespace="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/Atributos" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/Atributos" xmlns:bpmo="http://xmlns.oracle.com/bpm/bpmobject/" >
    <xs:complexType name="AtributosType">
    <xs:sequence>
    <xs:element name="key" nillable="true" type="xs:string"/>
    <xs:element name="value" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    <xs:element name="Atributos" type="AtributosType"/>
    </xs:schema>
    But a new error occurrs when I run the BPM process:
    <auditQueryPayload auditId="8724004" ciKey="380025">
    <dataState>
    <dataObject name="FaultMessage" isBusinessIndicator="false">
    <value> oracle.bpm.bpmn.engine.model.runtime.microinstructions.TrappableException:
    faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    cause: {faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{ summary=<summary>XPath query string returns multiple nodes.
    The assign activity part and query bpmn:getDataObject('AtributosTracking')/ns:atributosTracking are returning multiple nodes.
    The assign activity part and query named in the error message returned multiple nodes. It should return single node.
    According to BPEL4WS specification 1.1 section 14.3, the assign activity part and query named in the error message should
    not return multiple nodes. Verify the part and xpath query named in the error message at line number -1 in the BPEL source. </summary>} } </value>
    </dataObject>
    </dataState>
    </auditQueryPayload>
    Any idea?
    Thanks
    Edited by: César on 10/01/2013 11:02 AM

  • Dynamic Filename in BPM process (SOAP with attachm. and PayloadSwapBean)

    Hello together
    I have the following BPM process:
    1. IDoc=>WebServiceRequest
    2. WebServiceResponse (payload) => IDoc
    3. WebServiceResponse (attachment) => File
    XI receivs an IDoc an map it to an WebService. The Webservice is called by XI and we receive the WebServiceResponse including a PDF attachment.
    The challenge is to store the PDF attachment with a dynamic filename from the payload of WebServiceResponse.
    We use the PayloadSwapBean to change the payload to the PDF attachment. But then we are not able to access the required information on the original WebService-XML-Response via variable substitution.
    Is there a solution in the standard or have we to use a custom adapter module?
    Thx
    manuku

    Hi Jayasimha,
    We can do this by "Adapter Specific Message Properties" of ur comunication channels.
    1.If u want to keep the output filename same as input filename, no need to use the UDF. only the 'adapter specific parameters' in both sender n receiver file adapter will do that.
    In case if u want to get the filename inside our mapping we have to create a user defined function
    which will return the filename and map it to one of our XML tags. 2nd point gives solution 4 that:
    2. If u want to generate an output file taking some input from the payload,then u hav to use the UDF.There u hav to populate the name.
    Pretty much.... if you set an attribute from the sender side, for example, you can use a UDF and access the particular attribute sent and use it in the mapping. In another example, where no attributes are sent from the sender, you can still actually set a particular attribute, say a filename derived from the payload, using a UDF, and enable the receiver attribute to use it. That's where the UDFs come in - either to get or set particular adapter specific message attributes.
    This will be a very helpful blog which solves ur query:
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Regards,
    Vinod.

  • How to access/invoke Web Service from BPM Process

    The following steps required to attach and invoke web service method from process:
    1) Add a module in the catalog for ex WebServiceMO
    2) Add WebService Catalog component demoWebService in WebServiceMO
    3) Put ur WSDL address in WSDL address field like "http://localhost:8080/test/test?wsdl"
    4) Click next to introspect the web service it will import required files and setting from the url to your project
    5) Now for invoking webservice just call the method for ex.
    @return as String[]
    getTestStringList(TestInterfaceService, out @return : @return)
    logMessage "web service calll result >>"+length(@return)+">>>"+@return[0]
    Here @ return is the return from webservice call.
    this way u can access web service from BPM process.
    Edited by: Anurag Yadav on Jul 17, 2009 2:19 PM

    I have a web service which does not return any value but when I introspect the web service, I have an out parameter to it.. Not sure why?
    For e.g.
    TestServiceListener.addTestNotes(TestNotes : testNotes, out TestNoteResponse : testNoteResponse);
    So here I see an out parameter, but my web-service has no out parameter...
    Any idea why is this happening?

  • Getting error while Startting a BPM process programmatically

    Hi Experts,
    I am getting an error while trying to start the BPM process programmatically. What i have done till now is
    1. Created a WS in process composer
    2. Binded this ws with start of the process
    3. Created input parameters
    4. Testing it in WS Navigator
    I am following this doc /people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
    and I am getting error while testing in WS Navigator. I am getting error at the last step i.e. in result step and the error is
    Web Service returned an error. Fault Code: "(http://schemas.xmlsoap.org/soap/envelope/)Client" Fault String: "No operation found using soap keys [], [cn_comments]. InterfaceMapping Object class: com.sap.engine.services.webservices.espbase.mappings.InterfaceMapping mappings: (BindingType=Soap, SEIName=NewWSDLFile, BindingQName=(http://www.example.org/NewWSDLFile/)NewWSDLFileSOAP, PortTypeQName=(http://www.example.org/NewWSDLFile/)NewWSDLFile, SoapVersion=SOAP11, Galaxy_SDO=true, InterfaceMappingID=45ffb27c:1237f972cd8:-7d7e)."
    If possible can any one help me out.
    Thanks and regards
    Pranav

    Hi Arafat,
    Thanks for replying. Yes i have completed the output mapping. Input parameters i need for this service are :
    1. cn_comments
    ca_comments
    2. cn_planningGroup
    ca_account
    ca_serialnumber
    and few more attributes
    Now, what i did was i have created a complex type and added elements in it. But to my surprise i was not able to get these nodes and elements in output mapping. So, i changed the type of "parameter" from "new operation" to my complex type. By doing this i was able to get my nodes and elements in output mapping. Now i tested the entire thing in WS Navigator and i got that error.
    Please suggest how o proceed.
    Regards
    Pranav

  • Serialization Error after adding a new field to BPM Process

    Hi,
    I have a BPM Process to which I added a new attribute userid and consuming the BPM process in a web dynpro application, I created a model using the BPM Process's Web Service but getting a serialization error that the model does not have a mandatory field with name [userid]. see below.
    FYI.. I can trigger my BPM process through the Web Service in wsnavigator , the error I am getting is while executing the BPM Process from the custom webdynpro.
    Any idea how to resolve the issue?
    XML Serialization Error. GenericObject [
    <modelObject class="com.sap.demo.wdpoc.wd.models.model.NewOperation"><attribute name="In" value="KK"/><attribute name="Name" value="133"/><attribute name="Age" value="dad"/><attribute name="Designation" value="12124"/><attribute name="Userid" value="null"/></modelObject>
    ] does not have a mandatory field with name [userid].
    [EXCEPTION]
    com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. GenericObject [
    <modelObject class="com.sap.demo.wdpoc.wd.models.model.NewOperation"><attribute name="In" value="KK"/><attribute name="Name" value="133"/><attribute name="Age" value="dad"/><attribute name="Designation" value="12124"/><attribute name="Userid" value="null"/></modelObject>
    ] does not have a mandatory field with name [userid].
    at com.sap.engine.services.webservices.jaxrpc.encoding.SerializationUtil.serializeGenericFieldContent(SerializationUtil.java:1546)
    at com.sap.engine.services.webservices.jaxrpc.encoding.SerializationUtil.serializeGenericFields(SerializationUtil.java:1431)
    at com.sap.engine.services.webservices.jaxrpc.encoding.SerializationUtil.serializeGenericType(SerializationUtil.java:1383)
    at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.serialize(GeneratedComplexType.java:168)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.serializeParameter(SOAPTransportBinding.java:1731)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.serializeRequest(SOAPTransportBinding.java:1683)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.writeSOAPRequestMessage(SOAPTransportBinding.java:254)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1272)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:952)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:907)
    at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceInvokerImpl.invokeOperation(DInterfaceInvokerImpl.java:76)
    at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClassExecutable.execute(WSGenericModelClassExecutable.java:73)
    at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModelClassExecutable.execute(WSTypedModelClassExecutable.java:49)
    at com.sap.demo.wdpoc.wd.comp.wdpoc.Wdpoc.execute(Wdpoc.java:257)

    This question is not answered but I am marking it answered because I have to post more.
    Sorry
    -Ashwani

  • Calling Oracle BPM Process Web Service from Oracle Service Bus

    Hi
    I am using Oracle Service Bus 10gR3.
    I have developed simple BPM process through Oracle BPM studio 10.3.1.0.I then followed steps below
    1. Create a Process.
    2. Expose the Process as a Web Service.
    3. Run the project. This starts the Process Execution Engine.
    4. Create an ALSB External Resource of type Management Host.
    5. Create a second ALSB External Resource for registration.
    6. Register the End Point
    Until this point everything is fine. Then I created one project through Oracle Service Bus console. Under that created WSDL, Proxy Service and Business Service Folders. I am using the web service created through BPM studio as teh Business Service in SB . I then created one proxy service to route the request to the Business Service.
    Finally when I try to test the Proxy Service by launching test console, I get the
    <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>BEA-380001</con:errorCode>
    <con:reason>INTERNAL SERVER ERROR</con:reason>
    <con:location>
    <con:node>RouteNode1</con:node>
    <con:path>response-pipeline</con:path>
    </con:location>
    </con:fault>
    I also tried to debug through "Oracle Workshop for WebLogic Version 10.3 " . But I am not getting enough details as to why this is failing.
    Please help me . Thanks In advance.
    Thanks
    Nilay
    Edited by: user8950019 on Feb 1, 2010 4:11 AM

    Hi,
    When im calling wsdl created when BPM exposed as webservice in SOAP-ui, i first hit the startSession
    Request is:-
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:exp="http://bea.com/albpm/ExpenseManagement/ExpenseReport">
    <soapenv:Header/>
    <soapenv:Body>
    <exp:startSession>
    <password>Employee</password>
    <user>Employee</user>
    </exp:startSession>
    </soapenv:Body>
    </soapenv:Envelope>
    Response i Get is:-
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <ns1:startSessionResponse xmlns:ns1="http://bea.com/albpm/ExpenseManagement/ExpenseReport">
    <return>3782hecq1s85h</return>
    </ns1:startSessionResponse>
    </soapenv:Body>
    </soapenv:Envelope
    but when i put this sessionId in main request:-
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:exp="http://bea.com/albpm/ExpenseManagement/ExpenseReport">
    <soapenv:Header/>
    <soapenv:Body>
    <exp:expenseReport>
    <sessionId>3782hecq1s85h</sessionId>
    <reportArg>
    <!--Optional:-->
    <comments>yes</comments>
    <!--Optional:-->
    <costCenter>jaa</costCenter>
    <!--Optional:-->
    <description>aa</description>
    <!--Optional:-->
    <isApproved>y</isApproved>
    <!--Zero or more repetitions:-->
    <items>
    <!--Optional:-->
    <elements>
    <!--Optional:-->
    <amount>700</amount>
    <!--Optional:-->
    <date>?</date>
    <!--Optional:-->
    <description>?</description>
    <!--Optional:-->
    <receiptChecked>?</receiptChecked>
    </elements>
    </items>
    <!--Optional:-->
    <reviewedBy>?</reviewedBy>
    <!--Optional:-->
    <submitDate>?</submitDate>
    <!--Optional:-->
    <submittedBy>?</submittedBy>
    <!--Optional:-->
    <total>?</total>
    </reportArg>
    </exp:expenseReport>
    </soapenv:Body>
    </soapenv:Envelope>
    Response coming is :-
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <soapenv:Fault>
    <faultcode>soapenv:Server.userException</faultcode>
    <faultstring>fuego.lang.ComponentExecutionException: The method 'expenseReport' from class 'xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl' could not be successfully executed.</faultstring>
    <detail>
    <ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/">fuego.lang.ComponentExecutionException: The method 'expenseReport' from class 'xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl' could not be successfully executed.
         at fuego.lang.Invokeable.invokeImpl(Invokeable.java:244)
         at fuego.lang.Invokeable.invokeDynamic(Invokeable.java:188)
         at fuego.lang.Invokeable.invoke(Invokeable.java:160)
         at fuego.soaptype.SoapListener.invokeDynamic(SoapListener.java:104)
         at fuego.lang.Invokeable.invoke(Invokeable.java:160)
         at fuego.fengine.FEngineWebServiceExecutor$2.execute(FEngineWebServiceExecutor.java:133)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.fengine.FEngineWebServiceExecutor$1.run(FEngineWebServiceExecutor.java:65)
         at fuego.component.Message.process(Message.java:576)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
         at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
         at fuego.fengine.FEngineWebServiceExecutor$WebServiceExecutorPrincipal.processBatch(FEngineWebServiceExecutor.java:168)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
    Caused by: java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "jaa"
         at xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl.expenseReport(ExpenseReportServiceInternalAlbpmListenerImpl.xcdl:36)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
         at fuego.lang.JavaObject.invoke(JavaObject.java:227)
         at fuego.lang.Invokeable.invokeImpl(Invokeable.java:234)
         ... 21 more
    Caused by: java.lang.NumberFormatException: For input string: "jaa"
         at java.lang.NumberFormatException.forInputString(Unknown Source)
         at java.lang.Integer.parseInt(Unknown Source)
         at java.lang.Integer.valueOf(Unknown Source)
         at fuego.util.Conversion.tojava_lang_Integer(Conversion.java:934)
         at fuego.xobject.runtime.ConversionUtilities.fromString(ConversionUtilities.java:56)
         at fuegoblock.xml.XmlElementDeserializer.deserializeElement(XmlElementDeserializer.java:175)
         at fuegoblock.xml.XmlElementDeserializer.deserialize(XmlElementDeserializer.java:81)
         at fuegoblock.xml.DynamicXml.createObjectFrom(DynamicXml.java:160)
         at fuegoblock.xml.DynamicXml.createObjectFrom(DynamicXml.java:119)
         at xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl.expenseReport(ExpenseReportServiceInternalAlbpmListenerImpl.xcdl:17)
         ... 28 more</ns1:stackTrace>
    <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">D-113014550</ns2:hostname>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>
    can anyone explain why this error is coming.?
    Edited by: user8937128 on May 19, 2010 6:58 AM

  • How to set the conversation id programmatically in a BPM process

    Hi all,
    I am using BPM/SOA 11g PS3.
    Is it possible to set the conversation id programmatically in a BPM process starting with a none start event?
    I know I can set it easily if I use a BPM process starting with a message start event.
    All I have to do is set it in the "wsa:MessageID" node in SOAP Header when I initiate the process instance.
    However, I have no idea how to set the conversation id programmatically in a BPM process starting with a none start event.
    I looked for if there is any appropriate method in the Java api for the process instance management, such as IInstanceManagementService and CompositeInstance, but no method seems to be appropriate.
    Does anyone know how to do this?
    Regards,
    Kenji
    Edited by: Kenji Imamura on 2011/04/20 0:10

    Hi fifty,
    Did you get a solution to the above problem you have mentioned? I have a similar issue i am trying to fix.
    I have a webservice call in a process activity and if the call does not work i get a soap fault and the fuego.lang.ComponentExecutionException . My process requires that i catch the exception infact any kind of exceptions that occur on that call and perform another activity in the process.
    I have defined an exception handler at the activity level for java.lang.Exception and java.lang.RunTimeException.
    i don't see anything in the catalog which would handle the SOAP fault OR the componentexception.

Maybe you are looking for

  • I can not download Adobe Acrobat 9 Standard!

    I bought adobe acrobat 9 standard in 2010 on the website of Adobe. I had to delete it, and now I'm trying to download it again from the adobe website. It doesn't work! I can find my product, my serial number, but there is no download button!!! What s

  • Not getting BPM output

    Hi all, I am in a scenario where i pick three files in BPM with correlations properly defined and input files also comply to the correlations. After i pick these 3 files a transformation step comes and finally a send step to send to an output file. W

  • Console Not Available

    This probably sounds like a minor issue but i haven't been able to figure it out. When i debug my application, or run my application and trace("anything"), my console reads "A console is not available". This is making it hard for me to debug my appli

  • My Flash Pro CC 2014 freezes while I'm working every single time and I can't figure out why

    I just bought Flash Pro CC about a month ago, and every time I open it and start using it, it freezes and I can't click on anything in the program or even close out of it normally.  I have to use Task Manager and force it closed.  I doubt that its my

  • One WLC 5508, Multiple Sites/Networks

    So I'm trying to think this design out in my head.  Here is what I have: Corp Office with a WLC 5508 configured with a management port and a guest WLAN port for guest wireless etc to the corp Layer 3 switch in a wireless VLAN, using 802.1q trunk of c