This discussion is archived
8 Replies Latest reply: Nov 21, 2012 2:53 PM by 413057 RSS

Calling Human Workflow Webservices from BPEL

Invinceable (Vince) Newbie
Currently Being Moderated
Hello,
I am using J Developer 11.1.1.6 to develop a BPEL process that calls the TaskQueryService Human Workflow webservice. When I compile the SOA project, I get the following errors:

Error: oracle.xml.parser.schema.XSDException: Can not build schema 'http://xmlns.oracle.com/bpel/workflow/common' located at 'http://xmlns.oracle.com/bpel/workflow/common.__OAUX_GENXSD_.TOP.XSD' [Cause=Can not build schema 'http://xmlns.oracle.com/bpel/workflow/common' located at 'http://xmlns.oracle.com/bpel/workflow/common.__OAUX_GENXSD_.TOP.XSD']
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}taskQueryServiceFaultResponse
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}successResponse
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}queryViewTasksRequest
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}credentialOnBehalfOfRequest
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/task}task
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}doesViewTaskExistRequest
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/common}workflowContext
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}queryTaskErrorsRequest
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}countTasksRequest
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}queryAggregatedTasksRequest
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}getPermittedAssigneesResponse
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}taskDetailsByIdRequest
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}taskErrorsResponse
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}taskListResponse
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}getTaskSequenceRequest
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}taskDetailsByNumberRequest
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}getPermittedAssigneesRequest
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}taskListRequest
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}aggregatedTasksResponse
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}countViewTasksRequest
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}taskVersionDetailsRequest
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}updateWorkflowContextRequest
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}queryViewAggregatedTasksRequest
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}taskExistsResponse
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}taskHistoryRequest
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/common}credential
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}doesTaskExistRequest
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}taskSequence
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}taskCountResponse
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/bpel/workflow/taskQueryService}workflowContextRequest
Error: Message part "payload" is undefined [element = {http://xmlns.oracle.com/FuelLogIntegrations/HWFTaskService/FindTasks}process


I've tried implementing some of the recommendations I found by Googling the error message. I haven't been able to find a workable solution.

I would appreciate some direction on how to fix the problem.

Thanks
  • 1. Re: Calling Human Workflow Webservices from BPEL
    824578 Newbie
    Currently Being Moderated
    The same happened to me when I upgraded to 11.1.1.6. I have spent a couple of days reinstalling / redeploying but I can not get rid of this. Did you managed to find a solution for that?
  • 2. Re: Calling Human Workflow Webservices from BPEL
    Invinceable (Vince) Newbie
    Currently Being Moderated
    I have not found an answer for this issue. I was going to BUMP this post.
  • 3. Re: Calling Human Workflow Webservices from BPEL
    824578 Newbie
    Currently Being Moderated
    Just for the record: having thought that maybe there is something wrong with my OFM installation I downloaded the Oracle [Pre-built Virtual Machine for SOA Suite and BPM Suite 11g 11.1.1.6|http://www.oracle.com/technetwork/middleware/soasuite/learnmore/vmsoa-172279.html] but the error is still there :(

    Looks like we need to file a Service Request.
  • 4. Re: Calling Human Workflow Webservices from BPEL
    824578 Newbie
    Currently Being Moderated
    For tracking: Oracle Support created a new bug #13896993 for this issue
  • 5. Re: Calling Human Workflow Webservices from BPEL
    stefanomariotti Newbie
    Currently Being Moderated
    I came across the same error today when deploying a composite with one mediator and references to WSDL and XSD files in MDS. I managed to fix it by importing the WSDL and XSD files in OEPE, validating the WSDL and getting the real error message (JDeveloper was not reporting that error when validating the WSDL interface).
    It turns out that I had an import tag in a schema tag in its own, like this:
    <wsdl:types>
    <xsd:schema targetNamespace="http://......" elementFormDefault="qualified">
    <xsd:import namespace="http://..." schemaLocation="../xsd/RefLookupBusinessService_2_0.xsd"/>
    </xsd:schema>
    <xsd:schema targetNamespace="http://......" elementFormDefault="qualified">
    <xsd:element .....

    and the right format was to include it into the other schema tag:

    <wsdl:types>
    <xsd:schema targetNamespace="http://......" elementFormDefault="qualified">
    <xsd:import namespace="http://www.worldpay.com/SchemasAndContracts/com/worldpay/common/reflookup/businessservice/xsd/RefLookupBusinessService_2_x.xsd"
    schemaLocation="../xsd/RefLookupBusinessService_2_0.xsd"/>
    <xsd:element .....


    In brief, it seems like the error message reported by the compiler is misleading. The error was caused by an error in the WSDL and XSD and I manage to discover it using OEPE (Eclipse).

    Hope this can help

    Regards,

    Stefano
  • 6. Re: Calling Human Workflow Webservices from BPEL
    stefanomariotti Newbie
    Currently Being Moderated
    Hi,

    Please ignore my post earlier.

    Oracle created a patch (ID 15225691) for bug #13896993 .

    The patch actually worked for me, although please be aware that it modifies the library fabric-runtime.jar in your SOA installation only.

    You will have to copy the modified fabric-runtime.jar file in your JDeveloper installation also (if it's on a different machine).

    Regards,

    Stefano Mariotti
  • 7. Re: Calling Human Workflow Webservices from BPEL
    user434029 Newbie
    Currently Being Moderated
    I tried the Oracle patch. After installation, I am getting the following error in place of the multiple errors I was getting previously.

    java.lang.VerifyError: Cannot inherit from final class

    Sep 24, 2012 3:55:13 PM oracle.mds
    NOTIFICATION: PManager instance is created without multitenancy support as JVM flag "oracle.multitenant.enabled" is not set to enable multitenancy support.
    Sep 24, 2012 3:55:15 PM oracle.fabric.common.wsdl.SchemaManager isIncrementalBuildSupported
    INFO: XMLSchema incremental build enabled.
    Sep 24, 2012 3:55:18 PM com.collaxa.cube.CubeLogger info
    INFO: validating "InvoiceProcessing.bpel" ...
    Exception in thread "main" java.lang.VerifyError: Cannot inherit from final class
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    at com.collaxa.cube.lang.compiler.bpel.XPathExprValidatorVisitor.<init>(XPathExprValidatorVisitor.java:122)
    at com.collaxa.cube.lang.compiler.bpel.AssignValidator.<init>(AssignValidator.java:89)
    at com.collaxa.cube.lang.compiler.bpel.BpelParser.<init>(BpelParser.java:452)
    at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validate(BPELValidator.java:60)
    at com.collaxa.cube.lang.compiler.BPEL1Processor.validate(BPEL1Processor.java:329)
    at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:153)
    at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
    at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)
    at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1117)
    at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:500)
    at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
    at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)

    Please do let me know in case I am doing something wrong.
  • 8. Re: Calling Human Workflow Webservices from BPEL
    413057 Newbie
    Currently Being Moderated
    Hi

    I am also seeing a similar issue with 11.1.1.6.0 in jDeveloper. Where as tools like SOAP UI appear I work fine.

    Dies anyone know if the patches assist with this issue? I am considering patching to 11.1.1.6.4 to see if this resolves this issue. (E.g latest interim patch)

    Many thanks

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points