The actual wsdl text is below (at end of post).
symptoms:
From DataStage Manager, I use
Import->Table Definitions->WebServices WSDL Definitions...
Once the Web Service Meta Data Importer opens,
I give it the wsdl's url: http://myserver:51800/xyz001Wsd/Config1?wsdl
This error dialog opens up:
"Object reference not set to an instance of an object."
with [Continue] and a [Details] buttons.
[Details] opens a little text area with the following:
Code: Select all
--- begin Details ---
Source: WSMDImportLib
Target Site: System.Web.Services.Description.OperationCollection.GetOperationsFromPort(System.Web.Services.Description.Port)
Wind32/COM code: 0x0
at AscentialSoftware.WebServices.WSMDI.Description.Binder.GetOperationsFromPort(Port poert)
at AscentialSoftware.WebServices.WSMDI.WSDLExplorer.RefreshTreeView(XmlTextReader reader)
--- end Details ---
browser with some (!) error icons on the right.
Additional points:
1) The same wsdl url imports and runs as expected in SoapUI.
2) The DataStage Manager can import wsdl for an RTI web service I have deployed.
3) My problem wsdl has a series of nested <wsdl:import ....> tags that I believe DataStage is having a hard time with because the RTI generated wsdl has no <wsdl:import>'s.
Has anyone found an easy way around this?
Is it even an issue in DataStage 8.1 ?
Thanks for reading this far,
John G.
Code: Select all
--- begin wsdl ---
<wsdl:definitions
xmlns:wsdl = "http://schemas.xmlsoap.org/wsdl/"
name = "xyz001Wsd"
targetNamespace = "urn:xyz001Wsd"
xmlns:bns0 = "urn:xyz001Wsd/Config1/document"
xmlns:soap = "http://schemas.xmlsoap.org/wsdl/soap/">
<wsdl:import
location = "http://myserver:51800/xyz001/Config1/bindings?wsdl&style=document"
namespace = "urn:xyz001Wsd/Config1/document"/>
<wsdl:service name = "xyz001">
<wsdl:port
name = "Config1Port_Document"
binding = "bns0:Config1Binding">
<soap:address location = "http://myserver:51800/xyz001/Config1?style=document"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
--- end wsdl ---