BPEL "HelloWorld" WSDL...

Hi,
Just a couple of n00b questions. Would be extremely grateful to anyone who can assist:
1) I have created a couple of simple BPEL processes to aid the learning process. I am looking at the WSDL for a process that uses a database adapter to update a flag in a table. The WSDL (for the BPEL process) does not include services or bindings entries...why is this?
2) I am attempting to pass parameters into some generic SQL in the database adapter. I can use "#" to define a parameter, but how to I go about passing BPEL variables into these parameters?
3) I have noticed the the database adapter process is a one-way process... I would expect there to be some response from the process (to indicate success or failiure) how do I go about trapping this?
4) Generally, sync process seen simple enough... request...response. Async however seem a little more complex. In my context, I am considering BPEL integration to APEX (Application Express a mod_plsql framework), this allows for the creation of "web service references" which can handle sync processes easliy enough. Async processes on the other hand are not supported by the automated web service reference creation process. I am wondering what approaches are available for this. Is it as simple as creating a manual web service reference? or do I have to expose PL/SQL to handle the incoming response?
Message was edited by:
steve_macleod

Hi,
Just a couple of n00b questions. Would be extremely grateful to anyone who can assist:
1) I have created a couple of simple BPEL processes to aid the learning process. I am looking at the WSDL for a process that uses a database adapter to update a flag in a table. The WSDL (for the BPEL process) does not include services or bindings entries...why is this?
2) I am attempting to pass parameters into some generic SQL in the database adapter. I can use "#" to define a parameter, but how to I go about passing BPEL variables into these parameters?
3) I have noticed the the database adapter process is a one-way process... I would expect there to be some response from the process (to indicate success or failiure) how do I go about trapping this?
4) Generally, sync process seen simple enough... request...response. Async however seem a little more complex. In my context, I am considering BPEL integration to APEX (Application Express a mod_plsql framework), this allows for the creation of "web service references" which can handle sync processes easliy enough. Async processes on the other hand are not supported by the automated web service reference creation process. I am wondering what approaches are available for this. Is it as simple as creating a manual web service reference? or do I have to expose PL/SQL to handle the incoming response?
Message was edited by:
steve_macleod

Similar Messages

  • Unable to invoke BPEL HelloWorld from Oracle PL/SQL

    Hi,
    I am trying to invoke a BPEL process (HelloWorld) from Oracle PL/SQL package. I have downloaded the standard "demo_soap.sql" from oracle.com. Find below the PL/SQL block that I am using to invoke to the HelloWorld.
    DECLARE
    req Demo_Soap.request;
    resp Demo_Soap.response;
         zipcode VARCHAR2(100) := 'Suresh';
    BEGIN
    req := Demo_Soap.new_request('initiate',
    'xmlns="http://xmlns.oracle.com/HelloWorld"');
    Demo_Soap.add_parameter(req, 'HelloWorldProcessRequest', 'xsd:string', zipcode);
    resp := Demo_Soap.invoke(req,
    'http://nooslux037t.gl.2wglobal.com:7777/BPELConsole/Dev/displayProcess.jsp?processId=HelloWorld',
    'http://xmlns.oracle.com/HelloWorld');
    END;
    But, it gives the following error message.
    ORA-30625: method dispatch on NULL SELF argument is disallowed
    Please let me know the value that I need to set:
    1. Method name
    2. TargetName space
    3. URL
    4. SOAPaction.
    Please help me in finding the cause for this error and also the solution.
    Thanks

    Hi,
    Thanks for your reply.
    Is there any pre-requiste required for running the Webservice PL/SQL client?
    I tried running the BPEL process as per your input.
    DECLARE
    req demo_soap.request;
    resp demo_soap.response;
         zipcode VARCHAR2(100) := 'XYZ';
    BEGIN
    req := demo_soap.new_request('initiate', 'http://xmlns.oracle.com/HelloWorld');
    demo_soap.add_parameter(req, 'ZipCode', 'xsd:string', zipcode);
    resp := demo_soap.invoke(req, 'http://nooslux037t.gl.2wglobal.com:7777/orabpel/Dev/HelloWorld/1.0','initiate');
    END ;
    But it threw the following error:
    ORA-20000: soapenv:Server.userException - org.xml.sax.SAXException: No custom elements allowed at top level until after the <body> tag
    I have copied my HelloWorld WSDL file for your reference.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions name="HelloWorld" targetNamespace="http://xmlns.oracle.com/HelloWorld" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/HelloWorld" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" 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/HelloWorld">
    - <types>
    - <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/HelloWorld" xmlns="http://www.w3.org/2001/XMLSchema">
    - <element name="HelloWorldProcessRequest">
    - <complexType>
    - <sequence>
    <element name="input" type="string" />
    </sequence>
    </complexType>
    </element>
    - <element name="HelloWorldProcessResponse">
    - <complexType>
    - <sequence>
    <element name="result" type="string" />
    </sequence>
    </complexType>
    </element>
    </schema>
    - <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.xmlsoap.org/ws/2003/03/addressing" schemaLocation="http://nooslux037t.gl.2wglobal.com:7777/orabpel/xmllib/ws-addressing.xsd" />
    </schema>
    </types>
    - <message name="WSAMessageIDHeader">
    <part name="MessageID" element="wsa:MessageID" />
    </message>
    - <message name="HelloWorldRequestMessage">
    <part name="payload" element="tns:HelloWorldProcessRequest" />
    </message>
    - <message name="WSARelatesToHeader">
    <part name="RelatesTo" element="wsa:RelatesTo" />
    </message>
    - <message name="HelloWorldResponseMessage">
    <part name="payload" element="tns:HelloWorldProcessResponse" />
    </message>
    - <message name="WSAReplyToHeader">
    <part name="ReplyTo" element="wsa:ReplyTo" />
    </message>
    - <portType name="HelloWorld">
    - <operation name="initiate">
    <input message="tns:HelloWorldRequestMessage" />
    </operation>
    </portType>
    - <portType name="HelloWorldCallback">
    - <operation name="onResult">
    <input message="tns:HelloWorldResponseMessage" />
    </operation>
    </portType>
    - <binding name="HelloWorldCallbackBinding" type="tns:HelloWorldCallback">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="onResult">
    <soap:operation style="document" soapAction="onResult" />
    - <input>
    <soap:header message="tns:WSARelatesToHeader" part="RelatesTo" use="literal" encodingStyle="" />
    <soap:body use="literal" />
    </input>
    </operation>
    </binding>
    - <binding name="HelloWorldBinding" type="tns:HelloWorld">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="initiate">
    <soap:operation style="document" soapAction="initiate" />
    - <input>
    <soap:header message="tns:WSAReplyToHeader" part="ReplyTo" use="literal" encodingStyle="" />
    <soap:header message="tns:WSAMessageIDHeader" part="MessageID" use="literal" encodingStyle="" />
    <soap:body use="literal" />
    </input>
    </operation>
    </binding>
    - <service name="HelloWorldCallbackService">
    - <port name="HelloWorldCallbackPort" binding="tns:HelloWorldCallbackBinding">
    <soap:address location="http://set.by.caller" />
    </port>
    </service>
    - <service name="HelloWorld">
    - <port name="HelloWorldPort" binding="tns:HelloWorldBinding">
    <soap:address location="http://nooslux037t.gl.2wglobal.com:7777/orabpel/Dev/HelloWorld/1.0" />
    </port>
    </service>
    - <plnk:partnerLinkType name="HelloWorld">
    - <plnk:role name="HelloWorldProvider">
    <plnk:portType name="tns:HelloWorld" />
    </plnk:role>
    - <plnk:role name="HelloWorldRequester">
    <plnk:portType name="tns:HelloWorldCallback" />
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    Please help me in finding the correct values for the below parameters.
    1. Operation Name
    2. SOAPAction.
    Thanks

  • How to invoke Bpel process  from java using 'bpel process WSDL'

    I want to call bpel process from java using bpel wsdl.
    could any one point me to any url/sample.
    Thanks
    Nagajyothy

    Hi Seshagiri,
    Thanks for providing links and initial steps to create web service proxy(using Jdeveloper 11g).
    I created a web service proxy.
    provided the needed inputs.
    when I ran the client app, bpel process(has a human task) got invoked but faulted with exception as below
    Operation 'initiateTask' failed with exception 'EJB Exception: : java.lang.ExceptionInInitializerError[[
         at oracle.tip.pc.services.common.ServiceFactory.getAuthorizationServiceInstance(ServiceFactory.java:147)
         at oracle.bpel.services.workflow.task.impl.TaskService.initiateTask(TaskService.java:1159)
         at oracle.bpel.services.workflow.task.impl.TaskService.initiateTask(TaskService.java:502)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    please help me in solving the above problem.
    Thanks
    Nagajyothy

  • PM's accesspoint and BPEL's WSDL question

    Hi all
    I am new to Oracle BPEL PM and JDev, and here are my questions:
    *. I have installed PM when i was connected in a local network, say my ip is 192.168.0.1. Every time i deploy a new process, it will automatically set the service's endpoint as http://192.168.0.1/blah..... After i changed my network area, every time i deploy a new service, its still at 192.168.0.1/.... so could anyone tell me how to change/set it accordingly?
    *. For JDev BPEL designer, automatic generated WSDL always include schema, how can i change this to define type schema directly in WSDL file otherwise the exposed service uses included schema which brings troubles when generating client stubs.
    *. JDev already provide asynchronism and synchronism patterns, but say syn for example, if i want to have multiple <receive> or <reply>, what can i do with the default pattern except creating a empty BPEL and add everything manually?
    Best Regard

    Hi,
    perhaps this helps for you first question:
    http://download-east.oracle.com/docs/cd/B32110_01/core.1013/b32196/host.htm#CHDGHFGE

  • BPEL consuming wsdl & perform operations in DB.

    Hi,
    Please help me out its very urgent.I have wsdl's out of which i have to consume this wsdl's and perform operations on DB and read the data and send it back to the DB
    e.g. i have two databases i have read from one DB perform operation given in the wsdl's store the info in other DB then send it back to the same DB

    Irfan,
    Sorry..I didn't realy understand your need
    You want to read from DB A and insert the data into DB B?
    Arik

  • BPEL Process Manager Generated WSDL

    We are working on an ant build framework for a Oracle SOA Suite 10.1.3.3.0 project, consisting of a main BPEL process that is synchronously calling another BPEL process via an ESB. This second process uses the same ESB to call back the original process.
    This of course leads to a circular deployment dependency, where the ESB requires both BPEL WSDLs before it can be deployed, and each BPEL process needs a WSDL for the ESB endpoint to be deployed.
    We are attempting to short circuit this dependency by deploying a web application registry for the WSDLs in question, but this presents us with a further problem. The WSDLs used to communicate with the BPEL processes and ESB are not the project WSDLs, but appear to actually be describing web service wrappers generated on the application server side. In order to use the proposed web registry, we would need to be able to predictably generate these WSDLs (or at least representative versions).
    In our example it looks like a case of generating binding and service elements and merging them with the BPEL project WSDL , but we do not feel that it is safe to assume anything about this behaviour and would prefer some kind of documentation to inform our decision.
    So, a couple of questions:
    1) Can anyone provide documentation and/or description of how the required web service endpoints are generated by the application server/BPEL process manager?
    2) Alternatively, is there a better way of avoiding or dealing with the aforementioned circular dependency?
    Thankyou

    I was wondering too what would be a could solution for the "circular dependency" situation.
    In my current project we will build some mockup-bpels(just for the interface) for the time being.

  • How to get the BPEL WSDL url?

    i'm trying to generate a Stub/Skeleton with JDev to invoke a BPEL Proccess from a Java client and i don´t know which is the BPEL Process WSDL
    Thanks
    Germán

    Here is the process to get access to the WSDL of a BPEL process.
    Step1: deploy the BPEL process to the BPEL server using either obant script from command line or build option in the BPEL console.
    Step2: go to the BPEL console (http://[your_hostname]:9700 and login.
    Step3: in the dashboard page, you should see your BPEL process in the list of processes. Click on it.
    Step4: click on the WSDL sub tab and you will see the link to the WSDL of that BPEL process. You should be able at that point to consume that WSDL in your favorite web services toolkit and invoke it.
    Important Note: If you want to have a simple Java API on the generated Java stub, you should create BPEL processes that have a wrapped message style, otherwise the signature of the Java stub is Element and you have to build the element on our own.
    I hope this helps. We will have more examples on how to invoke a BPEL process from the JDev on the OTN website shortly.
    Edwin

  • How to create RPC encoded wsdl for the bpel project created in jdeveloper?

    Hi,
    I have to create a bpel project in jdeveloper with the wsdl of the project in rpc encoded format. By default when we create a bpel project in jdeveloper it creates a wsdl file of document literal format, but i need the wsdl to be rpc encoded format. Please let me know how can i achieve this.
    Thanks.

    Hi Nico,
    Thanks for your reply.
    You mentioned to specify type in place of element, from where do you get this type and what more changes we need to do for the entire project to compile well with out errors.
    As suggested by you, I changed the element to type and tried to compile, it is giving the below error.
    Error:
    [Error ORABPEL-10902]: compilation failed
    [Description]: in "bpel.xml", XML parsing failed because "undefined part type.
    In WSDL at "file:/D:/indu/jdevstudio10134/jdev/mywork/TimerApplication/SelectDB/bpel/SelectDB.wsdl", message part type "SelectDBProcessRequestType" is not defined in any of the schemas.
    Please make sure the spelling of the type QName is correct and the WSDL import is complete.
    [Potential fix]: n/a.
    Please let me know what are all the changes that need to be done to complie the project successfully.
    Thanks and Regards.

  • Copying Variables in BPEL using XPath Query

    Hi,
    I am new to BPEL and i want to know if it is possible to copy data from one variable to another using XPath Query in the <from> <to> tags, when the two variables are of different message types.
    I am trying to create a sample BPEL that would receive a String through the receive tag tied to one partner link (WSDl) and then invoke a different webservice using the <invoke> tag tied to another partner link (WSDL) by passing the received variable.
    I have pasted the BPEL File and the two WSDl files involved.
    My Issue is that when I send a soap request to the BPEL, it is passed as null to the webservice invoked.
    Probably because the copy tags don't work.
    Please help.
    BPEL File
    <!--
    ~ Licensed to the Apache Software Foundation (ASF) under one
    ~ or more contributor license agreements. See the NOTICE file
    ~ distributed with this work for additional information
    ~ regarding copyright ownership. The ASF licenses this file
    ~ to you under the Apache License, Version 2.0 (the
    ~ "License"); you may not use this file except in compliance
    ~ with the License. You may obtain a copy of the License at
    ~
    ~ http://www.apache.org/licenses/LICENSE-2.0
    ~
    ~ Unless required by applicable law or agreed to in writing,
    ~ software distributed under the License is distributed on an
    ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    ~ KIND, either express or implied. See the License for the
    ~ specific language governing permissions and limitations
    ~ under the License.
    -->
    <process name="HelloWorld2"
    targetNamespace="http://ode/bpel/unit-test"
    xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
    xmlns:tns="http://ode/bpel/unit-test"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:test="http://ode/bpel/unit-test.wsdl"
    xmlns:ns0="http://poc.com"
    queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
    expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
    <import location="HelloWorld2.wsdl"
    namespace="http://ode/bpel/unit-test.wsdl"
    importType="http://schemas.xmlsoap.org/wsdl/" />
    <import location="sayHello.wsdl"
    namespace="http://poc.com"
    importType="http://schemas.xmlsoap.org/wsdl/" />
    <partnerLinks>
    <partnerLink name="helloPartnerLink"
    partnerLinkType="test:HelloPartnerLinkType"
    myRole="me" />
    <partnerLink name="sayHelloBPELPL"
    partnerLinkType="ns0:sayHelloPLT"
    partnerRole="you" initializePartnerRole="yes" />
    </partnerLinks>
    <variables>
    <variable name="myVar" messageType="test:HelloMessage"/>
    <variable name="tmpVar" messageType="test:HelloMessage"/>
    <variable name="inVar" messageType="ns0:sayHelloRequest"/>
    <variable name="outVar" messageType="ns0:sayHelloResponse"/>
    </variables>
    <sequence>
    <receive
    name="start"
    partnerLink="helloPartnerLink"
    portType="test:HelloPortType"
    operation="hello"
    variable="myVar"
    createInstance="yes"/>
    <assign name="ass1">
    <copy>
    <from variable = "myVar" part = "TestPart"/>
    <to variable = "inVar"
    part = "parameters"
    query= "/sayHello/ns0:param0" />
    </copy>
    </assign>
    <invoke partnerLink = "sayHelloBPELPL"
    portType = "ns0:sayHelloPortType"
    inputVariable = "inVar"
    operation = "sayHello"
    outputVariable = "outVar">
    </invoke>
    <assign name="ass2">
    <copy>
    <from variable = "outVar"
    part = "parameters"
    query= "/sayHelloResponse/ns0:return" />
    <to variable = "tmpVar" part="TestPart"/>
    </copy>
    </assign>
    <reply name="end"
    partnerLink="helloPartnerLink"
    portType="test:HelloPortType"
    operation="hello"
    variable="tmpVar"/>
    </sequence>
    </process>
    WSDL File1
    <?xml version="1.0" encoding="utf-8" ?>
    <!--
    ~ Licensed to the Apache Software Foundation (ASF) under one
    ~ or more contributor license agreements. See the NOTICE file
    ~ distributed with this work for additional information
    ~ regarding copyright ownership. The ASF licenses this file
    ~ to you under the Apache License, Version 2.0 (the
    ~ "License"); you may not use this file except in compliance
    ~ with the License. You may obtain a copy of the License at
    ~
    ~ http://www.apache.org/licenses/LICENSE-2.0
    ~
    ~ Unless required by applicable law or agreed to in writing,
    ~ software distributed under the License is distributed on an
    ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    ~ KIND, either express or implied. See the License for the
    ~ specific language governing permissions and limitations
    ~ under the License.
    -->
    <wsdl:definitions
    targetNamespace="http://ode/bpel/unit-test.wsdl"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://ode/bpel/unit-test.wsdl"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
    xmlns:ns0="http://poc.com">
    <wsdl:message name="HelloMessage">
    <wsdl:part name="TestPart" type="xsd:string"/>
    </wsdl:message>
    <wsdl:portType name="HelloPortType">
    <wsdl:operation name="hello">
    <wsdl:input message="tns:HelloMessage" name="TestIn"/>
    <wsdl:output message="tns:HelloMessage" name="TestOut"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="HelloSoapBinding" type="tns:HelloPortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="hello">
    <soap:operation soapAction="" style="rpc"/>
    <wsdl:input>
    <soap:body
    namespace="http://ode/bpel/unit-test.wsdl"
    use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body
    namespace="http://ode/bpel/unit-test.wsdl"
    use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="HelloService">
    <wsdl:port name="HelloPort" binding="tns:HelloSoapBinding">
    <soap:address location="http://localhost:8082/ode/processes/helloWorld"/>
    </wsdl:port>
    </wsdl:service>
    <plnk:partnerLinkType name="HelloPartnerLinkType">
    <plnk:role name="me" portType="tns:HelloPortType"/>
    <plnk:role name="you" portType="tns:HelloPortType"/>
    </plnk:partnerLinkType>
    </wsdl:definitions>
    WSDL File 2
    <?xml version="1.0" encoding="UTF-8" ?>
    <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:ns0="http://poc.com"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:ns1="http://org.apache.axis2/xsd"
    xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
    targetNamespace="http://poc.com">
    <wsdl:types>
    <xs:schema xmlns:ns="http://poc.com" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://poc.com">
    <xs:element name="sayHello">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" name="param0" nillable="true" type="xs:string" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="sayHelloResponse">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" name="return" nillable="true" type="xs:string" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    </wsdl:types>
    <wsdl:message name="sayHelloRequest">
    <wsdl:part name="parameters" element="ns0:sayHello" />
    </wsdl:message>
    <wsdl:message name="sayHelloResponse">
    <wsdl:part name="parameters" element="ns0:sayHelloResponse" />
    </wsdl:message>
    <wsdl:portType name="sayHelloPortType">
    <wsdl:operation name="sayHello">
    <wsdl:input message="ns0:sayHelloRequest" wsaw:Action="urn:sayHello" />
    <wsdl:output message="ns0:sayHelloResponse" wsaw:Action="urn:sayHelloResponse" />
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="sayHelloSOAP11Binding" type="ns0:sayHelloPortType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="sayHello">
    <soap:operation soapAction="urn:sayHello" style="document"/>
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="sayHello">
    <wsdl:port name="sayHelloPort" binding="ns0:sayHelloSOAP11Binding">
    <soap:address location="http://localhost:8082/ode/processes/sayHello" />
    </wsdl:port>
    </wsdl:service>
    <plnk:partnerLinkType name="sayHelloPLT">
    <plnk:role name="me" portType="ns0:sayHelloPortType"/>
    <plnk:role name="you" portType="ns0:sayHelloPortType"/>
    </plnk:partnerLinkType>
    </wsdl:definitions>

    Hi,
    Yes, it very much is possible.
    Xpath query provides a lot many data type conversion functions(string to int, string to date etc), which can be used in copying variables.
    thanks
    Saurabh

  • Proxy Generation Problem with Separate WSDL

    Hi,
    I'm trying to create Proxy with seperate WSDL, then i'm getting error. It is a simple Hello world BPEL and OSB.
    Here is my WSDL
    <?xml version="1.0" encoding="UTF-8" ?>
    <definitions targetNamespace="http://www.uk.gov.hmrc.chiefste.org/hello"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://www.uk.gov.hmrc.chiefste.org/hello"
    xmlns:imp1="http://xmlns.oracle.com/HelloWorld"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
    <types>
    <xsd:schema targetNamespace="http://www.uk.gov.hmrc.chiefste.org/hello/types"
    elementFormDefault="qualified">
    <xsd:import schemaLocation="Hello.xsd"
    namespace="http://xmlns.oracle.com/HelloWorld" id="hello.xsd"/>
    </xsd:schema>
    </types>
    <message name="helloRequest">
    <part name="inputParam" element="imp1:process"/>
    </message>
    <message name="helloResponse">
    <part name="outputParam" element="imp1:processResponse"/>
    </message>
    <portType name="HelloService">
    <operation name="sayHello">
    <input message="tns:helloRequest"/>
    <output message="tns:helloResponse"/>
    </operation>
    </portType>
    <binding name="HelloServicePortBinding"
    type="tns:HelloService">
    <soap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="sayHello">
    <soap:operation style="document"
    soapAction="http://www.uk.gov.hmrc.chiefste.org/common/sayHello"/>
    <input>
    <soap:body use="literal" parts="inputParam"/>
    </input>
    <output>
    <soap:body use="literal" parts="outputParam"/>
    </output>
    </operation>
    </binding>
    <service name="HelloService">
    <port name="HelloServicePort"
    binding="tns:HelloServicePortBinding">
    <soap12:address location="temp"/>
    </port>
    </service>
    </definitions>
    And here is my xsd
    <?xml version="1.0" encoding="UTF-8"?>
    <schema attributeFormDefault="unqualified"
              elementFormDefault="qualified"
              targetNamespace="http://xmlns.oracle.com/HelloWorld"
              xmlns="http://www.w3.org/2001/XMLSchema">
         <element name="process">
              <complexType>
                   <sequence>
                        <element name="input" type="string"/>
                   </sequence>
              </complexType>
         </element>
         <element name="processResponse">
              <complexType>
                   <sequence>
                        <element name="result" type="string"/>
                   </sequence>
              </complexType>
         </element>
    </schema>
    This is the WSDL i used to create a proxy service.
    And this is the WSDL i used to generate Business Service (Which i got from my BPEL)
    <?xml version="1.0" encoding="UTF-8" ?>
    - <wsdl:definitions name="HelloWorld" targetNamespace="http://xmlns.oracle.com/CHIEF_STE_jws/TestProjectForOSB/HelloWorld" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:client="http://xmlns.oracle.com/CHIEF_STE_jws/TestProjectForOSB/HelloWorld" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    - <wsdl:documentation>
    <abstractWSDL>http://chfbpm1.acentres.capgemini.co.uk:8001/soa-infra/services/default/TestProjectForOSB!1.0/HelloWorld.wsdl</abstractWSDL>
    </wsdl:documentation>
    - <plnk:partnerLinkType name="HelloWorld">
    - <plnk:role name="HelloWorldProvider">
    <plnk:portType name="client:HelloWorld" />
    </plnk:role>
    </plnk:partnerLinkType>
    - <wsdl:types>
    - <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://xmlns.oracle.com/CHIEF_STE_jws/TestProjectForOSB/HelloWorld" schemaLocation="http://chfbpm1.acentres.capgemini.co.uk:8001/soa-infra/services/default/TestProjectForOSB/helloworld_client_ep?XSD=xsd/HelloWorld.xsd" />
    </schema>
    </wsdl:types>
    - <wsdl:message name="HelloWorldRequestMessage">
    <wsdl:part name="payload" element="client:process" />
    </wsdl:message>
    - <wsdl:message name="HelloWorldResponseMessage">
    <wsdl:part name="payload" element="client:processResponse" />
    </wsdl:message>
    - <wsdl:portType name="HelloWorld">
    - <wsdl:operation name="process">
    <wsdl:input message="client:HelloWorldRequestMessage" />
    <wsdl:output message="client:HelloWorldResponseMessage" />
    </wsdl:operation>
    </wsdl:portType>
    - <wsdl:binding name="HelloWorldBinding" type="client:HelloWorld">
    <soap:binding xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="process">
    <soap:operation xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" style="document" soapAction="process" />
    - <wsdl:input>
    <soap:body xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal" namespace="http://xmlns.oracle.com/CHIEF_STE_jws/TestProjectForOSB/HelloWorld" />
    </wsdl:input>
    - <wsdl:output>
    <soap:body xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal" namespace="http://xmlns.oracle.com/CHIEF_STE_jws/TestProjectForOSB/HelloWorld" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    - <wsdl:service name="helloworld_client_ep">
    - <wsdl:port name="HelloWorld_pt" binding="client:HelloWorldBinding">
    <soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="http://chfbpm1.acentres.capgemini.co.uk:8001/soa-infra/services/default/TestProjectForOSB/helloworld_client_ep" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Thx,
    Rahul

    Yes, U r rite. It takes input like that in SoapUI.
    And in OSB Console it takes like below:
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header>
    <hel:process xmlns:hel="*http://xmlns.oracle.com/HelloWorld*">
    <hel:input>?</hel:input>
    </hel:process>
    And this is my Input for Business Service in OSB Console:
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header>
    <hel:process xmlns:hel="*http://xmlns.oracle.com/CHIEF_STE_jws/TestProjectForOSB/HelloWorld*">
    <hel:input>?</hel:input>
    </hel:process>
    Note: And if i use the Bolded namespace of Business Service in Proxy,, it is working.
    This is my Request XQuery:
    (:: pragma bea:global-element-parameter parameter="$process1" element="ns1:process" location="../Proxy/wsdl/Hello.xsd" ::)
    (:: pragma bea:global-element-return element="ns0:process" location="../Business/wsdl/XMLSchema_1137514867.xsd" ::)
    declare namespace ns1 = "http://xmlns.oracle.com/HelloWorld";
    declare namespace ns0 = "http://xmlns.oracle.com/CHIEF_STE_jws/TestProjectForOSB/HelloWorld";
    declare namespace xf = "http://tempuri.org/Hello/xquery/dsha/";
    declare function xf:dsha($process1 as element(ns1:process))
    as element(ns0:process) {
    <ns0:process>
    <ns0:input>{ data($process1/ns1:input) }</ns0:input>
    </ns0:process>
    declare variable $process1 as element(ns1:process) external;
    xf:dsha($process1)
    Response XQuery:
    (:: pragma bea:global-element-parameter parameter="$processResponse1" element="ns0:processResponse" location="../Business/wsdl/XMLSchema_1137514867.xsd" ::)
    (:: pragma bea:global-element-return element="ns1:processResponse" location="../Proxy/wsdl/Hello.xsd" ::)
    declare namespace ns1 = "http://xmlns.oracle.com/HelloWorld";
    declare namespace ns0 = "http://xmlns.oracle.com/CHIEF_STE_jws/TestProjectForOSB/HelloWorld";
    declare namespace xf = "http://tempuri.org/Hello/xquery/resp/";
    declare function xf:resp($processResponse1 as element(ns0:processResponse))
    as element(ns1:processResponse) {
    <ns1:processResponse>
    <ns1:result>{ data($processResponse1/ns0:result) }</ns1:result>
    </ns1:processResponse>
    declare variable $processResponse1 as element(ns0:processResponse) external;
    xf:resp($processResponse1)
    Thx,
    Rahul

  • CustomizeWSDL, importing xsd in wsdl file.

    We have requirement of importing centralized XSD files in WSDL,
    1) based on best practices I believe we should do following:
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" >
    <import namespace="http://xmlns.oracle.com/HelloWorld" schemaLocation="http://localhost:7777/xsd/HelloWorld.xsd"/>
    </schema>
    </types>
    2) Now, for life cycle management I thought of writing custom Ant task, but I believe customizeWSDL should take care of it,
    I tried,
    <customizeWSDL inFile="${process.dir}/bpel/WriteToMyFile.wsdl" outFile="${process.dir}/bpel/WriteToMyFile.wsdl">
    <wsdlImport namespace="http://xmlns.oracle.com/HelloWorld" locationURI="http://${http.hostname}:${http.port}/xsd/HelloWorld.xsd" />
    </customizeWSDL>
    but it didn't work. I know it is for wsdl import, but based document it says XSD and WSDL import are both supported in customizeWSDL.
    I looked at the source code of customizeWSDL as well, it doesn't look like there is any special xsdImport child tag inside customizeWSDL.
    Can anybody please help me here??
    Thanks a lot!
    Chintan

    Hi Ninad,
    WS Policy is  Standard that is used by any intregration tools while generating the .WSDL's, If the 3 party systems cannot understand WS Policy, you can easily remove them by using tools like XML notepad, XML spy in deleting them and feed in your WSDL files to the 3rd party systems.
    Hope this clears your issue.
    Thanks,
    KishoreJ.

  • SOA Suite BPEL to OSB

    I am trying to create a simple proof of concept that calls OSB from a BPEL Process. I created a WSDL with an EchoService in OSB, I then created a partner link with the WSDL. When using the BPEL Debug Console I get an error:
    Faulted while invoking operation "echo" on provider "PartnerLink_1".
    - <messages>
    - <input>
    - <echoRequest>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="echoString">
    <echoString>
    hello
    </echoString>
    </part>
    </echoRequest>
    </input>
    - <fault>
    - <invalidVariables xmlns="http://schemas.oracle.com/bpel/extension">
    - <part name="code">
    <code>
    9710
    </code>
    </part>
    - <part name="summary">
    <summary>
    Invalid xml document.
    According to the xml schemas, the xml document is invalid. The reason is: Error::cvc-elt.1: Cannot find the declaration of element 'echoString'.
    Please make sure that the xml document is valid against your schemas.
    </summary>
    </part>
    </invalidVariables>
    </fault>
    </messages>
    =======wsdl=======
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://new.webservice.namespace" targetNamespace="http://new.webservice.namespace">
         <wsdl:types>
              <xs:schema targetNamespace="http://new.webservice.namespace" elementFormDefault="qualified"/>
         </wsdl:types>
         <wsdl:message name="EchoRequest">
              <wsdl:part name="echoString" type="xs:string"/>
         </wsdl:message>
         <wsdl:message name="EchoResponse">
              <wsdl:part name="theEcho" type="xs:string"/>
         </wsdl:message>
         <wsdl:portType name="EchoServicePortType">
              <wsdl:operation name="echo">
                   <wsdl:input message="tns:EchoRequest" name="EchoRequest"/>
                   <wsdl:output message="tns:EchoResponse" name="EchoResponse"/>
              </wsdl:operation>
         </wsdl:portType>
         <wsdl:binding name="EchoServiceHttpBinding" type="tns:EchoServicePortType">
              <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <wsdl:operation name="echo">
                   <soap:operation soapAction=""/>
                   <wsdl:input name="EchoRequest">
                        <soap:body use="literal"/>
                   </wsdl:input>
                   <wsdl:output name="EchoResponse">
                        <soap:body use="literal"/>
                   </wsdl:output>
              </wsdl:operation>
         </wsdl:binding>
         <wsdl:service name="EchoServiceImpl">
              <wsdl:port name="EchoServicePort" binding="tns:EchoServiceHttpBinding">
                   <soap:address location="http://mcarr-linux:7001//HelloWorld/WSDL/EchoProxyService"/>
              </wsdl:port>
         </wsdl:service>
    </wsdl:definitions>
    ======bpel======
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <!--
    Oracle JDeveloper BPEL Designer
    Created: Fri Oct 31 14:24:55 PDT 2008
    Author: mcarr
    Purpose: Asynchronous BPEL Process
    -->
    <process name="ProcessFileToWS"
    targetNamespace="http://xmlns.oracle.com/ProcessFileToWS"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    queryLanguage="http://www.w3.org/TR/1999/REC-xpath-19991116"
    expressionLanguage="http://www.w3.org/TR/1999/REC-xpath-19991116"
    abstractProcess="no" enableInstanceCompensation="no"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns4="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns5="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:client="http://xmlns.oracle.com/ProcessFileToWS"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:ns1="http://new.webservice.namespace"
    xmlns:ns3="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:ns2="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <partnerLinks>
    <partnerLink name="client" partnerLinkType="client:ProcessFileToWS"
    myRole="ProcessFileToWSProvider"
    partnerRole="ProcessFileToWSRequester"/>
    <partnerLink myRole="EchoServicePortType_Role" name="ProcessFileToWS"
    partnerRole="EchoServicePortType_Role"
    partnerLinkType="ns1:EchoServicePortType_PL"/>
    </partnerLinks>
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <!-- Reference to the message that will be sent back to the requester during callback -->
    <variable name="inputVariable"
    messageType="client:ProcessFileToWSRequestMessage"/>
    <variable name="outputVariable"
    messageType="client:ProcessFileToWSResponseMessage"/>
    <variable name="echoRequest" messageType="ns1:EchoRequest"/>
    <variable name="echoResponse" messageType="ns1:EchoResponse"/>
    </variables>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in ProcessFileToWS.wsdl) -->
    <receive name="receiveInput" partnerLink="client"
    portType="client:ProcessFileToWS" operation="initiate"
    variable="inputVariable" createInstance="yes"/>
    <!--
    Asynchronous callback to the requester. (Note: the callback location and correlation id is transparently handled using WS-addressing.)
    -->
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:ProcessFileToWSProcessRequest/client:input"/>
    <to variable="echoRequest" part="echoString"/>
    </copy>
    </assign>
    <invoke name="Invoke_1" portType="ns1:EchoServicePortType"
    inputVariable="echoRequest" outputVariable="echoResponse"
    partnerLink="ProcessFileToWS" operation="echo"/>
    <assign name="Assign_2">
    <copy>
    <from variable="echoResponse" part="theEcho"/>
    <to variable="outputVariable" part="payload"/>
    </copy>
    </assign>
    <invoke name="callbackClient" partnerLink="client"
    portType="client:ProcessFileToWSCallback" operation="onResult"
    inputVariable="outputVariable"/>
    </sequence>
    </process>

    Try this wsdl for your OSB service. This assumes that you are running OSB on port 7021.
    It will create a service called Echo.
    cheers
    James
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tns="http://oracle.com/Echo/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    name="Echo"
    targetNamespace="http://oracle.com/Echo/">
    <wsdl:types>
    <xsd:schema targetNamespace="http://oracle.com/Echo/">
    <xsd:element name="EchoRequest">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="echoString" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="EchoResponse">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="theEcho" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name="InitiateRequest">
    <wsdl:part element="tns:EchoRequest" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="InitiateResponse">
    <wsdl:part element="tns:EchoResponse" name="parameters"/>
    </wsdl:message>
    <wsdl:portType name="Echo">
    <wsdl:operation name="Initiate">
    <wsdl:input message="tns:InitiateRequest"/>
    <wsdl:output message="tns:InitiateResponse"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="EchoSOAP" type="tns:Echo">
    <soap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="Initiate">
    <soap:operation soapAction="http://oracle.com/Echo/Initiate"/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="Echo">
    <wsdl:port binding="tns:EchoSOAP"
    name="EchoSOAP">
    <soap:address location="http://localhost:7021/Echo"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

  • BPEL invocation securely from client using JAZN security not working.

    HI,
    We are trying to invoke the BPEL process securely from the client application using JAZN security settings, this is not working, with any credentilas or with out providing the security credentilas BPEL invocation is happening. Need the solution for this security credentials while invoking the BPEL process.
    Please provide the update at the earliest. Thanks in advance. Your quick update is greatly appreciated.

    Hi James,
    Thanks for the update.
    Please find the attached docs.
    Bpel.xml:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BPELSuitcase>
    <BPELProcess id="HelloWorld" src="HelloWorld.bpel">
    <partnerLinkBindings>
    <partnerLinkBinding name="client">
    <property name="wsdlLocation">HelloWorld.wsdl</property>
    </partnerLinkBinding>
    </partnerLinkBindings>
    <configurations>
    <property name="role">oc4j-administrators</property>
    </configurations>
    </BPELProcess>
    </BPELSuitcase>
    orion-application.xml: folder location: C:\product1\10.1.3.1\OracleAS_1\j2ee\home\applications\orabpel\META-INF\orion-application.xml
    <?xml version="1.0"?>
    <orion-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-application-10_0.xsd"
    schema-major-version="10"
    schema-minor-version="0" component-classification="internal-BPEL">
    <connectors path="./oc4j-connectors.xml"/>
         <ejb-module remote="false" path="ejb_ob_engine.jar" />
         <ejb-module remote="false" path="ejb_services.jar" />
         <web-module id="httpbinding" path="httpbinding.war" />
         <web-module id="admin_war" path="admin_war" />
         <web-module id="startup_war" path="startup_war" />
         <web-module id="console_war" path="console_war" />
         <persistence path="persistence" />
         <principals path="principals.xml" />
         <jazn provider="XML" location="../../config/system-jazn-data.xml" jaas-mode="doAsPrivileged">
         <!-- <jazn-web-app auth-method="CUSTOM_AUTH"/> -->
    </jazn>
    <imported-shared-libraries>
         <inherited-shared-libraries/>
         <import-shared-library name="oracle.bpel.common" parent="api" />
         <import-shared-library name="oracle.ws.client" parent="oracle.ws.jaxrpc" version="10.1.3" />
         <import-shared-library name="oracle.ws.jaxrpc" />
         <import-shared-library name="oracle.toplink" />
         <import-shared-library name="oracle.ws.testpage" />
         </imported-shared-libraries>
         <log>
              <file path="application.log" />
         </log>
         <namespace-access>
              <read-access>
                   <namespace-resource root="">
                        <security-role-mapping name="oc4j-administrators">
                             <group name="oc4j-administrators" />
                        </security-role-mapping>
                   </namespace-resource>
              </read-access>
              <write-access>
                   <namespace-resource root="">
                        <security-role-mapping name="oc4j-administrators">
                             <group name="oc4j-administrators" />
                        </security-role-mapping>
                   </namespace-resource>
              </write-access>
         </namespace-access>
         <security-role-mapping name="PUBLIC">
              <group name="{{PUBLIC}}" />
         </security-role-mapping>
    </orion-application>
    web.xml file: C:\product1\10.1.3.1\OracleAS_1\j2ee\home\applications\orabpel\startup\WEB-INF\web.xml
    <?xml version="1.0" ?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app id="StartupWebApp_Id">
    <!--servlet id="BPEL_Axis_Servlet_Id">
    <servlet-name>BPEL_Axis_Servlet</servlet-name>
    <display-name>BPEL Axis Servlet</display-name>
    <servlet-class>com.collaxa.cube.ws.soap.axis.BPELAxisServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet-->
    <servlet id="BPEL_OC4J_Servlet_Id">
    <servlet-name>BPEL_OC4J_Servlet</servlet-name>
    <display-name>BPEL OC4J JAX/RPC Servlet</display-name>
    <description>BPEL endpoint Provider Port via oc4j jax/rpc</description>
    <servlet-class>com.collaxa.cube.ws.soap.oc4j.BPELOC4JServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet id="LoaderServlet_Id">
    <servlet-name>cxloader</servlet-name>
    <servlet-class>com.collaxa.cube.admin.CXLoaderServlet</servlet-class>
    <load-on-startup>3</load-on-startup>
    </servlet>
         <!--servlet-mapping id="BPEL_Axis_Servlet_Mapping_id">
    <servlet-name>BPEL_Axis_Servlet</servlet-name>
    <url-pattern>/*</url-pattern>
    </servlet-mapping-->
    <servlet-mapping id="BPEL_OC4J_Servlet_Mapping_Id">
    <servlet-name>BPEL_OC4J_Servlet</servlet-name>
    <url-pattern>/*</url-pattern>
    </servlet-mapping>
    <security-constraint>
         <web-resource-collection>
              <web-resource-name>Default Domain Pages</web-resource-name>
              <description>These pages are only accessible by authenticated users.</description>
              <url-pattern>*orabpel/default/HelloWorld/v2010_05_02__62961</url-pattern>
         </web-resource-collection>
         <auth-constraint>
         <role-name>oc4j-administrators</role-name>
         </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>jazn.com</realm-name>
    </login-config>
    <security-role>
    <description>BPEL Admins</description>
    <role-name>oc4j-administrators</role-name>
    </security-role>
    <distributable/>
    <resource-ref id="ResRef_BPELContainerDataSource_Id">
    <res-ref-name>jdbc/BPELServerDataSource</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    <!--ejb-local-ref id="EjbRef_AdaptorManager_Id">
    <ejb-ref-name>ejb/local/AdaptorManagerLocalBean</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local-home>com.collaxa.cube.engine.ejb.interfaces.IAdaptorManagerLocalBeanHome</local-home>
    <local>com.collaxa.cube.engine.ejb.interfaces.IAdaptorManagerLocalBean</local>
    <ejb-link>AdaptorManagerBean</ejb-link>
    </ejb-local-ref>
    -->
    <ejb-ref id="EjbRef_CubeFinder_Id">
    <ejb-ref-name>ejb/collaxa/system/CubeFinderBean</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.collaxa.cube.engine.ejb.interfaces.ICubeFinderBeanHome</home>
    <remote>com.collaxa.cube.engine.ejb.interfaces.ICubeFinderBean</remote>
    </ejb-ref>
    <ejb-ref id="EjbRef_Dispatcher_Id">
    <ejb-ref-name>ejb/collaxa/system/DispatcherBean</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.collaxa.cube.engine.ejb.interfaces.IDispatcherBeanHome</home>
    <remote>com.collaxa.cube.engine.ejb.interfaces.IDispatcherBean</remote>
    </ejb-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/local/CubeEngineLocalBean</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local-home>com.collaxa.cube.engine.ejb.interfaces.ICubeEngineLocalBeanHome</local-home>
    <local>com.collaxa.cube.engine.ejb.interfaces.ICubeEngineLocalBean</local>
    <ejb-link>CubeEngineBean</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/local/ProcessManagerLocalBean</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local-home>com.oracle.bpel.client.ejb.interfaces.IBPELProcessManagerLocalBeanHome</local-home>
    <local>com.oracle.bpel.client.ejb.interfaces.IBPELProcessManagerLocalBean</local>
    <ejb-link>ProcessManagerBean</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/local/CubeDeliveryLocalBean</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local-home>com.collaxa.cube.engine.ejb.interfaces.ICubeDeliveryLocalBeanHome</local-home>
    <local>com.collaxa.cube.engine.ejb.interfaces.ICubeDeliveryLocalBean</local>
    <ejb-link>CubeDeliveryBean</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/local/KeyGeneratorLocalBean</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local-home>com.collaxa.cube.engine.ejb.interfaces.IKeyGeneratorLocalBeanHome</local-home>
    <local>com.collaxa.cube.engine.ejb.interfaces.IKeyGeneratorLocalBean</local>
    <ejb-link>KeyGeneratorBean</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/local/MessageLocalBean</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local-home>com.collaxa.cube.engine.ejb.interfaces.IMessageLocalBeanHome</local-home>
    <local>com.collaxa.cube.engine.ejb.interfaces.IMessageLocalBean</local>
    <ejb-link>MessageBean</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/local/ServerLocalBean</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
         <local-home>com.oracle.bpel.client.ejb.interfaces.IServerLocalBeanHome</local-home>
    <local>com.oracle.bpel.client.ejb.interfaces.IServerLocalBean</local>
    <ejb-link>ServerBean</ejb-link>
    </ejb-local-ref>
    </web-app>
    jazn.xml : C:\product1\10.1.3.1\OracleAS_1\j2ee\home\config
    <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
    <jazn xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/jazn-10_0.xsd" schema-major-version="10" schema-minor-version="0" provider="XML" location="./system-jazn-data.xml" default-realm="jazn.com" persistence="ALL">
         <property name="custom.sso.url.login" value="/jsso/SSOLogin"/>
         <property name="custom.sso.key.alias" value="{AES-128}dpvTz49oIQWnM1gZfdpZ1w=="/>
         <property name="idm.token.asserter.class" value="oracle.security.jazn.sso.SSOCookieTokenAsserter"/>
         <property name="idm.token.collector.class" value="oracle.security.jazn.sso.SSOCookieTokenCollector"/>
         <property name="idm.token.type" value="HTTP_COOKIE"/>
         <property name="idm.token.collector.cookie.1" value="ORA_OC4J_SSO"/>
         <property name="custom.sso.url.logout" value="/jsso/SSOLogout"/>
         <property name="idm.authentication.name" value="JavaSSO"/>
    </jazn>
    system-jazn-data.xml
    <?xml version="1.0" encoding="UTF-8" standalone='yes'?>
    <jazn-data
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/jazn-data-10_0.xsd"
    schema-major-version="10"
    schema-minor-version="0"
    >
    <!-- JAZN Realm Data -->
    <jazn-realm>
         <realm>
              <name>jazn.com</name>
              <users>
                   <user>
                        <name>Bharani</name>
                        <guid>99116C7155E211DFBFB59D7811B59628</guid>
                        <credentials>{903}26NFSvxAeBAo3nBkbvJ/e2BCD+actZzi</credentials>
                   </user>
              </users>
                   <role>
                        <name>oc4j-administrators</name>
                        <display-name>OC4J Admin Role</display-name>
                        <description>Administrative role for OC4J</description>
                        <guid>8A00C8701A0511DFBF99734349FF0592</guid>
                        <members>
                             <member>
                                  <type>user</type>
                                  <name>oc4jadmin</name>
                             </member>
                        </members>
                   </role>
              </roles>
         </realm>
    </jazn-realm>
    <!-- JACC Repository Data -->
    <jacc-repository>
    </jacc-repository>
    <jazn-policy>
         <grant>
              <grantee>
                   <principals>
                        <principal>
                             <realm-name>jazn.com</realm-name>
                             <type>role</type>
                             <class>oracle.security.jazn.spi.xml.XMLRealmRole</class>
                             <name>jazn.com/oc4j-administrators</name>
                        </principal>
                   </principals>
              </grantee>
              <permissions>
                   <permission>
                        <class>oracle.security.jazn.policy.AdminPermission</class>
                        <name>oracle.security.jazn.realm.RealmPermission$jazn.com$createrole</name>
                   </permission>
                   <permission>
                        <class>oracle.security.jazn.policy.AdminPermission</class>
                        <name>oracle.security.jazn.realm.RealmPermission$jazn.com$modifyrealmmetadata</name>
                   </permission>
                   <permission>
                        <class>oracle.security.jazn.policy.AdminPermission</class>
                        <name>oracle.security.jazn.policy.RoleAdminPermission$jazn.com/*$</name>
                   </permission>
                   <permission>
                        <class>oracle.security.jazn.policy.AdminPermission</class>
                        <name>oracle.security.jazn.realm.RealmPermission$jazn.com$createrealm</name>
                   </permission>
                   <permission>
                        <class>oracle.security.jazn.policy.AdminPermission</class>
                        <name>oracle.security.jazn.realm.RealmPermission$jazn.com$droprealm</name>
                   </permission>
                   <permission>
                        <class>oracle.security.jazn.policy.AdminPermission</class>
                        <name>oracle.security.jazn.realm.RealmPermission$jazn.com$droprole</name>
                   </permission>
                   <permission>
                        <class>oracle.security.jazn.policy.RoleAdminPermission</class>
                        <name>jazn.com/*</name>
                   </permission>
                   <permission>
                        <class>com.evermind.server.AdministrationPermission</class>
                        <name>administration</name>
                        <actions>administration</actions>
                   </permission>
                   <permission>
                        <class>oracle.security.jazn.realm.RealmPermission</class>
                        <name>jazn.com</name>
                        <actions>modifyrealmmetadata</actions>
                   </permission>
                   <permission>
                        <class>oracle.security.jazn.realm.RealmPermission</class>
                        <name>jazn.com</name>
                        <actions>createrealm</actions>
                   </permission>
                   <permission>
                        <class>oracle.security.jazn.realm.RealmPermission</class>
                        <name>jazn.com</name>
                        <actions>dropuser</actions>
                   </permission>
                   <permission>
                        <class>oracle.security.jazn.realm.RealmPermission</class>
                        <name>jazn.com</name>
                        <actions>droprealm</actions>
                   </permission>
                   <permission>
                        <class>com.evermind.server.rmi.RMIPermission</class>
                        <name>login</name>
                   </permission>
                   <permission>
                        <class>com.evermind.server.rmi.RMIPermission</class>
                        <name>subject.propagation</name>
                   </permission>
              </permissions>
         </grant>
         <grant>
              <grantee>
                   <principals>
                        <principal>
                             <realm-name>jazn.com</realm-name>
                             <type>role</type>
                             <class>oracle.security.jazn.spi.xml.XMLRealmRole</class>
                             <name>jazn.com/ascontrol_admin</name>
                        </principal>
                   </principals>
              </grantee>
              <permissions>
                   <permission>
                        <class>oracle.security.jazn.policy.AdminPermission</class>
                        <name>oracle.security.jazn.realm.RealmPermission$jazn.com$createrole</name>
                   </permission>
                   <permission>
                        <class>oracle.security.jazn.policy.AdminPermission</class>
                        <name>oracle.security.jazn.realm.RealmPermission$jazn.com$modifyrealmmetadata</name>
                   </permission>
                   <permission>
                        <class>oracle.security.jazn.policy.AdminPermission</class>
                        <name>oracle.security.jazn.policy.RoleAdminPermission$jazn.com/*$</name>
                   </permission>
                   <permission>
                        <class>oracle.security.jazn.policy.AdminPermission</class>
                        <name>oracle.security.jazn.realm.RealmPermission$jazn.com$createrealm</name>
                   </permission>
                   <permission>
                        <class>oracle.security.jazn.policy.AdminPermission</class>
                        <name>oracle.security.jazn.realm.RealmPermission$jazn.com$droprealm</name>
                   </permission>
                   <permission>
                        <class>oracle.security.jazn.policy.AdminPermission</class>
                        <name>oracle.security.jazn.realm.RealmPermission$jazn.com$droprole</name>
                   </permission>
                   <permission>
                        <class>oracle.security.jazn.policy.RoleAdminPermission</class>
                        <name>jazn.com/*</name>
                   </permission>
                   <permission>
                        <class>com.evermind.server.AdministrationPermission</class>
                        <name>administration</name>
                        <actions>administration</actions>
                   </permission>
                   <permission>
                        <class>oracle.security.jazn.realm.RealmPermission</class>
                        <name>jazn.com</name>
                        <actions>modifyrealmmetadata</actions>
                   </permission>
                   <permission>
                        <class>oracle.security.jazn.realm.RealmPermission</class>
                        <name>jazn.com</name>
                        <actions>createrealm</actions>
                   </permission>
                   <permission>
                        <class>oracle.security.jazn.realm.RealmPermission</class>
                        <name>jazn.com</name>
                        <actions>dropuser</actions>
                   </permission>
                   <permission>
                        <class>oracle.security.jazn.realm.RealmPermission</class>
                        <name>jazn.com</name>
                        <actions>droprealm</actions>
                   </permission>
                   <permission>
                        <class>com.evermind.server.rmi.RMIPermission</class>
                        <name>login</name>
                   </permission>
                   <permission>
                        <class>com.evermind.server.rmi.RMIPermission</class>
                        <name>subject.propagation</name>
                   </permission>
              </permissions>
         </grant>
         <grant>
              <grantee>
                   <principals>
                        <principal>
                             <realm-name>jazn.com</realm-name>
                             <type>role</type>
                             <class>oracle.security.jazn.spi.xml.XMLRealmRole</class>
                             <name>jazn.com/oc4j-app-administrators</name>
                        </principal>
                   </principals>
              </grantee>
              <permissions>
                   <permission>
                        <class>com.evermind.server.rmi.RMIPermission</class>
                        <name>login</name>
                   </permission>
              </permissions>
         </grant>
         <grant>
              <grantee>
                   <principals>
                        <principal>
                             <realm-name>jazn.com</realm-name>
                             <type>role</type>
                             <class>oracle.security.jazn.spi.xml.XMLRealmRole</class>
                             <name>jazn.com/users</name>
                        </principal>
                   </principals>
              </grantee>
              <permissions>
                   <permission>
                        <class>com.evermind.server.rmi.RMIPermission</class>
                        <name>login</name>
                   </permission>
              </permissions>
         </grant>
         <grant>
              <grantee>
                   <principals>
                        <principal>
                             <realm-name>jazn.com</realm-name>
                             <type>user</type>
                             <class>oracle.security.jazn.spi.xml.XMLRealmUser</class>
                             <name>jazn.com/anonymous</name>
                        </principal>
                   </principals>
              </grantee>
              <permissions>
                   <permission>
                        <class>com.evermind.server.rmi.RMIPermission</class>
                        <name>login</name>
                   </permission>
              </permissions>
         </grant>
         <grant>
              <grantee>
                   <principals>
                        <principal>
                             <realm-name>jazn.com</realm-name>
                             <type>role</type>
                             <class>oracle.security.jazn.spi.xml.XMLRealmRole</class>
                             <name>jazn.com/BPMSystemAdmin</name>
                        </principal>
                   </principals>
              </grantee>
              <permissions>
                   <permission>
                        <class>com.collaxa.security.ServerPermission</class>
                        <name>server</name>
                        <actions>all</actions>
                   </permission>
              </permissions>
         </grant>
         <grant>
              <grantee>
                   <principals>
                        <principal>
                             <realm-name>jazn.com</realm-name>
                             <type>role</type>
                             <class>oracle.security.jazn.spi.xml.XMLRealmRole</class>
                             <name>jazn.com/BPMDefaultDomainAdmin</name>
                        </principal>
                   </principals>
              </grantee>
              <permissions>
                   <permission>
                        <class>com.collaxa.security.DomainPermission</class>
                        <name>default</name>
                        <actions>all</actions>
                   </permission>
              </permissions>
         </grant>
         <grant>
              <grantee>
                   <principals>
                        <principal>
                             <realm-name>jazn.com</realm-name>
                             <type>role</type>
                             <class>oracle.security.jazn.spi.xml.XMLRealmRole</class>
                             <name>bpel_users</name>
                        </principal>
                   </principals>
              </grantee>
              <permissions>
                   <permission>
                        <class>com.evermind.server.AdministrationPermission</class>
                        <name>administration</name>
                        <actions>administration</actions>
                   </permission>
                   <permission>
                        <class>com.evermind.server.rmi.RMIPermission</class>
                        <name>login</name>
                   </permission>
              </permissions>
         </grant>
         <grant>
              <grantee>
                   <principals>
                        <principal>
                             <class>sun.security.acl.PrincipalImpl</class>
                             <name>oc4j-administrators</name>
                        </principal>
                   </principals>
              </grantee>
              <permissions>
                   <permission>
                        <class>java.lang.RuntimePermission</class>
                        <name>setContextClassLoader</name>
                   </permission>
              </permissions>
         </grant>
    </jazn-policy>
    <!-- Login Module Data -->
    <jazn-loginconfig>
         <application>
              <name>oracle.security.jazn.oc4j.CertificateAuthenticator</name>
              <login-modules>
                   <login-module>
                        <class>oracle.security.jazn.login.module.X509LoginModule</class>
                        <control-flag>required</control-flag>
                        <options>
                             <option>
                                  <name>addAllRoles</name>
                                  <value>true</value>
                             </option>
                        </options>
                   </login-module>
              </login-modules>
         </application>
         <application>
              <name>oracle.security.jazn.tools.Admintool</name>
              <login-modules>
                   <login-module>
                        <class>oracle.security.jazn.login.module.RealmLoginModule</class>
                        <control-flag>required</control-flag>
                        <options>
                             <option>
                                  <name>addAllRoles</name>
                                  <value>true</value>
                             </option>
                        </options>
                   </login-module>
              </login-modules>
         </application>
         <application>
              <name>oracle.security.jazn.oc4j.WebCoreIDSSOAuthenticator</name>
              <login-modules>
                   <login-module>
                        <class>oracle.security.jazn.login.module.coreid.CoreIDLoginModule</class>
                        <control-flag>required</control-flag>
                        <options>
                             <option>
                                  <name>coreid.name.attribute</name>
                                  <value>your credential mapping variable name</value>
                             </option>
                             <option>
                                  <name>addAllRoles</name>
                                  <value>true</value>
                             </option>
                             <option>
                                  <name>coreid.resource.operation</name>
                                  <value>your oreid resource operation</value>
                             </option>
                             <option>
                                  <name>coreid.resource.type</name>
                                  <value>your coreid resource type</value>
                             </option>
                             <option>
                                  <name>coreid.name.header</name>
                                  <value>your http header name variable</value>
                             </option>
                             <option>
                                  <name>coreid.resource.name</name>
                                  <value>your coreid resource name</value>
                             </option>
                             <option>
                                  <name>coreid.password.attribute</name>
                                  <value>your password authentication variable</value>
                             </option>
                             <option>
                                  <name>coreid.password.header</name>
                                  <value>your http header password variable</value>
                             </option>
                        </options>
                   </login-module>
              </login-modules>
         </application>
         <application>
              <name>oracle.security.wss.jaas.SAMLAuthManager</name>
              <login-modules>
                   <login-module>
                        <class>oracle.security.jazn.login.module.saml.SAMLLoginModule</class>
                        <control-flag>required</control-flag>
                        <options>
                             <option>
                                  <name>issuer.name.1</name>
                                  <value>www.oracle.com</value>
                             </option>
                             <option>
                                  <name>addAllRoles</name>
                                  <value>true</value>
                             </option>
                        </options>
                   </login-module>
              </login-modules>
         </application>
         <application>
              <name>oracle.security.jazn.oc4j.DigestAuthenticator</name>
              <login-modules>
                   <login-module>
                        <class>oracle.security.jazn.login.module.digest.DigestLoginModule</class>
                        <control-flag>required</control-flag>
                        <options>
                             <option>
                                  <name>addAllRoles</name>
                                  <value>true</value>
                             </option>
                        </options>
                   </login-module>
              </login-modules>
         </application>
         <application>
              <name>oracle.security.jazn.oc4j.JAZNUserManager</name>
              <login-modules>
                   <login-module>
                        <class>oracle.security.jazn.login.module.RealmLoginModule</class>
                        <control-flag>required</control-flag>
                        <options>
                             <option>
                                  <name>addAllRoles</name>
                                  <value>true</value>
                             </option>
                        </options>
                   </login-module>
              </login-modules>
         </application>
         <application>
              <name>oracle.security.wss.jaas.JAASAuthManager</name>
              <login-modules>
                   <login-module>
                        <class>oracle.security.jazn.login.module.WSSLoginModule</class>
                        <control-flag>required</control-flag>
                        <options>
                             <option>
                                  <name>addAllRoles</name>
                                  <value>true</value>
                             </option>
                        </options>
                   </login-module>
              </login-modules>
         </application>
    </jazn-loginconfig>
    <jazn-permission-classes>
    </jazn-permission-classes>
    </jazn-data>
    It is huge to check all these files, but for reference providing all the files for checking the security details.
    Thanks for your help...

  • Error reading WSDL File in ORABPEL 10.1.3.1

    Hi all,
    I'm stuck with the following situation so any help would be highly appreciated.
    I need to use a Web Service provided by a third party. I tested this Web Service using a .NET client successfully. I'm able to create the partner link and see all the available methods on the Web Service but when I'm trying to compile the BPEL project I'm getting this:
    | Compiling bpel process PruebaArregloFinacle, revision 1.0
    [bpelc] home directory is: C:\BPEL R3\Jdeveloper\/integration/bpel
    [bpelc] loading WSDLs ...
    [bpelc] reading partner client's WSDL at C:\OraBPELPM_2\integration\jdev\jdev\mywork\BPEL_PRUEBAS_BPELR3\PruebaArregloFinacle\bpel\PruebaArregloFinacle.wsdl
    [bpelc] done reading wsdl for partner: client
    [bpelc] reading partner WSFinacle's WSDL at C:\OraBPELPM_2\integration\jdev\jdev\mywork\BPEL_PRUEBAS_BPELR3\PruebaArregloFinacle\bpel\WSFinacle.wsdl
    [bpelc] done reading wsdl for partner: WSFinacle
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C:/OraBPELPM_2/integration/jdev/jdev/mywork/BPEL_PRUEBAS_BPELR3/PruebaArregloFinacle/bpel/WSFinacle.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def http://10.1.2.12:8282/ci/services/Account?WSDL
    [bpelc] BPELValidator
    [bpelc] ORABPEL-09701
    [bpelc]
    [bpelc] Error al cargar esquemas de wsdl.
    [bpelc] Error al cargar esquemas desde el archivo wsdl en la ubicación "http://10.1.2.12:8282/ci/services/Account?WSDL". El motivo es .
    [bpelc] Verifique los esquemas definidos en wsdl.
    [bpelc]
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.loadEmbeddedSchemas(WSDLSchemaManager.java:720)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.loadSchemasFromWSDL(WSDLSchemaManager.java:610)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.loadImportedSchemasPerNS(WSDLSchemaManager.java:813)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.loadImportedSchemasPerWSDL(WSDLSchemaManager.java:767)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.loadSchemasFromWSDL(WSDLSchemaManager.java:606)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.loadAllSchemas(WSDLSchemaManager.java:313)
    [bpelc]      at com.collaxa.cube.lang.compiler.BPELProcessModel.loadWSDLs(BPELProcessModel.java:208)
    [bpelc]      at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validateClientSide(BPELValidator.java:67)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.validateClientSide(CubeProcessor.java:1130)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:449)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:83)
    [bpelc]      at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:626)
    [bpelc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [bpelc]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [bpelc]      at org.apache.tools.ant.Target.execute(Target.java:341)
    [bpelc]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [bpelc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [bpelc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [bpelc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [bpelc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [bpelc]      at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [bpelc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [bpelc]      at java.lang.reflect.Method.invoke(Method.java:585)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    [bpelc] Caused by: java.lang.IllegalArgumentException
    [bpelc]      at java.net.URI.create(URI.java:842)
    [bpelc]      at java.net.URI.resolve(URI.java:1028)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.processSchemaImportsAndInclude(WSDLSchemaManager.java:1905)
    [bpelc]      at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.loadEmbeddedSchemas(WSDLSchemaManager.java:716)
    [bpelc]      ... 27 more
    [bpelc] Caused by: java.net.URISyntaxException: Illegal character in opaque part at index 17: jar:file:/C:/BPEL R3/Jdeveloper/integration/lib/orabpel.jar!/com/collaxa/cube/xml/xsd/xerces/resources/soap_encoding_1.1.xsd
    [bpelc]      at java.net.URI$Parser.fail(URI.java:2809)
    [bpelc]      at java.net.URI$Parser.checkChars(URI.java:2982)
    [bpelc]      at java.net.URI$Parser.parse(URI.java:3019)
    [bpelc]      at java.net.URI.<init>(URI.java:578)
    [bpelc]      at java.net.URI.create(URI.java:840)
    [bpelc]      ... 30 more
    [bpelc] ORABPEL-01021
    [bpelc]
    [bpelc] Fallo en la validación de BPEL.
    [bpelc] Fallo en la validación de origen de BPEL, los errores son:
    [bpelc]
    [bpelc] [Error de ORABPEL-10903]: fallo al leer wsdl
    [bpelc] [Descripción]: en "bpel.xml", Error al cargar esquemas de wsdl.
    [bpelc] Error al cargar esquemas desde el archivo wsdl en la ubicación "http://10.1.2.12:8282/ci/services/Account?WSDL". El motivo es .
    [bpelc] Verifique los esquemas definidos en wsdl.
    [bpelc] .
    [bpelc] [Posible corrección]: Si su dirección tiene un servidor proxy, tal vez tenga que configurar el servidor BPEL, el diseñador y el explorador con los valores de configuración del servidor proxy (consulte la nota técnica en http://otn.oracle.com/bpel para obtener instrucciones).
    [bpelc] .
    [bpelc]
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.validateClientSide(CubeProcessor.java:1133)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:449)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:83)
    [bpelc]      at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:626)
    [bpelc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [bpelc]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [bpelc]      at org.apache.tools.ant.Target.execute(Target.java:341)
    [bpelc]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [bpelc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [bpelc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [bpelc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [bpelc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [bpelc]      at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [bpelc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [bpelc]      at java.lang.reflect.Method.invoke(Method.java:585)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    [bpelc] Fallo en la validación de BPEL.
    [bpelc] Fallo en la validación de origen de BPEL, los errores son:
    [bpelc]
    [bpelc] [Error de ORABPEL-10903]: fallo al leer wsdl
    [bpelc] [Descripción]: en "bpel.xml", Error al cargar esquemas de wsdl.
    [bpelc] Error al cargar esquemas desde el archivo wsdl en la ubicación "http://10.1.2.12:8282/ci/services/Account?WSDL". El motivo es .
    [bpelc] Verifique los esquemas definidos en wsdl.
    [bpelc] .
    [bpelc] [Posible corrección]: Si su dirección tiene un servidor proxy, tal vez tenga que configurar el servidor BPEL, el diseñador y el explorador con los valores de configuración del servidor proxy (consulte la nota técnica en http://otn.oracle.com/bpel para obtener instrucciones).
    [bpelc] .
    [bpelc]
    I'm a little bit lost into this situation. Also I cannot identified which is the main issue here.
    If somebody can give me some advice/orientation about this I would be very thankful.
    Thanks a lot.
    Jose

    If you're using OC4J standalone, use the latest available OC4J, 10.1.3.3.
    If you're using a manage OC4J, ie. Application Server, upgrade to the latest available version and upgrade your JDK. The provided JDK might be outdated.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • BPEL Scheduling in SOA Suite 11g

    Hi,
    I am new to Oracle SOA. I have come across of multiple ways of scheduling in BPEL (Using Servelts with Quartz, DBMS_JOB, Enterprise Scheduler, Wiat activity etc). Can any one suggest best approach to handle various scenarios in scheduling. What is the industry standard way of doing it? How should a scheduler handle the any erros during the BPEL executions?
    As I know most of the cases, we are using BPEL exposed WSDL call for it's execution. But what is best practices to handle any errors during remote BPEL execution? Also can we get return paramaters to the scheduler from BPEL?
    Thanks in advance.
    Vic

    Hi-
    You can refer to the below link.
    http://darwin-it.blogspot.com/2008/01/how-to-create-bpel-job-scheduler.html
    I have not personally tried but I think it should work.
    PLease let us know how it goes.
    Thanks,
    Dibya

Maybe you are looking for