All,

I have taken the JAXB2 example and attempted to incorporate it into
Spring 2.0.  I am having issues with WSDL generation as not only is the
WSDL generator providing the types defined in the WeatherService.xsd,
the generator is also adding a SECOND GetWeatherByZipCode and
GetWeatherByZipCodeResponse elements to the schema.  Here is a snippet
of the "extra" elements added (within the schema provided by the XSD):

<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema";
name="GetWeatherByZipCode">

<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" ref="tns:GetWeatherByZipCode"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
name="GetWeatherByZipCodeResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" ref="tns:GetWeatherByZipCodeResponse"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>

I'm attaching the spring configuration (applicationContext.xml), web.xml, the 
generated WSDL
that is incorrect and the WSDL that is correct (from the example) both marked 
bad and good respectively.  I
have done nothing to the source or schema what so ever from the
example, so I'm not including that.  I'm merely trying to configure
these objects in a Spring 2.0 context.

Thanks for any help you can provide.

Attachment: WeatherService-good.wsdl
Description: application/xml

Attachment: WeatherService-bad.wsdl
Description: application/xml

Attachment: applicationContext.xml
Description: application/xml

Attachment: web.xml
Description: application/xml

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to