User-defined types and soup-wsdl

"Balasubramanian Seshasayee" <[email protected]> 23 Jul 2002 22:03:38 -0000
Newsgroups gmane.comp.gnome.ximian.soup
Message-ID <[email protected]>
Hi,
  The wsdl compiler, soup-wsdl works fine with basic types like 
float, string, int, etc., but gives errors while trying to use a 
complex type defined using <types>. For eg,

...
  <types>
  <schema targetNamespace="http://example.com/stockquote.xsd" 
xmlns="http://www.w3.org/2000/10/XMLSchema">
   <element name="request">
    <complexType>
     <all>
      <element name="tickersymbol" type="string"/>
     </all>
    </complexType>
   </element>
  </schema>
</types>

<message name="GetLastTradePriceInput">
   <part name="body" type="request"/>
</message>
...

gives the errors:
Unknown type [request] at [stockquote2.wsdl]: (line 29, column 
189)
message part requires one of either 'type' or 'element' attributes 
at [stockquote2.wsdl]: (line 29, column 189)

Wsdl examples around the web indicate that this usage is correct, 
yet I get this error. Is there any workaround for this ?

Thanks
Bala


_______________________________________________
Soup-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/soup-list