hi, i changed my composite. now, i'm just getting a filter start error. must be a problem in my composite (only thing that changed).<? < xmlns:sca=http://www.osoa.org/xmlns/sca/1.0 name="Organization-Service" targetNamespace="http://org.soa.services"> <component name="OrgServiceComponent"> <implementation.spring location="..."/> <service name="OrgService"/> <reference name="AddressService" promote="OrgServiceComponent/addressPartnerLink"> <interface.wsdl interface="http://remote.host.name:8080/address-service/AddressService?wsdl.portType(Addresses)"/> <binding.ws wsdlElement="http://remote.host.name:8080/address-service/AddressService?wsdl.service(AddressService)" instance.wsdlLocation="http://remote.host.name:8080/address-service/AddressService?wsdl"/> </reference> </component> <service name="OrgService" promote="OrgServiceComponent/OrgService"> <binding.ws/> </service> <component name="OrgDataServiceComponent"> <implementation.spring location="..."/></ </component>composite> thx abe
----- Original Message ---- From: Abraham Washington <[EMAIL PROTECTED]> To: [email protected] Sent: Thursday, July 10, 2008 11:42:01 AM Subject: reference / binding.ws hi all, i'm trying the sca/reference way to invoke a service. the service resides on a separate server, deployed in a war. i have created a new composite and would like to invoke the other service, so i created a reference to it. within my composite i have: <component name="OrganizationComponent"> <implementation.spring location="...."/> <service name="OrgService"/> <reference name="AddressService"> <binding.ws uri="http://remote.host.name.com:8080/address-service/AddressService"/> </reference> when i deploy my composite, it tells me the reference is not valid. i'm not sure how to go about declaring the @Reference in my org service. i could do something like: @Reference AddressService addressService; but, i don't have the class related to the address service within my org service war. so, i'm a little lost on this. not sure if i'm heading down the wrong path. thx abe </component> xml version="1.0" encoding="ISO-8859-15"?>composite xmlns=http://www.osoa.org/xmlns/sca/1.0
