i was generating the stubs from a wsdl(zipinfo.wsdl) file i found on
xmethods and i got 4 classes:
Zipinfo.java
ZipinfoLocator.java
ZipinfoSoap.java
ZipinfoSoapStub.java


and i saw in the manual and some examples that the classes should come
in the form as:
this was retrived from an example

Calculator.java  This is the "remote" interface. Extends Remote and
includes methods from the original Calculator.java.

CalculatorService.java  Service interface of the Web Services. The
ServiceLocator                                               implements this
interface

CalculatorServiceLocator.java  Helper factory for retrieving a handle
to the service.

CalculatorSoapBindingStub.java  Client-side stub code that
encapsulates client                  access.

why the notation is slightly diferent?


On 10/19/06, Miguel Correia Ricardo <[EMAIL PROTECTED]> wrote:
Generated stubs, is achieved by WSDL2Java tool from axis.
Dynamic invocation, gives you more control. Basically does the same
thing that the stubs do, but you control it programmatically, it's
less transparent, but in some cases it has some advantages. Go to the
first choice...It's best to start with.

On 10/19/06, Noé Amorim <[EMAIL PROTECTED]> wrote:
> hi need a little help here with the definitions (generated stubs and dynamic
> invocation).
> the java client will mostly consume results, the complex type will only come
> in one direction - from the webservice to the client -, although i would
> like to know how to do it in both ways, but for now, i just would like to
> consume the result set from the webservice.
> plz help or advice.
> cu soon.
> thanks.
>
>
> On 10/19/06, Miguel Correia Ricardo <[EMAIL PROTECTED] > wrote:
> >
> > That depends...Do you want to use generated stubs or dynamic invocation?
> > With dynamic invocation, you can define your own typemappings and
> > custom bean serializers.
> >
> > On 10/18/06, Noé Amorim <[EMAIL PROTECTED]> wrote:
> > > hello.
> > > how can i map the return type of a webservice to a custom type in Java.
> > > Let's say the return type from the webservice is an array, each value
> from
> > > the array is another array.
> > > The return is like this:
> > >
> > >  $ret[] = array('first name' => 'Fujiwara', 'last name' => 'Takumi',
> > > 'drives' => 'AE86');
> > > $ret[] = array('first name' => 'Takahashi', 'last name' => 'Ryosuke',
> > > 'drives' => 'RX-7 FD');
> > > $ret[] = array('first name' => 'Fujiwara', 'last name' => 'Reisuke',
> > > 'drives' => 'RX-7 FC');
> > > $ret[] = array('first name' => 'Itsuki', 'last name' => 'Takeuchi',
> 'drives'
> > > => 'Toyota Corolla Levin SR');
> > > $ret[] = array('first name' => 'Takeshi', 'last name' => 'Nakazato',
> > > 'drives' => 'Nissan Skyline GT-R');
> > > return $ret;
> > >
> > > how can i map this structure on the java client side?
> > > thanks.
> > >
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to