Hi,
i created a BPEL-process as component implementation and invoked it and
everything worked fine. Now i promoted the service in the composite to
be able to reference it from another composite. I used Now i used the
composite which includes the process as an implementation of another
component. however if i run a test on the promoted process now from the
top-composite it always gives me an error:
- Unkown EPR: null
What does that mean?
Regards
Stefan
- Registered process {http://availability}Availability-1.
Completed calling new Process deployment code...
Invoking bpel component :
{http://tuscany.apache.org}$promoted$WarehouseComposite$slash$AvailabilityService#isAvailable
Creating invocation message:
>> args.....: <?xml version="1.0" encoding="UTF-8"?>
<isAvailable xmlns="http://availability"><message
xmlns:ns2="http://availability.warehouse/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="xs:int">1</message></isAvailable>
>> message..:<?xml version="1.0" encoding="UTF-8"?>
<message><TestPart><isAvailable xmlns="http://availability"><message
xmlns:ns2="http://availability.warehouse/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="xs:int">1</message></isAvailable></TestPart></message>
- Unkown EPR: null
01.03.2010 01:32:30 org.apache.tuscany.sca.node.impl.NodeImpl stop
INFO: Stopping node: resources/Solution.composite
- Stopping AvailabilityComponent
- BPEL Server Stopped.
- Stopped !!!
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
targetNamespace="http://warehouse"
xmlns:hns="http://availability"
name="Warehouse">
<service name="AvailabilityService" promote="AvailabilityComponent"/>
<component name="ShippingComponent">
<implementation.java class="warehouse.shipping.ShippingComponent"/>
<reference name="warehouseService" target="WarehouseComponent"/>
</component>
<component name="AvailabilityComponent">
<implementation.bpel process="hns:Availability"/>
<reference name="warehousePartnerLink" target="WarehouseComponent"/>
</component>
</composite>