You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/07/10 16:05:29 UTC
DO NOT REPLY [Bug 21470] New: -
Custom Exceptions kill Document style service WSDL creation
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21470>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21470
Custom Exceptions kill Document style service WSDL creation
Summary: Custom Exceptions kill Document style service WSDL
creation
Product: Axis
Version: 1.1
Platform: All
OS/Version: Windows NT/2K
Status: NEW
Severity: Major
Priority: Other
Component: WSDL processing
AssignedTo: axis-dev@ws.apache.org
ReportedBy: cwilkerson@travelnow.com
Initial email to axis mailing list:
******************************************
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).
******************************************
Here's a response from a chap that has taken the time to track down the issue --
which I have verified:
http://marc.theaimsgroup.com/?l=axis-user&m=105650127417766&w=2
Thanks,
Cory