On Wed, Apr 29, 2009 at 11:40 AM,  <[email protected]> wrote:
>
> Hi
>
> I am developing a simple server application using Tuscany. I want to publish
> a component like web service. It is working. The next step would be develop
> a simple client application using Tuscany too. This could run on another
> different PC or JVM.
>
> I used WSDL2Java to obtain a client java code. So I could invoke one method
> in the web service, "getPeopleLisT()" for example. But How can I do this
> using Tuscany?  I mean my problem is that I need know this java interface. I
> have to export this from server application and import it in the client
> side. But I can't do it if these applications are running in different JVM.
> Do I need copy this PeopleServiceInterface.java in the client? I mean copy
> the file.
>
>

Yes you need to do something to give the client the service interface.

As you are in control of the server side code that can be as easy as
just copying PeopleServiceInterface.java to your client. If you didn't
have access to the server side code then you could do a ?wsdl of the
service endpoint and then use a WSDL2Java tool to create a Java
interface from the wsdl document.

   ...ant

Reply via email to