You could use a tool like wsdl2java to generate the stubs if you don't have them. If you are using maven, Tuscany also have a wsdl2java plugin that generates the necessary artifacts for you. Please take a look at the helloworld-ws-service and helloworld-ws-reference sample applications.
On Mon, Jul 14, 2008 at 12:46 PM, Abraham Washington <[EMAIL PROTECTED]> wrote: > hi, > > i have an sca service exposed as a web service (binding.ws). i'm trying > to connect to it from another sca domain as a reference. i defined the > wsdlElement in my reference. but, when I make the declaration: > > @Reference > AddressService addressService; > > > in my component implementation class, the build fails looking for that > class. how can i handle this? do i need to generate the stubs from the > wsdl? or ? below is my component with the reference to the external sca > domain. i can view the wsdl from the location as well. > > > < > > component name="OrgServiceComponent"> > > <implementation.spring location="Organization-spring-context.xml"/> > > <service name="OrgService"/> > > <reference name="AddressService" > promote="OrgServiceComponent/addressService"> > > <binding.ws > wsdlElement="http://192.168.1.7:8080/address-service-composite/AddressService?wsdl.service(AddressService)"/> > > </reference> > > </component> > > > > > > > > thx abe > -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/
