Hi Jason,

Take a look at the complexsoap example in WSIF (see the samples documentation). This is one example of using WSDL2Java to generate the java equivalents of complex schema types and the stub interface.

Each of WSIF's samples have two clients - a stub client and a dynamic client. Most of the stub clients describe how to run WSDL2Java to generate the necessary code, just look at the sample docs.

Nirmal.


"Jason Weinstein" <[EMAIL PROTECTED]>

12/17/2002 12:42 PM
Please respond to axis-user

       
        To:        <[EMAIL PROTECTED]>
        cc:        
        Subject:        How do I use the type classes and interface classes generated by axis in WSIF?



Woops here's the new question.

How do I use the type classes and interface classes generated by axis in
WSIF? Are there examples for doing this? (read below for context)

-----Original Message-----
From: Jason Weinstein
Sent: Tuesday, December 17, 2002 9:40 AM
To: [EMAIL PROTECTED]
Subject: RE: [wsif] PortTypeCompiler? Plus new Question?

This is the response I received to a similar question:

WSIF generates stubs dynamically at runtime so doesn't require a stub.
It does require the service interface which is what the dynamic stub is
generated from.

WSIF doesn't yet have its own tool for generating these but you can use
the WSDL2Java tool from AXIS. This generates the complex type classes,
service interface, and stub. You can then use the type classes and the
interface class in WSIF.

> Can I generate WSIF stubs for executing against a web service
>
> (similar to how axis does it)? Thanks

      ...ant

Thanks, Jason

-----Original Message-----
From: Jan J Kratky [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 6:45 AM
To: [EMAIL PROTECTED]
Subject: [wsif] PortTypeCompiler?


I am new to WSIF. The DynamicInvoker example made getting up and running
with dynamic invocation pretty easy. However, I am still confused about
the
stub model for using WSIF. My understanding is that older versions of
WSIF
had a PortTypeCompiler class to generate the stub and data object code
for
you. However, I can't find that class, or a likely replacement candidate
in
the binaries I downloaded late last week.

What am I missing here? Is there still a "precompile" tool to generate
WSIF
stubs and data classes (similar to Axis's WSDLtoJava)? If so, where is
it
and where can I gat documentation on using it? Thanks!


Reply via email to