Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 52018 invoked from network); 4 Aug 2005 19:53:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Aug 2005 19:53:48 -0000 Received: (qmail 44223 invoked by uid 500); 4 Aug 2005 19:53:37 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 43665 invoked by uid 500); 4 Aug 2005 19:53:35 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 43649 invoked by uid 99); 4 Aug 2005 19:53:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2005 12:53:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [66.159.69.34] (HELO ws2.nextcentury.com) (66.159.69.34) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2005 12:53:24 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5992E.2F0FCD32" Subject: Client / server separation in WSDL2Java Date: Thu, 4 Aug 2005 15:53:27 -0400 Message-ID: <8EDBE3F4D9261F4A90677FB13B9CCEBC27ED1A@ws2.hq.nextcentury.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Client / server separation in WSDL2Java Thread-Index: AcWZLi5uRHNBT54MSiytef9bAHnf0A== From: "Clark Dorman" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C5992E.2F0FCD32 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am using axis on both the client and server side, but I am having a problem with the relationship between them. In particular, I want to separate out the code but WSDL2Java puts them in the same directory and the namespaces are off. I use ant as my builder. Here's the =20 + src + client WidgetClient.java -- this is going to call the service + server Widget.java -- This is an object that gets passed over the service WidgetPrice.java -- Service interface. This is what I want exposed. =20 When I run Java2WSDL, I get a WidgetPrice.wsdl in the server directory. That's fine. The problem is how to run WSDL2Java. What I want to get deploy.wsdd and WidgetPriceSoapBindingImpl in the _server_ directory and get WidgetPriceService, WidgetPriceServiceLocation, WidgetPriceSoapBindingStub in the _client_ directory. =20 It looks like all the examples mix up the client and server, and also tend to copy everything out into a work directory. I would really like to be able to do it in-place. This is because of CVS (need to be able to check it all in) and because it is part of a much larger project, so I really don't want to have to temporarily copy everything over someplace else. =20 The other problem is what happens to Widget during this process. WSDL2Java adds a lot of code to it. If I then have to run Java2WSDL, it breaks on the generated code within Widget.java. =20 =20 Clark =20 =20 =20 =20 =20 ------_=_NextPart_001_01C5992E.2F0FCD32 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I am using axis on both the client and server side, = but I am having a problem with the relationship between them.  In = particular, I want to separate out the code but WSDL2Java puts them in the same = directory and the namespaces are off.  I use ant as my builder.  = Here’s the

 

  + src

       + = client

         =      WidgetClient.java  -- this is going to call the = service

       + = server

         =      Widget.java    -- This is an object that gets passed over = the service

         =      WidgetPrice.java  -- Service interface.  This is what I want = exposed.

 

When I run Java2WSDL, I get a WidgetPrice.wsdl in the = server directory.  That’s fine.  The problem is how to run = WSDL2Java.  What I want to get deploy.wsdd and WidgetPriceSoapBindingImpl in the = _server_ directory and get = WidgetPriceService, WidgetPriceServiceLocation, WidgetPriceSoapBindingStub in the _client_ = directory.

 

It looks like all the examples mix up the client and = server, and also tend to copy everything out into a work directory.  I = would really like to be able to do it in-place.  This is because of CVS = (need to be able to check it all in) and because it is part of a much larger = project, so I really don’t want to have to temporarily copy everything over = someplace else.

 

The other problem is what happens to Widget during = this process.  WSDL2Java adds a lot of code to it.  If I then have = to run Java2WSDL, it breaks on the generated code within Widget.java.  =

 

Clark

 

 

   

 

 

------_=_NextPart_001_01C5992E.2F0FCD32--