473,320 Members | 1,936 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

wsdl.exe - problem with array of complex types

Hi,

I used wsdl.exe to generate a C# client proxy - included is a piece of the
wsdl file of interest...

<complexType name="GetSubscriberListEntry">
<sequence>
<element name="ServiceId" type="unsp:ServiceId" minOccurs="0"
maxOccurs="1" nillable="true"/>
<element name="ServiceIdType" type="unsp:ServiceIdType" minOccurs="1"
maxOccurs="1"/>
</sequence>
</complexType>

<complexType name="GetSubscriberListData">
<sequence>
<element name="GetSubscriberListEntry"
type="unsp:GetSubscriberListEntry" minOccurs="0" maxOccurs="unbounded"
nillable="true"/>
</sequence>
</complexType>

<complexType name="GetSubscriberListResult">
<sequence>
<element name="Result" type="unsp:ResultCodeStruct" minOccurs="1"
maxOccurs="1"/>
<element name="PaginatedInfo" type="unsp:PaginatedInfo" minOccurs="0"
maxOccurs="1" nillable="true"/>
<element name="TotalSubsFound" type="xsd:int" minOccurs="1"
maxOccurs="1"/>
<element name="GetSubscriberListData" type="unsp:GetSubscriberListData"
minOccurs="0" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>

<message name="GetSubscriberListResult">
<part name="Result" type="unsp:ResultCodeStruct"/>
<part name="PaginatedInfo" type="unsp:PaginatedInfo"/>
<part name="TotalSubsFound" type="xsd:int"/>
<part name="GetSubscriberListData" type="unsp:GetSubscriberListData"/>
</message>

<operation name="GetSubscriberList">
<documentation>Service definition of function
unsp__GetSubscriberList</documentation>
<input message="tns:GetSubscriberListRequest"/>
<output message="tns:GetSubscriberListResult"/>
</operation>

(SOAP:binding style="rpc")

When I call the GetSubscriberList method it returns successfully but the
GetSubscriberListResult's GetSubscriberListData property (complexType of
GetSubscriberListEntry) is always null? The TotalSubsFound property returns
the correct number of subscribers found and I can see via ethereal the
missing data is being sent by the server.

Thanks in advance,
--
Doug

Oct 27 '06 #1
0 1422

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Nick Caldwell | last post by:
Y'all, Problem: Reading complex data types returned from WSDL I'll present this in 3 sections. 1. Output of WSDL parser on Google API 2. Output of WSDL parser on Custom API 3. WSDL parser...
24
by: Generic Usenet Account | last post by:
Does anyone have an opinion on how IDL and WSDL compare to each other? Are they equally powerful in their "expressive power"? Sometimes it appears to me that IDL is a little easier for humans to...
0
by: olafmol | last post by:
Hello, i have a problem using a .NET WSDL Webservice from PHP. Using both the NuSOAP lib for PHP4, and the build-in SOAP lib for PHP5 it seems that the SOAP client cannot pass a variable amount...
0
by: Suresh Pasala | last post by:
Hello All, Iam using the ServiceDescription class and writing a wsdl file. Currently the way wsdl is generated is as follows. <definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"...
0
by: saish | last post by:
Hello I am new to vb.net webservice. My requirement is to design a VB.net web service which will send and receive xml documents. The xml document send and received would be a very complex .xsd...
1
by: Mike Logan | last post by:
I have a schema that defines my messages and objects. I then have a WSDL that defines the web services. I have my sample XSD, sample WSDL, and the code generated from WSDL.exe. In the generated...
5
by: Mike Logan | last post by:
I used WSDL.exe to generate a client side web proxy for a web service, called the web service, got the results but an array returned by the web service is not in the results. However if I use...
0
by: robert | last post by:
Hi all, I'm having a hard time resolving a namespace issue in my wsdl. Here's an element that explains my question, with the full wsdl below: <definitions name="MaragatoService"...
9
by: Nick Locke | last post by:
I have a fairly simple structure: - Simple Types in an XSD - Complex Types (one file) in another XSD, importing the Simple Types - More Complex Types (second file) in another XSD, again...
0
by: shaily | last post by:
hi I have a java web service called "Registration service" and C# client which is a consumer of that service java web service running under Tomcat has following interface API exposed ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.