ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vishal Bhasin <vbha...@yahoo.com>
Subject BPELC error - not able to understand why??
Date Mon, 18 Jun 2007 17:59:08 GMT
Hello All,

I see the following BPELC errors while deploying in Servicemix, but am unable to figure out
the reason, can you please review and, hopfully, point out the reason?

>>Error>>
INFO  - BpelC                          - info: [CompilingProcess] Compiling BPEL process.
INFO  - WSDLRegistry                   - WSDL at file:/C:/technical/servicemix/runtime/apache-servicemix-3.2-incuba
ting-SNAPSHOT/data/smx/service-assemblies/loan-broker-sa/version_1/sus/OdeBpelEngine/loan-broker-ode-su/Galelio_Air
Avail.wsdl is a duplicate import, your documents should all be in different namespaces (its's
not nice but will sti
ll work).
ERROR - BpelC                          - file:/C:/technical/servicemix/runtime/apache-servicemix-3.2-incubating-SNA
PSHOT/data/smx/service-assemblies/loan-broker-sa/version_1/sus/OdeBpelEngine/loan-broker-ode-su/loanbroker.bpel:24:
 error: [UndeclaredMessage] Attempt to reference undeclared WSDL message "Galelio_AirAvailInput"
in namespace urn:s
abre:soa:galelio.
ERROR - BpelC                          - file:/C:/technical/servicemix/runtime/apache-servicemix-3.2-incubating-SNA
PSHOT/data/smx/service-assemblies/loan-broker-sa/version_1/sus/OdeBpelEngine/loan-broker-ode-su/loanbroker.bpel:25:
 error: [UndeclaredMessage] Attempt to reference undeclared WSDL message "Galelio_AirAvailOutput"
in namespace urn:
sabre:soa:galelio.
ERROR - BpelC                          - file:/C:/technical/servicemix/runtime/apache-servicemix-3.2-incubating-SNA
PSHOT/data/smx/service-assemblies/loan-broker-sa/version_1/sus/OdeBpelEngine/loan-broker-ode-su/loanbroker.bpel:16:
 error: [UndeclaredPartnerLinkType] Attempt to reference undeclared partner link type "{urn:sabre:soa:galelio}Galel
ioAgencyPL".
ERROR - BpelC                          - null:39: error: [UndeclaredVariable] Attempt to reference
undeclared varia
ble "gal-request".
ERROR - BpelC                          - null:43: error: [UndeclaredPartnerLink] Attempt to
reference undeclared pa
rtner link "GalelioAgency".
ERROR - ProcessStoreImpl               - Deploy failed; BPEL compilation errors.
org.apache.ode.bpel.compiler.api.CompilationException: error: [CompilationErrors] Compilation
completed with 5 erro
r(s).
        at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:694)
        at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:252)
        at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:322)
        at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:152)
        at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:123)
        at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:165)
        at org.apache.ode.jbi.OdeServiceUnit.deploy(OdeServiceUnit.java:62)
        at org.apache.ode.jbi.OdeSUManager.deploy(OdeSUManager.java:60)
        at org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:527)
        at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:332)
        at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateExternalArchive(AutoDeploymentService.ja
va:200)
        at org.apache.servicemix.jbi.container.JBIContainer.updateExternalArchive(JBIContainer.java:473)
        at org.apache.servicemix.jbi.container.JBIContainer.updateExternalArchive(JBIContainer.java:483)
        at org.apache.servicemix.jbi.framework.AdminCommandsService.deployServiceAssembly(AdminCommandsService.java
:229)
        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:585)
        at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
        at org.apache.servicemix.jbi.management.BaseStandardMBean.invoke(BaseStandardMBean.java:317)
        at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
        at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
        at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408)
        at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
        at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
        at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:782)
        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:585)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
        at sun.rmi.transport.Transport$1.run(Transport.java:153)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
        at java.lang.Thread.run(Thread.java:595)

<<

>>loanbroker.bpel>>
<?xml version="1.0" encoding="UTF-8"?>
<bpel:process name="OrchAirAvailService" 
    targetNamespace="urn:sabre:soa:airavail" 
    expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
    xmlns:tns="urn:sabre:soa:airavail" 
    xmlns:ca="urn:logicblaze:soa:creditagency" 
    xmlns:gal="urn:sabre:soa:galelio" 
    xmlns:bk="urn:logicblaze:soa:bank" 
    xmlns:svc="urn:logicblaze:soa:service" 
    xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable">
    
    <bpel:import importType="http://schemas.xmlsoap.org/wsdl/" location="loanbroker.wsdl"
namespace="urn:sabre:soa:airavail"/>
    
    <bpel:partnerLinks>
        <bpel:partnerLink myRole="OrchAirAvailService" name="AirAvail" partnerLinkType="tns:AirAvailPL"/>
        <bpel:partnerLink partnerRole="GalelioAgencyService" name="GalelioAgency" partnerLinkType="gal:GalelioAgencyPL"/>
        <bpel:partnerLink partnerRole="CreditAgencyService" name="CreditAgency" partnerLinkType="ca:CreditAgencyPL"/>
    </bpel:partnerLinks>
    <bpel:variables>
        <bpel:variable name="request" messageType="tns:Orch_AirAvailInput"/>
        <bpel:variable name="ca-request" messageType="ca:OTA_AirAvailInput"/>
        <bpel:variable name="response" messageType="tns:Orch_AirAvailOutput"/>
        <bpel:variable name="ca-response" messageType="ca:OTA_AirAvailOutput"/>
        <bpel:variable name="gal-request" messageType="gal:Galelio_AirAvailInput"/>
        <bpel:variable name="gal-response" messageType="gal:Galelio_AirAvailOutput"/>
    </bpel:variables>
    <bpel:sequence>
        <bpel:receive name="request" partnerLink="AirAvail" portType="tns:AirAvail" operation="OTA_AirAvailRQ"
variable="request" createInstance="yes">
        </bpel:receive>
        <bpel:flow>
            <bpel:sequence>
                <bpel:assign>            
                    <bpel:copy>
                        <bpel:from>$request.payload</bpel:from>    
                        <bpel:to>$ca-request.payload</bpel:to>               
    
                    </bpel:copy>
                    <bpel:copy>
                        <bpel:from>$request.payload</bpel:from>    
                        <bpel:to>$gal-request.payload</bpel:to>              
     
                    </bpel:copy>                    
                </bpel:assign>
                <bpel:invoke name="service" partnerLink="CreditAgency" portType="ca:CreditAgency"
operation="OTA_AirAvailRQ" inputVariable="ca-request" outputVariable="ca-response"/>
                <bpel:invoke name="service" partnerLink="GalelioAgency" portType="gal:GalelioAgency"
operation="AirAvailability_7" inputVariable="gal-request" outputVariable="gal-response"/>
            </bpel:sequence>
        </bpel:flow>
        <bpel:assign>
            <bpel:copy>
                   <bpel:from variable="ca-response" part="payload"/>
                   <bpel:to variable="response" part="payload"/>
            </bpel:copy>
        </bpel:assign>
        <bpel:reply name="response" partnerLink="AirAvail" portType="tns:AirAvail" operation="OTA_AirAvailRQ"
variable="response"/>
    </bpel:sequence>
</bpel:process>

<<

>>loanbroker.wsdl>>
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns:tns="urn:sabre:soa:airavail" xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" targetNamespace="urn:sabre:soa:airavail">
    <import namespace="urn:logicblaze:soa:creditagency" location="OTA_AirAvailLLS1.4.1RQ.wsdl"/>
    <import namespace="urn:sabre:soa:galelio" location="Galelio_AirAvail.wsdl"/>
    <import namespace="urn:logicblaze:soa:bank" location="bank.wsdl"/>
    <types>
        <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <xsd:import namespace="urn:sabre:soa:airavail" schemaLocation="Orch_AirAvailRQRS.xsd"/>
        </xsd:schema>
    </types>
    <message name="Orch_AirAvailInput">
        <part name="payload" element="tns:OTA_AirAvailRQ"/>
    </message>
    <message name="Orch_AirAvailOutput">
        <part name="payload" element="tns:OTA_AirAvailRS"/>
    </message>
    <portType name="AirAvail">
        <operation name="OTA_AirAvailRQ">
            <input message="tns:Orch_AirAvailInput"/>
            <output message="tns:Orch_AirAvailOutput"/>
        </operation>
    </portType>
    <plnk:partnerLinkType name="AirAvailPL">
        <plnk:role name="OrchAirAvailService" portType="tns:AirAvail"/>
    </plnk:partnerLinkType>
</definitions>
<<

>>Galelio_AirAvail.wsdl>>
<definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:sabre:soa:galelio" xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:ns="http://schemas.xmlsoap.org/soap/encoding/"
targetNamespace="urn:sabre:soa:galelio">
    <types>
        <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <xsd:import namespace="urn:sabre:soa:galelio" schemaLocation="Galelio_AirAvailRQRS.xsd"/>
        </xsd:schema>
    </types>
    <message name="Galelio_AirAvailInput">
        <part name="payload" element="tns:AirAvailability_7"/>
    </message>
    <message name="Galelio_AirAvailOutput">
        <part name="payload" element="tns:AirAvailability_7"/>
    </message>
    <portType name="GalelioAgency">
        <operation name="AirAvailability_7">
            <input message="tns:Galelio_AirAvailInput"/>
            <output message="tns:Galelio_AirAvailOutput"/>
        </operation>
    </portType>
    <plnk:partnerLinkType name="GalelioAgencyPL">
        <plnk:role name="GalelioAgencyService" portType="tns:GalelioAgency"/>
    </plnk:partnerLinkType>
</definitions>
<<

Many thanks!


Regards,

Vishal Bhasin

       
---------------------------------
Luggage? GPS? Comic books? 
Check out fitting  gifts for grads at Yahoo! Search.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message