WebService Task Result Different Browser Result -
01-17-2006
, 11:15 PM
I've got web service that returns a collection of records
following is from webservice test page:
<FetchDDRecordFile2Response xmlns="http://generic.namespace.org">
<Records>
<Album>
<Name>string</Name>
</Album>
<Album>
<Name>string</Name>
</Album>
</Records>
</FetchDDRecordFile2Response>
When using the Test web webservice page off of the asmx , the results
are consistent with the WSDL.
When using the Web Service Task in a SSIS Package, the results saved
to the file seem to ignore the WSDL and generate the following
<ArrayOfAlbum xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Album>
<Name xmlns="http://generic.namespace.org">Blue</Name>
</Album>
<Album>
<Name xmlns="http://generic.namespace.org">Green</Name>
</Album>
</ArrayOfAlbum>
Why doesn't the Web Service Task create results consistent with the
wsdl?
thanks. |