axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russell Butek" <bu...@us.ibm.com>
Subject Re: Stub generation - missing classes?
Date Wed, 23 Jan 2002 14:58:29 GMT
Luis,

What version of AXIS did you use?  I've got yesterday's version on my
machine and the files generated from this WSDL compiled just fine.
SOAPService.java was generated for me.

Russell Butek
butek@us.ibm.com


Luís Fraga <lfraga@mobicomp.com> on 01/23/2002 06:22:55 AM

Please respond to axis-user@xml.apache.org

To:    axis-user@xml.apache.org
cc:
Subject:    Stub generation - missing classes?



Hi! I was trying out some basic operations with the Axis and I came
across the folloing problem.

I pointed the stub generator to
http://www.xmethods.net/sd/2001/XMethodsListingsService.wsdl
and I got the folowing classes (XXX is XMethodsListings):

XXXBindingImpl
XXXBindingSkeleton
XXXBindingStub
XXXPortType
XXXService

The problem is that when I hit compile I noticed that the class to wrap
the return value
(the following complex type) is not generated although it is referenced
in all the other generated classes.

    <complexType name="SOAPService">
     <all>
      <element name="ID" type="int"/>
      <element name="name" type="string"/>
      <element name="owner" type="string"/>
      <element name="description" type="string"/>
      <element name="contactEmail" type="string" />
      <element name="dateCreated" type="string" />
      <element name="status" type="string" />
      <element name="homepageURL" type="string"/>
      <element name="endpoint" type="string"/>
      <element name="SOAPAction" type="string"/>
      <element name="methodNamespaceURI" type="string"/>
      <element name="methodName" type="string"/>
      <element name="wsdlURL" type="string"/>
      <element name="instructions" type="string"/>
      <element name="downloadURL" type="string"/>
      <element name="serverImplementation" type="string"/>
      <element name="serviceStatus" type="string"/>
      <element name="serviceStatusDate" type="string"/>
     </all>
    </complexType>


    <complexType name="ArrayOfSOAPService">
     <complexContent>
      <restriction base="SOAP-ENC:Array">
       <attribute ref="SOAP-ENC:arrayType"
wsdl:arrayType="xsdl:SOAPService[]" />
      </restriction>
     </complexContent>
    </complexType>

The classes are expecting a net.xmethods.www.SOAPService class to exist
but there isn't any. I also tried stubs for services that just return
strings and floats (simple types) and they work properly.
Any help someone?

Best Regards!
Luís




Mime
View raw message