> > My questions are:
> >
> > Q. When exposing an EJB as an axis web service do I have to always
> > *manually* make the WSDD file or can I somehow make an appropriate
> > one using wsdl2java.
>
> You can use XDoclet (xdoclet.sf.net) axis support to build your .wsdd
> files from your source code javadoc-like comments.  Then use that .wsdd
> with AdminClient to deploy your web services and finally you can get the
> WSDL files from `http://<yourhost>:<port>/<axis-url-path>/services'.
>
> `deploy.wsdd' is not required at the client side (`client-config.wsdd'
> is used to include custom serialization/deserialization, which for a
> started is quite uncommon to be used; maybe later).  `deploy.wsdd'
> mainly contains information for the server-side.

In my case the EJB source may not be available but thanks for the info - I
might experiment with XDoclet for my own beans.

> >
> > Q. And if I have to manually make it, how do I generate the client
> > stubs using wsdl2java without also creating an extra WSDD file I don't
> > want?
>
> Are you sure that .wsdd file was generated by wsdl2java without the '-s'
> option or by java2wsdl?

You were right. I was accidentally using axis-wsdl2java ant task with
serverside="true".

>
> Try in an empty directory "java org.apache.axis.wsdl.WSDL2Java
> 'http://<yourhost>:<port>/<axis-url-path>/services/<yourservice>?wsdl'".
> It will generate just the stubs in the current directory.

Yes, after adding a -p option this also does what I want.

Thanks,
Peter.

This is an email from Fujitsu Australia Software Technology Pty Ltd, ABN 27 003 693 
481. It is confidential to the ordinary user of the email address to which it was 
addressed and may contain copyright and/or legally privileged information. No one else 
may read, print, store, copy or forward all or any of it or its attachments. If you 
receive this email in error, please return to sender. Thank you.

If you do not wish to receive commercial email messages from Fujitsu Australia 
Software Technology Pty Ltd, please email [EMAIL PROTECTED]


Reply via email to