You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Cory Wilkerson <cw...@travelnow.com> on 2003/07/10 00:09:32 UTC
1.1 Document Style Service
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
Re: 1.1 Document Style Service
Posted by Davanum Srinivas <di...@yahoo.com>.
Please open a bug report. See instructions at http://ws.apache.org/axis/bugs.html.
Thanks,
dims
--- Cory Wilkerson <cw...@travelnow.com> 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