Your "return" element is defined as just:
<xs:element name="UpdateResponse" />
There isn't a "type" for it so by definition, it's an anyType which is
then an Object. If you want it to be void, it needs to be:
<xs:element name="UpdateResponse">
<xs:complextType>
<xs:sequence/>
</xs:complexType>
</xs:element>
Dan
On Monday 07 January 2008, mattrpav wrote:
> I used wsd2java to generate a web service, and the generated code
> returns java.lang.Object instead of void. Comparing my WSDL to the
> wsdl_first example, I do not see much difference.
>
> Is there a wsdl2java or binding parameter I am missing?
>
> CXF 2.0.2 (From Servicemix 3.2.1)
> WSDL attached.
>
> Thanks,
> Matt Pavlovich
>
> http://www.nabble.com/file/p14679268/SimpleWS.wsdl SimpleWS.wsdl
--
J. Daniel Kulp
Principal Engineer, IONA
[EMAIL PROTECTED]
http://www.dankulp.com/blog