axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Jordahl <t...@macromedia.com>
Subject RE: wsdl emitter
Date Thu, 11 Oct 2001 15:11:22 GMT

I just took a look, the code is expected a complex type to have a
sequence or all group node per the comments on line 166 of TypeFactory.java:

  // Under the complexType there should be a sequence or all group node.
  // (There may be other #text nodes, which we will ignore).

In the Phone type WSDL, there is not an <all> node.

      <xsd:complexType name="phone">
        <xsd:element name="areaCode" type="xsd:int"/>
        <xsd:element name="exchange" type="xsd:string"/>
        <xsd:element name="number" type="xsd:string"/>
      </xsd:complexType>


Rich Scheuerle, I think this is your code - is the type definition wrong or
is the code expecting something that doesn't have to be there?

--
Tom Jordahl



-----Original Message-----
From: Doug Davis [mailto:dug@us.ibm.com]
Sent: Thursday, October 11, 2001 10:18 AM
To: axis-dev@xml.apache.org
Subject: wsdl emitter


don't have time to look into right now, but for who's
who might, the wsdl emitter doesn't appear to generate
the type files (e.g. Phone.java in addr sample) properly
anymore.  They're basically just empty.
-Dug

Mime
View raw message