Loading Array from WSDL
Posted: Mon Aug 10, 2009 11:04 am
Ok - This is an ongoing problem - trying to load a very large file through a WSDL. In this case the WSDL service has now been modified to send each line as an element as follows:
Resulting in a returned array somewhat like this:
And I can see this data - however, it is still coming back as one row from the WSDL call. This means that even though the sender has changed their structure to "split up" the data into rows, the DataStage WSDL transformer still returns it as one large row (structure).
I checked, and there doesn't seem to be any way to tell the WSDL to return an array.
If I have to receive a very large (500mb) file is there ANY way to do it from a single WSDL call or am I out of luck? I can request modifications on the WSDL side - I just have to know what they need to do!
Code: Select all
</xs:element>
<xs:element name="FileContentData">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="1" name="FileContentDataLine" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?><PBTFileTransWSReply xmlns="urn:SJM_V1.0">
<TransWSDLOrchReply>
<OrchJobInfo>
<jobId>BBC77247C601AA6FA1EACD59E5294B2F</jobId>
<jobStartTime>2009-08-10T11:44:59.049-05:00</jobStartTime>
<projectName>FTS</projectName>
<configurationName>Default</configurationName>
<orchestrationName>Orchestrations/FTS_WS_HTTP</orchestrationName>
<routerHostName>ussp-xxxx.com</routerHostName>
</OrchJobInfo>
<OrchFaultInfo>
<name/>
<message/>
<activityId/>
<activityName/>
<faultTime/>
</OrchFaultInfo>
<OrchStatusInfo>
<status>True</status>
<errorCode/>
<string01/>
<string02/>
<string03/>
</OrchStatusInfo>
<FileContentData>
<FileContentDataLine>aaa</FileContentDataLine>
<FileContentDataLine>bbb</FileContentDataLine>
<FileContentDataLine>ccc</FileContentDataLine>
I checked, and there doesn't seem to be any way to tell the WSDL to return an array.
If I have to receive a very large (500mb) file is there ANY way to do it from a single WSDL call or am I out of luck? I can request modifications on the WSDL side - I just have to know what they need to do!