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

Reply via email to