java2wsdl works too (maybe a bit flaky)...In Axis terms, you need to use the "wrapped" 
mode. See
http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/Wrapped. The WHOLE 
confusion is
because have a flag "-y" in java2wsdl that can take DOCUMENT/WRAPPED/RPC. DOCUMENT 
here means that
the the deployer/programmer knows exactly what to do in wsdd and Axis should not wrap 
or unwrap
the method parameters. WRAPPED is used when you need Axis to do doc/lit and you don't 
want to muck
around with wsdd. See 
http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/Wrapped for
pointers to previous discussions etc.

-- dims

--- Anne Thomas Manes <[EMAIL PROTECTED]> wrote:
> Dims,
> 
> Perhaps the team's assessment of the desired use cases for doc/literal was 
> a bit too limited. java2wsdl should be capable of generating a doc/literal 
> WSDL definition from a Java class.
> 
> Thanks,
> Anne
> 
> At 02:48 AM 10/8/2003 -0700, you wrote:
> >I repeat myself...
> >
> >The Best Use case for doc/lit that Axis 1.1 supports is when you start 
> >with an existing WSDL and
> >run WSDL2Java on it and use the generated code. If you have problems with 
> >this, open up a bug
> >report with sample code.
> >
> >Thanks,
> >dims
> >
> >--- Cory Wilkerson <[EMAIL PROTECTED]> wrote:
> > > I concur.  Doc/literal support was an afterthought when Axis was put 
> > together.
> > >
> > > -----Original Message-----
> > > From: Mike Perham [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, October 07, 2003 2:02 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: Axis doc/lit - impossible?
> > >
> > >
> > > That's been our finding also.  Axis supports rpc/encoded very well.
> > > Anything else is just an exercise in frustration.  We wound up writing
> > > our own doc/lit SOAP stack because Axis just didn't work and Sysinet was
> > > too expensive and proprietary.
> > >
> > > mike
> > >
> > > -----Original Message-----
> > > From: Dennis Sosnoski [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, October 07, 2003 1:28 PM
> > > To: axis-user
> > > Subject: Axis doc/lit - impossible?
> > >
> > >
> > > Mitch Gitman has an article up on JavaWorld talking about Web service
> > > styles
> > > (http://www.javaworld.com/javaworld/jw-10-2003/jw-1003-wsstyles.html?).
> > > In the second page he covers several attempted approaches to
> > > implementing a doc/lit service using Axis (none of which work properly)
> > > and comes to the conclusion that "while Axis purports to support
> > > document/literal, it actually doesn't."
> > >
> > > Any comments? I've played around with doc/lit using Axis myself and ran
> > > into problems, but assumed I could find a work-around with enough effort
> > > (probably by avoiding WSDL2Java and Java2WSDL, and supplying my own WSDL
> > > for the service - at which point Axis isn't really adding a lot of
> > > value). Mitch says that Axis flat out doesn't support doc/lit, though he
> > > appears to only be working with the W2J/J2W tools.
> > >
> > >   - Dennis
> > >
> > >
> >
> >
> >=====
> >Davanum Srinivas - http://webservices.apache.org/~dims/
> 
> 


=====
Davanum Srinivas - http://webservices.apache.org/~dims/

Reply via email to