ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hart Liu <hart_...@live.com>
Subject UndeclaredXsdType error when deploying a BPEL to ODE
Date Thu, 11 Nov 2010 23:44:39 GMT

Hi all,
 
I have a very weird problem. My wsdl and bpel files are generated by using eclipse plug-ins,
so I do not see any risk of having a syntax problem. However, when I deploy the bpel to ODE
1.3.4 running on ServiceMix 4.2.0, I am getting the following compile errors:
 
Caused by: org.apache.ode.bpel.compiler.api.CompilationException: error: [CompilationErrors]
Compilation completed with 7 error(s):
 file:/E:/apache-servicemix-4.2.0/data/jbi/bmf.yukon.pkc.assembly/sus/bmf.yukon.ode.pkc.doc.search/DocSearch.bpel:34:
error: [UndeclaredXsdType] Attempt to reference undeclared XSD type "{http://www.w3.org/2001/XMLSchema}anyType".
 file:/E:/apache-servicemix-4.2.0/data/jbi/bmf.yukon.pkc.assembly/sus/bmf.yukon.ode.pkc.doc.search/DocSearch.bpel:35:
error: [UndeclaredXsdType] Attempt to reference undeclared XSD type "{http://www.w3.org/2001/XMLSchema}anyType".
 file:/E:/apache-servicemix-4.2.0/data/jbi/bmf.yukon.pkc.assembly/sus/bmf.yukon.ode.pkc.doc.search/DocSearch.bpel:36:
error: [UndeclaredXsdType] Attempt to reference undeclared XSD type "{http://www.w3.org/2001/XMLSchema}string".
 file:/E:/apache-servicemix-4.2.0/data/jbi/bmf.yukon.pkc.assembly/sus/bmf.yukon.ode.pkc.doc.search/DocSearch.bpel:41:
error: [UndeclaredVariable] Attempt to reference undeclared variable "request".
 file:/E:/apache-servicemix-4.2.0/data/jbi/bmf.yukon.pkc.assembly/sus/bmf.yukon.ode.pkc.doc.search/DocSearch.bpel:46:
error: [UndeclaredVariable] Attempt to reference undeclared variable "text".
 file:/E:/apache-servicemix-4.2.0/data/jbi/bmf.yukon.pkc.assembly/sus/bmf.yukon.ode.pkc.doc.search/DocSearch.bpel:50:
error: [UndeclaredVariable] Attempt to reference undeclared variable "response".
 file:/E:/apache-servicemix-4.2.0/data/jbi/bmf.yukon.pkc.assembly/sus/bmf.yukon.ode.pkc.doc.search/DocSearch.bpel:55:
error: [UndeclaredVariable] Attempt to reference undeclared variable "response".

Here is the definition in BPEL:
 
<process name="DocSearch"
         targetNamespace="urn:/DocSearch.bpel"
         xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
         xmlns:tns="urn:/DocSearch.bpel"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
xmlns:ns1="urn:example" xmlns:ns2="urn:/DocSearch.bpelArtifacts">
    
<bpel:import namespace="urn:/DocSearch.bpelArtifacts" location="DocSearchArtifacts.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"></bpel:import>
    <import namespace="urn:example" location="DocumentService.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"></import>
 
   <partnerLinks>
        <bpel:partnerLink name="DocumentServicePL" partnerLinkType="ns2:DocumentServicePLT"
myRole="Provider"></bpel:partnerLink>
    </partnerLinks>
    <variables>
        <variable name="response" messageType="ns1:findByIdResponse"></variable>
        <variable name="request" messageType="ns1:findByIdRequest"></variable>
        <variable name="text" type="xsd:string"></variable>
    </variables>

 
Does anyone see any reason why a xsd:string could be an "UndelaredXsdType"? I have been chasing
this problems for two days, still have no clue.
 
Thanks,
Hart 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message