Hi Cory,
I found the same problem with message style services that throw custom exceptions.
See my post http://marc.theaimsgroup.com/?l=axis-user&m=105650127417766&w=2
I never got around to filing a bug report for it though. I'm still living with the 
hack.
Nick.

-----Original Message-----
From: Cory Wilkerson [mailto:[EMAIL PROTECTED]
Sent: Thursday, 10 July 2003 9:01 AM
To: [EMAIL PROTECTED]
Subject: RE: 1.1 Document Style Service


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



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


Reply via email to