FYI, if you're interested...

I am able to call MS SQL Server via SOAP using Axis, after a couple of
tweaks and work arounds.

The MS SQL Server SOAP handler emits the following segment in its WSDL:

...
<xsd:complexType name='SqlRowSet'>
  <xsd:sequence>
    <xsl:element ref='xsd:schema'/>
    <xsd:any/>
  </xsd:sequence>
  <xsd:attribute ref='sqltypes:IsNested'/>
</xsd:complexType>
...


The reference to 'xsd:schema' causes an exception in WSDL2Java for an
unreferenced type.

If I hand edit the WSDL to change it to 'xsd:string', I can get WSDL2Java to
emit the Java I need, even though I have to avoid using that type (e.g.
structure my code to not use it).



Also, Axis does not handle output parameters from SQL Server SOAP correctly
(I can't remember the error, I've had to work around it). I saw today that
there was a fix for output parameters in the last spot. If I can find the
time, I'll see if it fixes things.


Per

Reply via email to