JSP-BPM Process-Web Service interaction

Hi all
I am new to Oracle bpm studio. I am having one very important question.
I want to understand the JSP-BPM-Webservice interaction in Oracle BPM studio BPM Process, as we have an enterprise application having servlets, ejbs, etc, for these servlets & ejbswe are creating web services to expose their functionality, through a BPM process. We have created jsps for showing the result fetched from the external web services imported in our BPM process.
So in brief, jsp and external webservices are imported in our BPM project, configured as interactive & global activity respectively.
Please guide us for the JSP-BPM-Webservice interaction.
How to make the webservice working in response of the jsp, getResult Button? So that on pressing the button on jsp the webservice can return the result and the result can be diplayed on another jsp?
How to bind the webservice with bpm object, and pass the values through the bpm flow?
Could you please guide me through this small demo application?
Please please please reply my question, eagerly waiting for your reply.......................................
Thanks & Regards
Ashish Chaudhary
Edited by: user10952025 on Jan 11, 2010 8:43 PM

Hi Sujata
Yes we did the same, as given in some tutorials how to create the "Web service catalogue component", we did it, introspected the webservice.
Now we need to pass the inputs to the add method of the web service, so that it can return the result back to the jsp. So in order to achieve this we created one interactive activity component & object for jsp in the main BPM process and for the same jsp, one interactive activity component in the screenflow, and to interact with the webservice, we created the global activity in the main BPM process. We edited this global activity and dragged the add method definition there.
So now we are facing issues with jsp-web service interaction, they are not interacting, so we want somebody to guide us how to enable this with step by step instructions if somebody has done it already. We have already gone thru a lot of tutorials & forum but we want to resolve this asap.
Thanks & Regards
Ashish

Similar Messages

  • 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

  • Oracel BPm Question: Unable to start BPM Process Web Service

    Hello,
    I was trying to create a new webservice interface for a BPM proces. However When I try to access the WSDL I ran into this issue:
    The WSDL is supposed to be located at:
    http://localhost:7001/albpmServices/albpmengine/ws/NewUserServiceListener?wsdl=true
    Error 500--Internal Server Error
    java.lang.NullPointerException
         at fuego.webservices.HttpSoapListener.process(HttpSoapListener.java:176)
         at fuego.ejbengine.servlet.SoapServlet.doPost(SoapServlet.java:75)
         at fuego.ejbengine.servlet.SoapServlet.doGet(SoapServlet.java:62)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3395)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)

    For Oracle BPM 10g and 6.0 running on Enterprise WebLogic try:
    http://{WebLogicMachineName}:{WebLogic Port}/albpmServices/{Engine-name}/ws
    Replace the {WebLogicMachineName} and} {WebLogic Port} with your WebLogic host and port. Replace the {EngineName} with the BPM engine name shown in the Oracle BPM admin console under Engines.
    Dan

  • Process Web Services and BPM Objects

    Hi,
    I try to expose a web service for a specific process (not PAPI-WS) for process creation. Works well but only if I use only simple types like String, etc. as input arguments. But when I try to use an BPM object, I get an error like 'Undefined variable 'arg1''.
    So, is it not possible to use such a process web service using BPM objects as arguments?
    Regards
    Matthias

    Yes it's true but Netbeans uses one of the existing SOAP implementations to do it. I'm almost sure that it uses one of the most popular implementations JAX-WS RI or Axis by default.
    Regards,
    S&#322;awomir Wojtasiak

  • Calling Process Web Service from another BPM project

    Hi all,
    Scenario: I need to launch an instance of a process in another project, running on another engine.
    I figured a Process Web Service was the way to go and I am trying to invoke my Process Web Service method that creates a process. I have tried with and without passing the username token (checkbox in the Process Web Service) to no avail.
    Does anyone have some sample code to do this ?
    cheers
    Tony
    10gr3

    Hi Matias,
    Yeah, thanks. I am testing on Studio and Enterprise (Standalone). I kinda assumed that if username token is required that the wrappers to consume the PWS would take care of that but I guess not ?
    I am having problems with "None" now, on enterprise (see below). I think it is one of those when you get so into the problem you dig a big hole and cant see any way out !
    Gonna switch to using Papi to launch the instances I think :-(
    cheers
    Tony
    HTTP/1.0 500 INTERNAL SERVER ERROR
    Connection: close
    Content-Type: text/xml;charset=utf-8
    Content-length: 1915
    <?xml version="1.0" encoding="UTF-8"?><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:MustUnderstand</faultcode>
    <faultstring>Did not understand &quot;MustUnderstand&quot; header(s):</faultstring>
    <detail>
    <ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/">
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:96)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
         at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
         at fuego.soaptype.AxisSoapService.invoke(AxisSoapService.java:359)
         at fuego.soaptype.AxisSoapService.invoke(AxisSoapService.java:123)
         at fuego.webservices.HttpSoapListener.process(HttpSoapListener.java:206)
         at fuego.http.HttpExecution$1.run(HttpExecution.java:71)
         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.http.HttpExecution$HttpPrincipal.processBatch(HttpExecution.java:190)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
    </ns1:stackTrace>
    <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">myhostname</ns2:hostname>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>
    after submitting:
    Host: myhostname:9001
    Cache-Control: no-cache
    Pragma: no-cache
    SOAPAction: "http://bea.com/albpm/GSR_INCR/INCRGNSAutomatic#startSession"
    Content-Length: 847
    <?xml version="1.0" encoding="UTF-8"?>
    <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:Header>
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
    <wsse:UsernameToken><wsse:Username>anonymous</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">anonymous</wsse:Password></wsse:UsernameToken></wsse:Security></soapenv:Header>
    <soapenv:Body>
    <startSession xmlns="http://bea.com/albpm/GSR_INCR/INCRGNSAutomatic">
    <password xmlns="">password</password>
    <user xmlns="">user</user>
    </startSession>
    </soapenv:Body>
    </soapenv:Envelope>

  • Synchronous call to process web service

    Hi All,
    Right now in my project I have exposed some process web services to be used by front end. But these process web service are asynchronous and does not return any output unless its an exception. Is there any other approach where front end system can contact OBPM and get response as well stating whether operation has been successfull or not. I am using OBPM 10gR3.
    Thanks and Regards,
    Yasmin.

    Hello Yasmin:
    Take a look to this thread. Maybe it can be helpfull.
    how to create a process through API in BPM 11g
    I hope you find what you are looking for.
    isabelbernely

  • Errors when processing web service call

    Hello Experts,
    Based on a requirement, I got a URL based on WSDL, using which I created a Consumer Proxy in SAP.
    I created a Logical Port in SOA Manager with type selected as 'WSDL'.
    When I'm trying to execute the proxy class to call the webservice using the logical port through SE80  it is throwing an error log as stated below.
    1) SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/
    2)Error when processing Web service call
    3)Error when calling SOAP Runtime functions: Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/
    Kindly help me out.
    Thanks,
    Vamshi

    Hi,
    Check Anton's reply in this thread: External WS Consumption Issue
    Also refer the below doc which may help you: Consume an External Web Service in a Nutshell with Good Old ABAP
    Calling WebServices from ABAP via HTTPS
    Regards,
    Kiran

  • Delayed response while calling the process web service

    I have four managed servers in a cluster and the ip addresses are
    managed_server_1 -20.20.40.21
    managed_server_2 -20.20.40.22
    managed_server_3 -140.20.40.23
    managed_server_4 -140.20.40.24
    The admin server is on 20.20.40.21
    I start the managed server from command prompt using the commant
    ./startManagedWeblogic {name of the managed server} {admin console url} ie
    i start managed_server_1 from 20.20.40.21 unix box by going to {weblogic installation}\bin
    and running the following command (we have some issues with the node manager so have been using this
    method)
    ./startManagedWeblogic managed_server_1 http://20.20.40.21:17003
    similarly i start the other servers from their respestive unix boxes
    managed_server_2 from the 20.20.40.22 unix box using the command ./startManagedWeblogic managed_server_2 http://20.20.40.21:17003
    managed_server_3 from the 140.20.40.23 unix box using the command ./startManagedWeblogic managed_server_3 http://20.20.40.21:17003
    managed_server_4 from the 140.20.40.24 unix box using the command ./startManagedWeblogic managed_server_4 http://20.20.40.21:17003
    all these servers are in the cluster named BPM_cluster and the bpmengine is deployed onto this cluster
    when i deploy the application to the bpmengine it gets properly deployed onto the servers
    and i could see the process web services getting generated
    but when i try to call these webservices for each managed server seperately
    the response from managed_server_1 and managed_server_2 takes leass tha 2 secs
    but the response from managed_server_3 and managed_server_4 takes about 25 secs
    I am not able to figure out why us taking so long from the managed servers 3 and 4
    the bpmengine ds and directory ds have the cluster as targets (I also tried to point to all the servers in the cluster even that
    didnot work). I feel that there is db connectivity issue from the servers but i am not sure how to check that.
    Can anyone help me with this ?
    Thanks

    Please make sure that your solman box meet the software prerequisit as per this note below
    1483508 : Solution Manager 7.1: Root Cause Analysis pre-requisites
    This will solve that ptoblem .
    Best Regards
    Jai Wardhan

  • Process Web Service - XML Schema

    Hi
    I'm new to ALBPM and currently trying to learn about exposing a Process as a WebService. Specifically is it possible to use a XML Schema defined in the Catalog as an argument to the process Web Service? I've tried this and found the generated WSDL didn't include the Schema in the operation. This was using the Process Web Service menu item.
    The Fast Trak codes sample passes in XML as a String and parses it back into an XMLObject in Pbl. Is this the best practice way to do it?
    // Convert XML String to XML Object
    load orderXML
    using xmlText = orderRequest
    Is there a sample project on dev2dev that shows an alternative approach using a Schema?
    thanks
    Ben

    I'm new to web services, but we are currently
    implementing a number of Web Services that all take
    as arguments a single parameter which is an XMLBean,
    which has been generated by a XML Schema.
    What I find surprising is that when I submit a SOAP
    message to the Web Service (through the http Web
    Service Tester inside eclipse), I can send any valid
    XML without getting a SOAP fault. Is there a way on
    the Web Service that I want the XML submitted to be
    validated against the XML Schema for that parameter?
    Bit surprised I have to implement my own input
    argument validation, and there doesn't appear to be a
    standard way to do this. I must be missing soemthing
    surely? Why else would the Schema be in the WSDL?
    Cheers
    JohnHas anyone found an answer to this, we have the same issue?

  • To launch Oracle BPM deployed Web Services [In BPM Enterprise]

    Hi all,
    I have expose my Process Instance into Web Services in Studio.
    It is working well. In Studio, I start the Engine (Run -> Start Engine),
    Then, I Start the Web Services (Run -> Launch deployed Web Services webapps).
    It would show me my local webservice links.
    http://localhost:9000/albpmServices/<ProjectName>/ws
    But, I unable to launch this Web Service Webapps, when i deploy the project into Oracle BPM Enterprise with Weblogic Server.
    May know what is the link for BPM Enterprise?
    Regards,
    Chris

    My URL is:-
    http://localhost:9000/albpmServices/TestProject/ws/TestProcessServiceListener?wsdl=true
    and it does not seem to open the WSDL when I start the enterprise server engine..
    I have the process exposed as a web-service with two methods..
    One for Process Creation and another for Notification Wait Activity...
    I have also checked the box to start PAPI WS Services on my standalone server
    Is there some other config that I need to make inside my standalone server to get this WSDL?
    I understand that standalone works on Tomcat...

  • SOAP, Web Service Interaction using Flex 2

    A Web Service exists on the local computer. It is a .NET
    Framework web service (SOAP) running under IIS. It commences with a
    demand for three parameters. One fills in the form and presses a
    button on the form and is returned an XML file with vital data
    necessary for future web service transactions that will involve
    SQL-form queries and XML responses. Actions that Flex 2 is required
    to perform: 1) submit a URI and receive a form, 2) POST a response
    to the form and receive an XML file, 3) submit a query, 4) reformat
    an XML file to remove irrelevant data and to make a Flex 2 data
    provider happy so that a chart can be displayed. I assume Flex 2
    can do all these things and it is just a matter of knowing how.

    Your description is a bit confusing. The webservice in
    question has a single method that takes three parameters, and
    returns a FORM? What are the three parameters, and what, exactly,
    do you mean by "form".
    When I hear "form", I usually think of an HTML form with text
    input fields, comboboxes, radio buttons, etc. But, in general,
    properly developed webservices do not return UI elements (such as
    text input fields, comboboxes, and radio buttons). They are
    typically only used as a communication method in the model layer,
    where they return datasets or process responses. And the view layer
    (in this case, Flex) is responsible for building any UI elements
    that collect data for the interaction with the webservice.
    But, okay, let's say, for some odd reason, this webservice
    returns a form (as I am thinking of the term). What format is this
    form in? I personally can't think of a readily available method
    that could display this form with a Flex app, but maybe I'm missing
    something. Or is it that, by "form", you mean something completely
    different, like a second method in the webservice that receives
    posted data? What is actually returned in your step #1?
    Step #2 is a cinch. Simply create an HTTPService tag (or in
    script, create URLLoader and URLRequest objects) in your app that
    posts the appropriate data to the appropriate webservice URL with
    the appropriate method. In the callback handler function for that
    webservice call, a (properly formatted) XML response will be
    converted automatically to a "Flex-friendly" data object, which you
    can easily parse apart to build your SQL as necessary.
    Step #3, again, where do you submit the query to? A third
    method in the webservice? If so, it would be just like #2 above.
    And the response data would, again, be automatically converted into
    a Flex data object.
    Step #4 would probably be accomplished more by manipulating
    the Flex data object rather than any reformatting of the XML.
    Simply loop through the object and remove irrelevant children/data.
    Then set a bindable variable to the cleaned data object, and have
    your chart bound to that variable.
    There are many many examples on the web. Just search for
    'flex "mx:HTTPService"' or similar. And take a look through
    LiveDocs for [Bindable] for step #4.

  • Bpm calling web service

    Hi I am new to bpm can somebody provide me with a sample project in either oracle bpm 10.3 or aqualogic 6.0 to call some simple web service such as helloworld ?

    Anju,
    Thank you for your response. I am not having much luck with getting any of these projects to work. For example, I imported the ExpenseReimbursement project (this project uses web services, I think) by following the step by step instructions in the read.html ( C:\OraBPMStudioHome\samples\demos\ExpenseReimbursementDemo\README.html) but when I login to the workspace as the administrator I didn't see anything to Set Administrative Options with.
    There was nothing under Views, nothing under Applications and under Work List it said 'No Processes were found. Log in again and contact your administrator if the problem persists'.
    Any help to resolve this would be appreciated.

  • BPM 's Web Service Layer

    Hi all,
    I had a question on Process As a Web Service.
    We build this web-service in BPM and the WSDL is auto-generated in BPM.
    But what is the underlying method that BPM uses to convert usual Java or Fuego Data Types to SOAP i.e. to XSD?
    Is it using EJB3 or Axis or something else?

    Oracle BPM uses Axis. Here is the information from the manifest.mf file included in the axis.jar that comes with OBPM
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.5.3
    Created-By: 1.4.2_05-b04 (Sun Microsystems Inc.)
    Name: org/apache/axis
    Implementation-Title: Apache Axis
    Implementation-Version: 1.2.1 2243 June 14 2005
    Implementation-Vendor: Apache Web Services

  • Sub-Process Main Process Web-Service

    Hi,
    I have a main Process and a sub-process inside this main process.
    I have a Wait activity inside this sub-process, which waits for an external call from another system to call my Web-Service at this Wait activity. This Web-Service is built as Process As a Web-Service Call.
    But I fail to get any information back from this Wait Activity which keeps waiting for the call from the external system which calls my Web-Service at this Wait Activity.
    But the external system is calling my Web-Service and it gets a error notification from BPM..
    Why is that so?
    Is it because its a sub-process inside a main process or something else?

    Did you use PAPI code inside your web service or did u just use PAPI Web Services ( like did u just pressed the button Launch PAPI Web Services ) and it created the WSDL for you and u used it to create the client?
    I am using the latest version of OBPM..
    Oracle 10.3.10
    Can you let me know what do u mean by PAPI interface.. Is it the PAPI code of is the PAPI Web Service which is built by BPM automatically and could be used?
    Edited by: user8707382 on Sep 10, 2009 9:00 AM

  • BPEL process web service security issue

    Hi guys,
    I could use a web service based on BPEL process from local machine, but when I am calling the same service from one of the client machines i get following type of error
    WARNING: Unable to connect to URL: http://server1:7777/orabpel/default/SendTransfer/1.0 due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: server1:
    23:14:16 HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed
    any help is appreciated

    In your service url http://server1:7777/orabpel/default/SendTransfer/1.0 , the "server1" should be a proper IP address recognized over your network. Otherwise you can add this name with corresponding IP address in hosts file entry.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Export and import of 3 Gb table

    Dear , I have table with more than 3 million records, i need to export this table and import into a different database . can you please help me with the export and import options options so that i can speed up the process... for you information this

  • Securing proxy services

    Hi, I want to secure my proxy service using SOAP header based authentication. Please help me with this. using OSB 11g R1. Thank You.

  • Confrmation of Rework & GR

    Hello All         I am processing an order of two pieces, while confirming that order i confirm 1EA as yield & 1EA as rework and am also mentioning the reason of variance while confirming the order. I have set manual GR against the order & when am do

  • Where is user/library in Mavericks?

    Where is user/library in Mavericks? I only have the HD/ library or system/library. User/library is gone and I desperately need the firefox bookmark file that was in there. Thanks!

  • SpaceFM Error - Error: Unable to save session file. Permission denied

    Hi. I have just installed linux-rt from AUR https://aur.archlinux.org/packages.php?ID=51360 Everything installed correctly and is working so far. It's just that whenever I'm with a folder open (even if I dont do anything) and click the X to close the