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
Similar Messages
-
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,
ChrisMy 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... -
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 AMHi,
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 -
Async system - XI BPM Sync - Web service - SOAP response
Dear Experts:
I have the following scenario:
Async Proxy to XI to web service. I use BPM to make this a sync call to the web service. It works fine!
I have a XSLT mapping for the response message from the web service. I use XSLT because the structure of the positive and fault responses are different. Anyway, I could get the positive response post ok back in the XI system.
But the fault response does not get mapped and I get a APPLICATION_ERROR of category UNKNOWN in the SXMB_MONI. I also configured exception handling in the BPM. But it does not catch this error.
Can anyone suggest how to handle the fault response from the web service?
Thank you.I just had the same problem and solved it like this: I modified the WSDL slightly by removing the prefix from the reference to the element of the response message, as well as the "targetNamespace" in the xsd:schema segment of the WSDL. Like this, SAP is able to parse the response.
Philippe -
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. -
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 PMHi 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 -
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 -
PAPI Web Service (PAPI-WS) Example for Oracle BPM Enterprise Standalone
Here is the location of a step-by-step explanation on how to use PAPI Web Service (PAPI-WS) to create a work item instance and then run the instance inside an activity in a process running on Oracle BPM Enterprise Standalone.
http://www.4shared.com/file/128249957/9bd6ef61/PAPI-WS_for_Oracle_BPM_Standalone.html
Be sure to use the project that is in the zip file for this example.
To see how to invoke PAPI-WS when using Oracle BPM Studio, go to this thread: PAPI Web Service (PAPI-WS) Example for Oracle BPM Studio
If you need a step-by-step example of how to use PAPI (the Java API) go to this thread: Creating a new work item instance in a process using PAPI
Hope this helps,
DanDan,
I tried in both studio and Standalone.
From Studio :*
1. The Url for the Webservice is (http://localhost:8585/papiws/PapiWebServiceEndpoint?wsdl). From studio by default port number was 8585.From this studio wsdl URL(http://localhost:8585/papiws/PapiWebServiceEndpoint?wsdl),I did n't see any wsdl text in the browser.
From Standalone :*
1. In BPM Admin Center, I have selected *"PAPI Web Services"* check box(Page 5 of your document).
2. In The BPM Admin Center, I have clicked on *"Start BPM Web Applications"*.
3. After Stand alone server started *"Launch PAPI WebServices Console"* link was enabled,And I clicked on that link.It opened a browser with URL (http://localhost:8686/papiws/PapiWebService)
Oracle® BPM PAPI Web Services
Service Name 'PapiWebService'
Style: Document Literal Wrapped
SSO Enabled: false
WS-Security UsernameToken Profile Authentication Enabled: false
HTTP Basic Authentication Enabled: true
Preset Authentication Enabled: false
MTOM Optimization for attachments Enabled*: false
Endpoint: http://localhost:8686/papiws/PapiWebServiceEndpoint
WSDL: http://localhost:8686/papiws/PapiWebServiceEndpoint?wsdl
I have copied wsdl URL(http://localhost:8686/papiws/PapiWebServiceEndpoint?wsdl) and pasted it into a browser's URL field.I did n't see any wsdl text in the browser,but I see following error
HTTP Status 404 - Servlet PapiWebServiceServlet is not available
type Status report
message Servlet PapiWebServiceServlet is not available
description The requested resource (Servlet PapiWebServiceServlet is not available) is not available.
Apache Tomcat/5.5.15
Edited by: Prabhasankar on Dec 24, 2010 9:10 AM -
SSO to a Web Service from Portal
Hi All,
I have EP deployed on machine A, and my web application deployed on machine B, and I need to get SSO enabled between EP and the web application. Machine B is a Windows 2003 Server, and has the ISAPI filter installed to get at the HTTP_REMOTE_USER from the server variables, when I come from the EP. The web application on machine B is able to get the HTTP_REMOTE_USER server variable. This web application is an ASP.Net application, which calls web services in order to do any processing, including logging in a user. The flow looks like this:
EP -> web app page -> redirect to login page -> check if HTTP_REMOTE_USER is present, if so, call web service to login user.
The problem is this: when in the login page, I get at the HTTP_REMOTE_USER, which only gives me a user name. In order to actually log the user in, I need to call a web method, passing in a user name and a password. However, I don't have a password, and if I put a web method to login the user without the password check, it becomes a security hole. I hence need to check for the HTTP_REMOTE_USER in my web service layer as well, but I don't seem to be able to get at the HTTP_REMOTE_USER in the web service. At present, both web service and web application are on the same machine, but I still don't get the server variable. Isn't the web service (yet another) HTTP-based application, which should be able to get at the server variables? How do I get at the server variables to flow to the web service as well?
In addition, I need to also do the following: I need to create an iView, which will call web methods on the web service. The web service uses WSE 1.0, and validates to check that there is a UsernameToken present. So, I need something similar to the above, wherein the web service can "figure out" that it is being called from the iView, and can skip the validation.
Regards,
Vivek
PS - Points will be definitely rewardedHi,
Can anyone pls help me with this.
Any ideas are most welcome.
Regards,
Vivek -
NULL ARRAY PROBLEM... in DOCUMENT/LITERAL type web service
let method signature is like this,
public int ABC(String[] a);
i am sending an null array from client side, like
ABC(null);
but on web service layer i am getting an array with length 1
and element of this array is null.
for example, {null} where i should get simple null, not an array with null element.My guess is that it is because .NET defaults to generating a document style interface whereas JDeveloper defaults to generating an RPC style interface. The end result is that JDeveloper wraps the document interface in something that looks document like - thus your client. To see how to handle this right now, check out this sample - you have to parse the XML:
http://otn.oracle.com/tech/webservices/htdocs/series/net/content.html
In the preview of JDeveloper 9.0.3 which is due quite soon - next few weeks roughly (crossing my fingers) - JDeveloper will wrap .NET document based Web services in a much more elegant wrapper - giving you exactly what you are looking for - a method called Validate rather than a vector of Elements.
What I don't understand in your sample, however, is that you have WSDL generated from JDeveloper versus WSDL generated from .NET. Did you also do an implementation of the validate method in Java too?
Mike. -
Safe to retry Flex Web Service calls on HTTP request failures?
I'm using Flex's web services layer to make SOAP calls to a back-end server. Once in a while, those calls fail with a generic RPC fault that looks like this:
faultString="HTTP request error"
faultCode="Server.Error.Request"
faultDetail="Error #2032: Stream Error..."
When this happens, is it safe to assume that the server didn't get the message and retry an otherwise non-idempotent request?Anyone have any ideas?
-
Integration Web Service Support?
Does the new Integration 7.0 BPM have web service/SOAP support?
In particular, I would like to start my workflow from a web service call, or be
able to call web services directly from tasks in my workflow. Can this be done?
Please advise,
DaveNo it does not. You have two choices. There is a alpha plug-in available to call
web services from a node task. It is for Integration 2.0. I have not been able
to run it against 7.0. The other option is to utilize workshop. There is a sample
on dev2dev. Search for integration interoperability.
"David Mrozek" <[email protected]> wrote:
>
Does the new Integration 7.0 BPM have web service/SOAP support?
In particular, I would like to start my workflow from a web service call,
or be
able to call web services directly from tasks in my workflow. Can this
be done?
Please advise,
Dave -
Web services deployment question
My employer has a deployment environment typically requiring an application
to be deployed in a multi-tier architecture (i.e. JSP/Servlets in one
cluster, EJBs in a second cluster). They do however have this one
application that requires a combined tier architecture and it is currently
deployed this way. This application will shortly have a small web services
layer added to it to support another application that needs information from
this application.
The IT staff that manage this environment wants to now create two clusters
for this application on the same hardware, cluster A would contain the
original application and be responsible for presentation and cluster two
would contain the second app plus the web services layer and be responsible
solely for handling web services. Their reasoning for doing so is that the
web services are not considered presentation and thus this should be
logically seperated. This seems strange to me, now your maintaining two
clusters with identical code bases, doing identical work with the only
difference being the entry point. There is no scalability advantage to two
clusters that I can see, just a lot of extra work to create a logical
seperation that isn't even real.
Before I go back to them I just want to be sure I'm not missing some obvious
reason why this would be a good idea.
Thanks,
GeorgeTim
You can change this behavior by passing notestconsole to the
startweblogic.cmd or by setting the testConsoleFlag variable to false in
the startweblogic.cmd script. Also testconsole is turned off by default for
all EAR files.
Please refer to the following document for more information on this
http://e-docs.bea.com/workshop/docs81/doc/en/workshop/reference/commands/cmdStartWebLogicCommand.html
Regards,
Raj Alagumalai
Backline Workshop Support
"Tim " <[email protected]> wrote in message
news:3f8af6cc$[email protected]..
>
How do you configure Workshop 8.1 to hide the Web Services test page fordeployment.
This question has been posted and answered, but the answer had to do withediting
the
web-service.xml file. Workshop does not deploy a web-service.xml file. -
Getting BPM response in a synchronous web service
We have a synchronous web service - an EJB whose methods are exposed as web service
methods. The EJB acts as a broker, and channels web service requests to the BPM.
Each web service request (i.e. each EJB method) needs to interact with a few AppView
services. We plan to use the BPM as an intermediate layer. Hence each EJB method
needs to start a BPM workflow, wait for its completion (as the web service is
synchronous) and get the output response XML to return to the web service client.
In this scenario, we have questions in two major areas -
1) How does the EJB get the response from the workflow? For e.g. If we use sendXMLToClient
in the workflow, how is it received by this EJB? Alternatively, is it better to
put all the response in workflow variables, and inspect it after the workflow
completes i.e. after WorkflowInstance.waitForCompletion() ? What would happen
in case of exceptions = where would they be caught?
2) There are various simultaneous tasks in the workflow, and we want to merge
the XML response of all of these. How is it best done?
Note that all of these are dynamic and need to be done in code i.e. Human intervention
through worklist / studio is not expected.
Please advise.
Regards,
Milind Prabhu
[mailto:[email protected]]You can try the message driven bean.
It will slove your problem.
and you can use the database to save your run time xml response.
Good luck!
"Milind Prabhu" <[email protected]> wrote in message
news:3c55830c$[email protected]..
>
We have a synchronous web service - an EJB whose methods are exposed asweb service
methods. The EJB acts as a broker, and channels web service requests tothe BPM.
Each web service request (i.e. each EJB method) needs to interact with afew AppView
services. We plan to use the BPM as an intermediate layer. Hence each EJBmethod
needs to start a BPM workflow, wait for its completion (as the web serviceis
synchronous) and get the output response XML to return to the web serviceclient.
In this scenario, we have questions in two major areas -
1) How does the EJB get the response from the workflow? For e.g. If we usesendXMLToClient
in the workflow, how is it received by this EJB? Alternatively, is itbetter to
put all the response in workflow variables, and inspect it after theworkflow
completes i.e. after WorkflowInstance.waitForCompletion() ? What wouldhappen
in case of exceptions = where would they be caught?
2) There are various simultaneous tasks in the workflow, and we want tomerge
the XML response of all of these. How is it best done?
Note that all of these are dynamic and need to be done in code i.e. Humanintervention
through worklist / studio is not expected.
Please advise.
Regards,
Milind Prabhu
[mailto:[email protected]] -
Problems to invoke a secure Web service from Oracle BPM Studio 10.3
Hi all
I'm trying to consume a web service through HTTPS protoloco Oracle BPM Studio v10.3, but I get the following error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
Some help!!
ThanksWithout going into any technical discussion about the code, my first question is what JDK version was used to create this which was imported into the form? Understand that Forms 10 runs on JDK 1.4.2, so if you used any newer JDK version, likely there will be problems.
Maybe you are looking for
-
Weird Firewire Issue since 10.5.6 update
Hey guys! I'm a musician so I use an audio interface (Presonus FP10) to record my stuff. It's a firewire interface and it used to work perfectly fine. However, since the 10.5.6 update there seems to be something wrong with my firewire port and I have
-
Everything works great with Internet Explore So I know the problem is FFox. Going on for about 2 weeks now. For example trying to make a calendar with shutterfly. Once I click on upload, to find my photos I get a blank page, Banking site, click on th
-
HT204074 lost my previous Apple Id, how do i get my music back
Hello, I lost a big part of my previous purchased ( strangely, not all of it ) My old Apple Id does not work. Some of my purchased made it to my new but when I synced my Iphone to my itunes, most dissapeared. I still see it as purchased when i go on
-
Not possible to add a new call in agenda with N97 ...
I can not add a new call in the agenda, I dont understand if is a limit of N97 mini. It's a strange situation because with all my previous Nokia phone that was possible. It's a very usefull function because I can start the call directly with alert st
-
It's There a way to find out where my new phone is?
I ordered new phone, is there any way to track where it is? It shouldn't be here for another few days but just wanted to see what state it is in. Thanks if anyone knows or doesn't.