Document-based services are allowed to throw exceptions... -- dims --- Cory Wilkerson <[EMAIL PROTECTED]> wrote: > Issue quasi-resolved: > > The method signature I was exposing can throw a subclass of Exception I've created -- > GeoException. Are Document-based services allowed to throw exceptions? Perhaps I > just need to > define a beanMapping for my exception type? > > Cory > > -----Original Message----- > From: Cory Wilkerson > Sent: Wednesday, July 09, 2003 5:14 PM > To: [EMAIL PROTECTED] > Subject: RE: 1.1 Document Style Service > > > Will do -- but, is there an interim solution? I suppose I could hack the source. > Additionally, > I can't rollback to the release candidate as it generates yet another similar issue > with > document style services. > > Cory > > > -----Original Message----- > From: Davanum Srinivas [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 09, 2003 5:12 PM > To: [EMAIL PROTECTED] > Subject: Re: 1.1 Document Style Service > > > Please open a bug report. See instructions at http://ws.apache.org/axis/bugs.html. > > Thanks, > dims > > --- Cory Wilkerson <[EMAIL PROTECTED]> wrote: > > All, > > > > I'm having issues with Axis generating WSDL for a document style service (the > > service works if > I > > remove the style/use attributes): > > > > > > Here's a snippet from my server-config.wsdd file -- as you can see, the > > GeoFindService has > been > > successfully deployed: > > > > -------------------------------------------- > > <service name="GeoFindService" provider="java:RPC" style="document" use="literal"> > > <parameter name="allowedMethods" value="getGeoData"/> > > <parameter name="scope" value="request"/> > > <parameter name="className" value="com.travelnow.geo.tnowbsl.GeoFindService"/> > > <beanMapping languageSpecificType="java:com.travelnow.geo.GeoData" > > qname="ns1:GeoData" > > xmlns:ns1="http://geo.travelnow.com"/> > > </service> > > -------------------------------------------- > > > > > > However, when I attempt to generate WSDL via /services/GeoFindService?wsdl for > > this service -- > I > > receieve the following error: > > > > -------------------------------------------- > > <h2>AXIS error</h2> > > <p>Sorry, something seems to have gone wrong... here are the details:</p> > > <pre>Fault - Attempted to write schema for bad QName (no namespace) : fault<br> > > > > AxisFault > > faultCode: {http://xml.apache.org/axis/}Server.generalException > > faultSubcode: > > faultString: Attempted to write schema for bad QName (no namespace) : fault > > faultActor: > > faultNode: > > faultDetail: > > </pre> > > -------------------------------------------- > > > > If I remove the style="document" and use="literal" attributes -- the WSDL renders > > without > issue > > (but, no longer in document-style fashion). > > > > Anyone seen this? Does my implementation class need to support a special > > interface to be > > document style? > > > > Thanks for any help! > > Cory Wilkerson > > > ===== > Davanum Srinivas - http://webservices.apache.org/~dims/ > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com
===== Davanum Srinivas - http://webservices.apache.org/~dims/ __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
