ay, October 07, 2002 6:49 PM
Subject: Re: "Chicken-Egg" problem with Java2WSDL/WSDL2Java
> Vishal Mehra wrote:
>
> > Thanks James,
> >
> > Yes, one can provide the business logic either in SOAPBindingStub.java
or
> > SOAPBindingImp.java but this does no
Vishal Mehra wrote:
> Thanks James,
>
> Yes, one can provide the business logic either in SOAPBindingStub.java or
> SOAPBindingImp.java but this does not solve the problem of moving the logic
> from existing java classes to any one of the above classes.
>
> Is there an automated way to transform
SOAPBindingImp.java? or an automated way to write wrapper (SOAPBindingImp)
classes on top of existing java classes?
-Vishal
-Original Message-
From: James Black [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 8:52 PM
To: [EMAIL PROTECTED]
Subject: Re: "Chicken-Egg" pr
Vishal Mehra wrote:
> I would like to expose e xisting java interfaces and classes via SOAP.
> If you run java2wsdl and then wsdl2java, you need to move logic from
> existing classes to SOAPBindingImp.java. Ideally, I would like to keep
> the logic in the original classes. Is there a way arou
Title: Re: "Chicken-Egg" problem with Java2WSDL/WSDL2Java
I have
the same issue.
I
would like to expose existing java interfaces and
classes via SOAP. If you run java2wsdl and then wsdl2java, you need
to move logic from existing classes to SOAPBindingImp.java. Ideally, I woul
Title: Re: "Chicken-Egg" problem with Java2WSDL/WSDL2Java
If you use wsdl2java -H the type information is actually stored in an Helper class, not in the Javabean itself.
Would it be possible then to:
1- generate the code with the Helper in a temp folder
2 - move back only th
How I solve the problem is
I generate all the classes and redirect to my classes at the appropriate
points using sed
For the web service classes I have my own implementation that implements
the interface and I sed the generated skeleton class replacing the
reference to the generated impl class
Title: RE: "Chicken-Egg" problem with Java2WSDL/WSDL2Java
Here's how I get around the problem. I use Ant to run WSDL2Java. The target that does that tells WSDL2Java to send the files it generates to a directory called "gen". After that, Ant copies the files I wan