Hi,

  I am trying to interop between a .NET client and a AXIS web service.  AXIS supports Map types to be serializable.  When I serialize a Hashtable in a Java Web Service, AXIS generates the following schema in the types element of the WSDL.

- <wsdl:types>
- <schema targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema">
  <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
- <complexType name="Map">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="item">
- <complexType>
- <all>
  <element name="key" type="xsd:anyType" />
  <element name="value" type="xsd:anyType" />
  </all>
  </complexType>
  </element>
  </sequence>
  </complexType>
  </schema>
  </wsdl:types>
 
  On the .NET client side, the wsdl.exe produces the following error.
 
Error: Unable to import binding 'HashServErrorSoapBinding' from namespace 'http:
//localhost/axis/services/HashServError'.
  - Unable to import operation 'getCollection'.
  - Object reference not set to an instance of an object.
If you would like more help, please type "wsdl /?".
 
    My guess is that the error is because of the unability of .NET to import the "targetNamespace" of Map schema.  Am I right?  Any comments would be appreciated. 
 
Thanks.
Sateesh.



Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!

Reply via email to