axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicholas Ardlie" <>
Subject RE: 1.1 Document Style Service
Date Wed, 09 Jul 2003 23:32:05 GMT
Hi Cory,
I found the same problem with message style services that throw custom exceptions.
See my post
I never got around to filing a bug report for it though. I'm still living with the hack.

-----Original Message-----
From: Cory Wilkerson []
Sent: Thursday, 10 July 2003 9:01 AM
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?


-----Original Message-----
From: Cory Wilkerson 
Sent: Wednesday, July 09, 2003 5:14 PM
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.


-----Original Message-----
From: Davanum Srinivas []
Sent: Wednesday, July 09, 2003 5:12 PM
Subject: Re: 1.1 Document Style Service

Please open a bug report. See instructions at


--- Cory Wilkerson <> 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=""/>
> </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: {}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
> (but, no longer in document-style fashion).
> Anyone seen this?  Does my implementation class need to support a special interface to
> document style?
> Thanks for any help!
> Cory Wilkerson

Davanum Srinivas -

Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

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.

View raw message