Literal XML in BPEL 2.0
Hi!
I confusing the use Literal XML in BPEL 2.0,
is different in BPEL 1.0,the use required to implement BPEL Process.
In all the examples show in I was have copy to variable from output what contain <payload>,
but I would like to know what kind is the output variable to store the XML literal and
then copy it to the input variable from web service externo.
Thank you...
hugs!
Can you check section 6.5.2 in http://docs.oracle.com/cd/E28280_01/dev.1111/e10224/bp_manipdoc.htm#SOASE87187
Cheers,
Similar Messages
-
Hi,
I've a problem.
I've to create a WSDL file that describe the seguent request/response with literal XML:
Request:
<group number="1"/>
Response:
<group number="1">
<student>
Andrew
</student>
<student>
John
</student>
<student>
Jack
</student>
</group>
1) Anyone can give me an example of how the wsdl seem for xml literal?
2) How can i create the related wsdl file?
3) anyone can tell me if there is any tool to auto-generate that kind of file
Thanks, AndreaThi is the request:
POST /soap/servlet/rpcrouter HTTP/1.0
Host: localhost:8070
Content-Type: text/xml; charset=utf-8
Content-Length: 467
SOAPAction: ""
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<ns1:getGruppo xmlns:ns1="urn:WebService:WS_GetGruppo" SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml">
<group number="1"/>
</ns1:getGruppo>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
This is the response:
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: 1375
Date: Wed, 03 Mar 2004 13:21:20 GMT
Server: Apache Tomcat/4.0.1 (HTTP/1.1 Connector)
Set-Cookie: JSESSIONID=B4C32202459374628561F06373329891;Path=/soap
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<ns1:getGruppoResponse xmlns:ns1="urn:WebService:WS_GetGruppo" SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml">
<return>
<group number="1"/>
<student>
Andrew
</student>
<student>
John
</student>
<student>
Jack
</student>
</group>
</return>
</ns1:getGruppoResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope> -
How to create XML inside BPEL process like below
<Main>
<psn:attr xmlns:psn="PSN:ML:6:0" name="Std_Fname"><psn:value>Any Value</psn:value></psn:attr>
<psn:attr xmlns:psn="PSN:ML:6:0" name="Std_Lname"><psn:value>Any Value</psn:value></psn:attr>
</Main>
Where Any Value may changes at runtime.
ThanksIn XML Fragment when I use the following code it doesn't get value of bpws:getVariableData("var1").
<Main>
<psn:attr xmlns:psn="PSN:ML:6:0" name="Std_Fname"><psn:value>bpws:getVariableData("var1")</psn:value></psn:attr>
<psn:attr xmlns:psn="PSN:ML:6:0" name="Std_Lname"><psn:value>bpws:getVariableData("var2")</psn:value></psn:attr>
</Main>
Any help? -
How to use xPath to extract a element from a xml stringin BPEL workflow?
I have a xml string passed into the BPEL workflow, and I need to extract the value of "serviceOrderGuid" (see the xml string below), how I can use BPEL mapper to do this? I am using NetBeans 6.0/M10.
Thanks
Kebin
<Parameters xmlns="http://www.sunmicrosoft.com/TrueOMF/WorkflowInformation.xsd">
<Parameter isIn="false" isOut="true" name="serviceOrderGuid">
<Value>5e8c9de9-f9b9-4815-bc06-e1572ff122f2</Value>
</Parameter>
<Parameter isIn="false" isOut="true" name="elementOfferGuid">
<Value>4f7c9de2-f9b9-4815-bc06-e1572ee122e2</Value>
</Parameter>
</Parameters>Thank you for your help so far, but I still have issues to be resolved.
I developed couple of workflows, in assign activity, I used query to retrieve some value from xml string, e.g.
<copy>
<from variable="OriginalEventMessage">
<query>/node()/*[ ( local-name() = 'Request' ) ]/*[ ( local-name() = 'Parameters' ) ]/*[ ( ( local-name() = 'Parameter' ) and ( @name = 'serviceOrderGuid' ) ) ]/*[ ( local-name() = 'Value' ) ]</query>
</from>
<to variable="CallMefIn" part="EventMessage">
<query>//*[local-name()='Request']/*[local-name()='Parameters']/*[local-name()='Parameter' and @name='serviceOrderGuid']/*[local-name()='Value']</query>
</to>
</copy>
at deployment, I got messages like "Starting BPELSE deploy process
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
What is the problem?
I attach the whole deployment log for your review.
Thanks
Kebin
Stopping service assembly MefWorkflowCompositeApp on target server.
Stopping suId : MefWorkflowCompositeApp-sun-http-binding
Stopped suId : MefWorkflowCompositeApp-sun-http-binding
Shutting down service assembly MefWorkflowCompositeApp on target server.
Shutdown : MefWorkflowCompositeApp-sun-http-binding
Shutdown : MefWorkflowCompositeApp-sun-http-binding completed
Undeploying service assembly MefWorkflowCompositeApp from target server.
Shutdown : MefWorkflowCompositeApp-sun-http-binding
Shutdown : MefWorkflowCompositeApp-sun-http-binding completed
JBIMA0412: Service Assembly with ID : MefWorkflowCompositeApp has been undeployed.
Deploying service assembly MefWorkflowCompositeApp to target server.
Deploying service unit : MefWorkflowCompositeApp-sun-http-binding from C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\AlertMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/AlertMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\AlertMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/AlertMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\ArchitectMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/ArchitectMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\ArchitectMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/ArchitectMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\CallMef.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/CallMef.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\CallSD.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/CallSD.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\FeatureBuilderMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/FeatureBuilderMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\FeatureBuilderMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/FeatureBuilderMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\GlobalStoreMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/GlobalStoreMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\GlobalStoreMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/GlobalStoreMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\LocalStoreMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/LocalStoreMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\LocalStoreMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/LocalStoreMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\LogCurrentState.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/LogCurrentState.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\MEFWEBService.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\OperatorInputMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/OperatorInputMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\OperatorInputMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/OperatorInputMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\OrderManagementMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/OrderManagementMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\OrderManagementMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/OrderManagementMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\RBLocalStoreMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/RBLocalStoreMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\RBLocalStoreMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/RBLocalStoreMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\SecurityMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SecurityMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\SecurityMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SecurityMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\SmsAdministratorMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SmsAdministratorMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\SmsAdministratorMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SmsAdministratorMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\SmsParentMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SmsParentMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SmsParentMefBpel.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\SmsParentMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SmsParentMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\SolutionDomainBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SolutionDomainBpel.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\SssMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SssMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\SssMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SssMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\SSSTalkerMefBpel.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SSSTalkerMefBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\SSSTalkerMefWeb.wsdl'.
Retrieving document at 'MEFWEBService.wsdl', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/SSSTalkerMefWeb.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/MEFWEBService.wsdl'.
Retrieving document at 'C:\Program Files\glassfish-v2-b53\domains\domain1\jbi\service-assemblies\MefWorkflowCompositeApp\MefWorkflowCompositeApp-sun-http-binding\sun-http-binding\MefWorkflow\UtilityServiceBpel.wsdl'.
Retrieving schema at 'WorkflowInformation.xsd', relative to 'file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/service-assemblies/MefWorkflowCompositeApp/MefWorkflowCompositeApp-sun-http-binding/sun-http-binding/MefWorkflow/UtilityServiceBpel.wsdl'.
JBIMA0402: Service Assembly file:/C:/Program Files/glassfish-v2-b53/domains/domain1/jbi/tmp/28345a2b1143bbd25887fe9/MefWorkflowCompositeApp.zip has been deployed.
Starting service assembly MefWorkflowCompositeApp on target server.
Starting BPELSE deploy process
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
ToXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oasis-open.org/wsbpel/2.0/process/executable
FromXmlParser.endElement(): Found unrecognized end element </query>, namespace=http://docs.oa -
Hi!
I would like to validate the xml encoding in the BPEL process, does anyone know how to do this?
I mean, I have a BPEL process that receives an xml as the input. The input xml has a encoding specified. For example encoding="UTF-8". What I want to validate is that all the characters in the xml are valid in UTF-8 encoding (or whatever encoding is specified in the xml header).
I have used <property name="validateXML">true</property> in the bpel.xml. This works to validate the xml against the schema, but does not validate the encoding.
Please, I need help with this issue.
Thanks in advance,
Zaloawhen using the validate activity in the bpel itself, your instance is already created
You can enable payload validation per composite of global
If you go to the Em console > your composite > click the button at the top middle 'Settings' > Payload Validation
http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10226/bp_config.htm
9.1 Configuring BPEL Process Service Engine Properties
Payload Validation -
Bind the output data (Xml) from BPEL process to ADF SelectOneChoice Control
Hello,
My requirement is to invoke a BPEL process from ADF page and display returned results in a select one choice (drop down box).
I have created a Data Control for the BPEL process through Web service data control and tried to invoke the BPEL process. I could see from the BPEL console that BPEL process is getting invoked. But the ADF doesn't bind any of the output to Select one choice.
It doesn't even show any error.
Can you plz help me how to bind the output of the BPEL process to ADF SelectOneChoice control.
The Xml Which I recieve from BPEL process is
<outputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"><DBConnectDemoProcessResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/DBConnectDemo">
<StatusTrans xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/DBSelect">
<transId>1</transId>
<fromStatus>Open</fromStatus>
<toStatus>Assigned</toStatus>
</StatusTrans>
<StatusTrans xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/DBSelect">
<transId>2</transId>
<fromStatus>Open</fromStatus>
<toStatus>Pending</toStatus>
</StatusTrans>
<StatusTrans xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/DBSelect">
<transId>3</transId>
<fromStatus>Open</fromStatus>
<toStatus>Closed</toStatus>
</StatusTrans>
<StatusTrans xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/DBSelect">
<transId>4</transId>
<fromStatus>Open</fromStatus>
<toStatus>Cancelled</toStatus>
</StatusTrans>
</DBConnectDemoProcessResponse>
</part></outputVariable>
And the toStatus node values viz, Assigned, Pending, Closed, Cancelled should get binded to the SelectOneChoice control
Waiting for your valuable inputs,
Regards,
babloo.I have been still trying for the solution. I have modified the XSD created by the jdeveloper to,
<schema attributeFormDefault="unqualified"
elementFormDefault="qualified"
targetNamespace="http://xmlns.oracle.com/StateTransitions"
xmlns="http://www.w3.org/2001/XMLSchema">
<element name="StateTransitionsProcessRequest">
<complexType>
<sequence>
<element name="input" type="string"/>
</sequence>
</complexType>
</element>
<element name="StateTransitionsProcessResponse">
<complexType>
<sequence maxOccurs="unbounded">
<element name="stateChanges">
<complexType>
<sequence>
<element name="fromState" type="string" />
<element name="toState" type = "string" />
</sequence>
</complexType>
</element>
</sequence>
</complexType>
</element>
</schema>
And I have given this XSD url while creating the Web Service Data Control by deploying it into the Oracle App server.
So, I can see the tree structure of "Return" as "StateTransitionsProcessResponse->StateChanges->toState,fromState"
I have binded the toState field of the Data Control to the SelectOneChoice ADF control in a jspx page by using List binding editor.
I have selected,
Base data source as "Variables" (Currently I don't need to update any table),
List Data source as "process: getStateTransitions.process.StateTransitionsProcessResponse.stateChanges" (Web Service Data Control)
Base Data source attribute as "process_input"
List Data Source Attribute as "toState"
I can initiate the web service (BPEL process) by providing the necessary input value like 'Open' or 'Pending' or 'Assigned' but the SelectOneChoice control doesn't populate with any values.
Waiting for valuable inputs!
Thanks and Regards,
babloo. -
Problems with: orcl:lookup-xml in BPEL process transformation activity
All,
I'm trying to do a lookup (using orcl:lookup-xml) from a transform activity within a BPEL process.
The function editor in JDeveloper tells me that the following params are needed:
- docURL
- parentXPath
- keyXPath
- lookupXPath
- key
All of this is clear! In the examples I can find on the oracle site, the value for the docURL is always like: "file:/x:/somefile.xml". This works fine when I test the xsl on my local development pc. However when I deploy to my test environment (SOA Suite on Linux) this file reference isn't going to work obviously.
I want the docURL to point to an XML file which I include in the deploy of the BPEL process. Can anyone tell me how to do this?
Hope you can help!
Message was edited by:
Chris Everett NLIs this xml-file on some relative path of your bpel process, or can you ship it in the same directory inwhich also the .bpel file exists ?
-
Can't get unparsed (XML string) BPEL response in servlet
(Reposted from "OC4J and Java EE" forum)
I'm trying to invoke a two-way BPEL process from within a servlet like so:
NormalizedMessage requestMessage = new NormalizedMessage();
requestMessage.addPart("payload", requestXml);
Locator lctr = new Locator(domainId, password);
IDeliveryService dService = (IDeliveryService) lctr.lookupService(IDeliveryService.SERVICE_NAME);
NormalizedMessage responseMessage = dService.request(bpelId, operationId, requestMessage);I would like to retrieve the unparsed XML String response. I thought that would be possible using the following:
String responsePayload = responseMessage.getPayloadString();but that returns null. responseMessage.getPayload() returns a Map from which I can successfully obtain the payload XMLElement, so the BPEL process is definitely working.
Any ideas why getPayloadString is not working as I expect it to? SOA suite is version 10.1.3.1. Thanks!hmm, if you poke around in decomiled version of DeliveryBean and NormalizedMessage, you can see that NormalizedMessage mPayloadString is not set by anybody, may be that is the cause.
Probably you can write your own function:
e.g. something like:
NonSyncStringBuffer buf = new NonSyncStringBuffer();
Iterator it = mPayload.keySet().iterator();
buf.append("<part>");
int i = 0;
for(int size = mPayload.size(); size > 0;)
String key = (String)it.next();
if(i > 0)
buf.append(", ");
buf.append(key).append('=').append(mPayload.get(key));
size--;
i++;
buf.append('</>');
return buf.toString(); -
How to escape XML in BPEL?
I have a part of a outputmessage in an element HTML of xsd:any. This element contains HTML which i have to transform to escaped XML.
Therefore i created the following embedded java code.
String htmlContent = ((oracle.xml.parser.v2.XMLElement)getVariableData("l_GetBericht_Output","reply","/ns5:GetBerichtResponse/ns14:Bericht/ns14:HTML")).getFirstChild().getNodeValue() ;
htmlContent.replaceAll("<","<") ;
htmlContent.replaceAll(">",">") ;
setVariableData("TestHTMLContent",htmlContent);
Message in l_GetBericht_Output starts with;
<l_GetBericht_Output>
<part name="reply">
<sbtn:GetBerichtResponse>
<ns3:Bericht>
<ns3:Onderwerp>sdjasldjalsda</ns3:Onderwerp>
<ns3:Tekst/>
<ns3:HTML>
<HTML>
<div>
<p>Data</p>
<p>
<p>
de heer ...
The result of the selection in BPEL variable TestHTMLContent is empty though.
Anyone any thoughts ?
Is there a better way to transform XML to escaped XML ?
Why is my selection null ?
Cheers,
PeterTry this.
xpath query for BPEL, escaping double quotes
Should work.
Thanks,
Vijay -
hi all
When I execute build.xml file of simple BPEL project from JDev it runs properly. But when I try to execute it from normal command window It gives me an following error.
...........droping jar file xyz.jar from path as i doesn't exists.
While all jar files are exist there.But Ant drops it from Classpath variable.
So JDev sets some environment before executing such build.xml file.Like {oracle.home} variable u need to set while runnig build.xml from command window.
Any suggestions...???
/mishityou cant run a .war file from command prompt
.war files should be executed in a server
how to execute a single servlet class
do you mean to run the servlet or compile the servlet?
any way you need a server and if you are a beginner Apache tocat will be the best server to start with you can down load it from
http://tomcat.apache.org/ -
Read XML in BPEL and assign values to variables
Hello,
I need to read an xml message in BPEL and assign variables created in BPEL the values of elements in XML message. Whats the best possible way to do this.When you say"*read an xml message*", is the xml coming as input message or you need to read from file ?
If you want to read from file, you can make use of the below function.
Returns the string value of an element defined by lookupXPath in a XML file (docURL) given its parent XPath (parentXPath), the key XPath (keyXPath) and the value of the key (key). Usage: oraext:lookup-xml(docURL as string, parentXPath as string, keyXPath as string, lookupXPath as string, key as string)
Example: oraext:lookup-xml('file:/d:/country_data.xml', '/Countries/Country', 'Abbreviation', 'FullName', 'UK') returns the value of the element FullName child of /Countries/Country where Abbreviation = 'UK' in the file d:\country_data.xml
Thanks,
Vijay -
Query regarding composite.xml and bpel
Hi,
I am absolutely new to SOA.Last day, I was experimenting with BPEL processes.I dragged a BPEL process(TestBPEL) onto the SOA composite and exposed it as a SOAP service.Now the component(testbpel_client_ep) that is being shown in the left swimlane wired to the BPEL process, what is that?I mean is that a service itself.Again in the .componentType file, I saw a service was defined but the name of the service defined was testbpel_client.But I didn't define any other service,so where did that service come from?Again in the composite source I saw the follwing code was generated:-
<service name="testbpel_client_ep" ui:wsdlLocation="TestBPEL.wsdl">
<interface.wsdl interface="http://xmlns.oracle.com/PatientDataService_jws/Test/TestBPEL#wsdl.interface(TestBPEL)"/>
<binding.ws port="http://xmlns.oracle.com/PatientDataService_jws/Test/TestBPEL#wsdl.endpoint(testbpel_client_ep/TestBPEL_pt)"/>
</service>
I guess it defines the service testbpel_client_ep.But what are the implications of the <interface.wsdl/> and <binding.ws/> tags?In the .componentType file also, the service testbpel_client had the same <interface.wsdl/> tag.
<service name="testbpel_client" ui:wsdlLocation="TestBPEL.wsdl">
<interface.wsdl interface="http://xmlns.oracle.com/PatientDataService_jws/Test/TestBPEL#wsdl.interface(TestBPEL)"/>
</service>
It also intrigues me that both the services(testbpel_client and testbpel_client_ep ) refer to the same wsdl file.I have no clue what is happening.
Thanks in advnceNow the component(testbpel_client_ep) that is being shown in the left swimlane wired to the BPEL process, what is that?I mean is that a service itselfYes. If you check the generate soap service checkbox when defining the BPEL it will generate the service and wiring as you have seen.
Again in the .componentType file, I saw a service was defined but the name of the service defined was testbpel_client.But I didn't define any other service,so where did >that service come from?testbpel_client should be the partner link name for the service. If you open the bpel designer you should see this partner link on the left swim lane. And if you check the wire's in the composite source, you will see that the wire target is testbpel/testbpel_client. Partner Links are by which services and references are referred within the bpel designer.
what are the implications of the <interface.wsdl/> and <binding.ws/> tags?interface.wsdl specifies the wsdl porttype of the interface exposed by bpel.
bindings.ws specifies the wsdl port and soap:location for the bpel. You are not seeing the location part here as this is a service definition and soa runtime will automatically populate this depending upon your deployed environment. This section is more relevant for 'References' coz this is the place you have to modify the endpoint URL's of services you have to invoke. -
Convert string into XML inside BPEL
Hello ,
How to convert string into xml format ? And make element and define attribute inside it ??There are several problems with your input:
1. Your xml is not well-formed because the attribute values should be enclosed withing double " quotes and not single ' quotes;
2. You use a prefix (sml) for the folowing part but you dont define the namespace:
<ids>
<VID ID="new"/>
<data>
<*sml:*attr name="std">
<sml:value></sml:value>
</sml:attr>
<sml:attr name="xde">
<sml:value></sml:value>
</sml:attr>
</data>
</ids>
Complete message should be:
<ids xmlns:sml="somenamespace">
<VID ID="new"/>
<data>
<sml:attr name="std">
<sml:value></sml:value>
</sml:attr>
<sml:attr name="xde">
<sml:value></sml:value>
</sml:attr>
</data>
</ids>
3. Do you assign this expression to a variable that is based on the schema of your message you want to parse
Regards,
Melvin
* TIP Answer the question as helpful or correct if it helps you , so that someone else will be knowing that this solution helped you or worked for you and also it gives points to the person who answers the question. * -
How to get the value of a node content in XML Literal in BPEL 2.0?
Hi!
I have a Problem Build A Expression in activity allocation XML Literal one, I would like to help me ...
Well, I have the same activity in BPEL 1.0 version and now is Different is BPEL 2.0,
I have a Web Service < WSEjecutaComandos > Where to have a function Remote Commands That runs ,
Inputs my Web Service: " numEquipo int , String [ ] comandos , int numCta , int publicar , int version , String fecha"
The second argument is a string array type ..
Now in my BPEL process , I make is the following assignment:
<assign name="AssignCreaPath">
<copy>
<from>
<literal>
<fnCRexecElement xmlns="http://servicios/">
<numEquipo>2</numEquipo>
<comandos>mkdir etl/entradas/mmkis/</comandos>
<numCuenta>1</numCuenta>
<publicar>0</publicar>
</fnCRexecElement>
</literal>
</from>
<to>$InvokeClear_fnCRexec_InputVariable.parameters</to>
</copy>
<copy>
<from>concat(ora:getContentAsString($InvokeClear_fnCRexec_InputVariable.parameters/comandos),$inputVariable.payload/client:fecha)</from>
<to>$InvokeClear_fnCRexec_InputVariable.parameters/comandos</to>
</copy>
<copy>
<from>$InvokeVersion_fnGetVersionProcesoByFecha_OutputVariable.parameters/version</from>
<to>$InvokeClear_fnCRexec_InputVariable.parameters/version</to>
</copy>
<copy>
<from>$inputVariable.payload/client:fecha</from>
<to>$InvokeClear_fnCRexec_InputVariable.parameters/fecha</to>
</copy>
</assign>
Well the conflict that I have is this,
previously defined a assign with XML Fragment copied it to the payload to the input variable Web Service (WSEjecutaComandos),
and the XML is copied in each of the variables ,
Then concatenate input values ( I remarked in red) < comandos > with the value from "fecha" ( String) , and again copy Variable < comandos > and did not have any problems
but now with the new BPEL 2.0, I do the same thing using now Literal XML ( that good!) but the option to concatenate (I remarked in red) and copied to the same variable ( I remarked in blue ), I mark the following error :
I should know, I'm doing wrong That , or you need to make XPath Function That The Value They already have the variable < comandos> will concatenate fecha ,
and is the final value for my entry my Web Service.
must be defined as the type values array <comandos[i]>
define the following activities before $InvokeClear_fnCRexec_InputVariable.parameters/comandos[1],
but it seems that this BPEL 2.0 does not respect me as index brackets .
Thank you...
Cheers,thanks for your help , it served me!
I need to get the value of XMLNodeList <comandos> to concatenate the date.
Attempt to XPath function ( ora:getContentAsString(NodeList elementAsNodeList)), but returns me a String, but a nodoXML.
Cheers,
Maby -
XML format for input to BPEL process from client stub
Hi,
I have deployed SyncHelloWorld BPEL process as given in the tutorial in the BPEL Server. It is working fine. Now I am trying to invoke the process by creating a Java client stub . I created a stub using the Web-services wizard by specifying the WSDL of the BPEL. Now I want to know how to pass some string through XML document to the BPEL process.
I am using this code in the main method of the stub., but the value is not being passed to the BPEL nodes correctly. the output I am getting is "Hello "
and not "Hello XYZString". I think I am not able to form the XML document to pass as input correctly. Can anyone help.
Can anyone please help :
public static void main(String[] args)
try
SyncHelloWorldStub stub = new SyncHelloWorldStub();
// Add your own code here.
// Create an empty XML document
XMLDocument doc = new XMLDocument();
// Create an element
Element body = doc.createElementNS("http://xmlns.oracle.com/SyncHelloWorld", "SyncHelloWorldProcessRequest");
// Create the inner element
Element ip = doc.createElementNS("http://xmlns.oracle.com/SyncHelloWorld", "input");
// Create a text node
Text text = doc.createTextNode("input");
// Set the input parameter
text.setNodeValue("XYZString");
ip.appendChild(text);
body.appendChild(ip);
// Call the process. It returns a vector
Vector v = stub.process(body);
// Code to print the returned xml.
System.out.println("Received " + v.size() + " element");
Enumeration enum = v.elements();
// Walk through the vector and print out contents
while (enum.hasMoreElements())
Object o = enum.nextElement();
System.out.println("Returned a " + o.getClass().getName());
//If it is an element, print it out
if (o instanceof XMLElement)
XMLElement xml = (XMLElement)o;
xml.print(System.out);
else
System.out.println("Returned " + o.toString());
System.out.println("After executing : "+v.toString());
catch(Exception ex)
ex.printStackTrace();
This is the code for WSDL file for the BPEL process.
<?xml version="1.0" encoding="UTF-8" ?>
- <definitions name="SyncHelloWorld" targetNamespace="http://xmlns.oracle.com/SyncHelloWorld" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/SyncHelloWorld" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/SyncHelloWorld">
- <types>
- <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/SyncHelloWorld" xmlns="http://www.w3.org/2001/XMLSchema">
- <element name="SyncHelloWorldProcessRequest">
- <complexType>
- <sequence>
<element name="input" type="string" />
</sequence>
</complexType>
</element>
- <element name="SyncHelloWorldProcessResponse">
- <complexType>
- <sequence>
<element name="result" type="string" />
</sequence>
</complexType>
</element>
</schema>
</types>
- <message name="SyncHelloWorldRequestMessage">
<part name="payload" element="tns:SyncHelloWorldProcessRequest" />
</message>
- <message name="SyncHelloWorldResponseMessage">
<part name="payload" element="tns:SyncHelloWorldProcessResponse" />
</message>
- <portType name="SyncHelloWorld">
- <operation name="process">
<input message="tns:SyncHelloWorldRequestMessage" />
<output message="tns:SyncHelloWorldResponseMessage" />
</operation>
</portType>
- <binding name="SyncHelloWorldBinding" type="tns:SyncHelloWorld">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="process">
<soap:operation style="document" soapAction="process" />
- <input>
<soap:body use="literal" />
</input>
- <output>
<soap:body use="literal" />
</output>
</operation>
</binding>
- <service name="SyncHelloWorld">
- <port name="SyncHelloWorldPort" binding="tns:SyncHelloWorldBinding">
<soap:address location="http://cisoidd001.corporate.ge.com:5843/orabpel/default/SyncHelloWorld/v2006_06_19__40924" />
</port>
</service>
- <plnk:partnerLinkType name="SyncHelloWorld">
- <plnk:role name="SyncHelloWorldProvider">
<plnk:portType name="tns:SyncHelloWorld" />
</plnk:role>
</plnk:partnerLinkType>
</definitions>
Also, while running the BPEL process from console, we can give the input as html or string. Can anyone give the me xml format of the input.
Any help would be highly appreciated.
Thanks,
DebojyotyYour last question shows that you might have solved this by now.
The xml document you are composing in java might not exactly be the xml input bpel excepts. The way to compare is first initiate a process by posting an html message, using the initiate tab for your process in the BPEL console. Check the box "Save as default input" before you send the html request.
Then again do an initiate from the BPEL console and select "XML Source" instead of "HTML Form". You will see the xml message you just have sent as html.
You might also want to test your java program with one of the many free soap clients available on the internet.
HTH,
Ruerd
http://www.numericalexample.com
Maybe you are looking for
-
trying to launch photoshop cs3 on a mac running OS10.6.8 i keep getting the error message: Licensing for this product has stopped working you cannot use this product at this time. You must repair the problem by uninstalling and then reinstalling thi
-
Hi, Maps in iPhoto are not displayed on my home wifi. It worked last week end on another wifi but not on mine. I reset my wifi router and it worked during 5 minutes, then iPhoto could not show me the full maps with all pictures neither the maps for t
-
How to view the size of my itunes libray
How do I view the size of my iTunes library? I would like to know how many songs, albums, gigabits, days, videos, podcasts, books and information on anything else in my library.
-
Epson SP2200 printer no longer printing with Snow Leopard 10.6.1
Quite a few users of Epson's SP2200 printer found they may have an expensive brick on their hands after upgrading to Snow Leopard 10.6.1. I was among those who thought my trusty printer was now useless, along with over $200.00 worth of ink supplies.
-
How to create a CM repository?
Would you please direct me to some blogs? Thanks!