472,985 Members | 2,714 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

problem with complexTypes and arrayType in wsdl?

My problem is that c# seems to get nothing back from this wsdl (source
below) and I'm wondering if I'm writing it wrong? sample xml returned
is also below. Can someone please either tell me what is wrong or
point me in the right direction? Is my mapping in wsdl correct with my
xml output?

I'm refering to my getSRGByWeek method (login works find and returns an
int)

--David Shultz

----WSDL--

<?xml version="1.0"?>
<definitions name="BoxofficeService"
targetNamespace="/RTK/Digitrak/SOAP/Client/Variety"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="/RTK/Digitrak/SOAP/Client/Variety"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsdl="/RTK/Digitrak/SOAP/Client/Variety"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<xsd:schema
targetNamespace="/RTK/Digitrak/SOAP/Client/Variety">

<xsd:element name="login">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="username" type="xsd:string" />
<xsd:element name="password" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>

<xsd:element name="loginResponse" type="xsd:int" />

<xsd:element name="getSRGByWeekRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="usename" type="xsd:string" />
<xsd:element name="password" type="xsd:string" />
<xsd:element name="week" type="xsd:date" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>

<xsd:complexType name="srg_title">
<xsd:all>
<xsd:element name="TITLE_NAME"
type="xsd:string" />
<xsd:element name="TITLE_NO"
type="xsd:string" />
<xsd:element name="EXHIBITION_WEEK"
type="xsd:date" />
<xsd:element name="REV"
type="xsd:string" />
<xsd:element name="WEEKEND_REV"
type="xsd:string" />
<xsd:element name="FRIDAY_REV"
type="xsd:string" />
<xsd:element name="SATURDAY_REV"
type="xsd:string" />
<xsd:element name="SUNDAY_REV"
type="xsd:string" />
<xsd:element name="MONDAY_REV"
type="xsd:string" />
<xsd:element name="TUESDAY_REV"
type="xsd:string" />
<xsd:element name="WEDNESDAY_REV"
type="xsd:string" />
<xsd:element name="THURSDAY_REV"
type="xsd:string" />
<xsd:element name="NUM_THEATERS"
type="xsd:string" />
<xsd:element name="WEEKEND_NUM_THEATERS"
type="xsd:string" />
<xsd:element name="FRIDAY_NUM_THEATERS"
type="xsd:string" />
<xsd:element name="SATURDAY_NUM_THEATERS"
type="xsd:string" />
<xsd:element name="SUNDAY_NUM_THEATERS"
type="xsd:string" />
<xsd:element name="MONDAY_NUM_THEATERS"
type="xsd:string" />
<xsd:element name="TUESDAY_NUM_THEATERS"
type="xsd:string" />
<xsd:element name="WEDNESDAY_NUM_THEATERS"
type="xsd:string" />
<xsd:element name="THURSDAY_NUM_THEATERS"
type="xsd:string" />
<xsd:element name="CUME_REV"
type="xsd:string" />
<xsd:element name="HOLIDAY_REV"
type="xsd:string" />
<xsd:element name="HOLIDAY_NUM_THEATERS"
type="xsd:string" />
</xsd:all>
</xsd:complexType>

<xsd:element name="ArrayOfSRGData">
<xsd:complexType>
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType"
wsdl:arrayType="xsdl:srg_title[]" />
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</types>
<message name="loginRequest">
<part name="loginRequestSoapMsg" element="xsdl:login" />
</message>
<message name="loginResponse">
<part name="result" element="xsdl:loginResponse" />
</message>
<message name="getSRGByWeekRequest">
<part name="getSRGByWeekReqSoapMsg"
element="xsdl:getSRGByWeekRequest" />
</message>
<message name="getSRGByWeekResponse">
<part name="result" element="xsdl:ArrayOfSRGData" />
</message>
<portType name="BoxofficeServicePortType">
<operation name="login">
<input message="tns:loginRequest" />
<output message="tns:loginResponse" />
</operation>
<operation name="getSRGByWeek">
<input message="tns:getSRGByWeekRequest" />
<output message="tns:getSRGByWeekResponse" />
</operation>
</portType>
<binding name="BoxofficeServiceBinding"
type="tns:BoxofficeServicePortType">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
<operation name="login">
<soap:operation style="document" soapAction="" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
<operation name="getSRGByWeek">
<soap:operation style="document" soapAction="" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
</binding>
<service name="BoxofficeService">
<port name="WorldFunctionsPort"
binding="tns:BoxofficeServiceBinding">
<soap:address location="**Removed**"/>
</port>
</service>
</definitions>
--SAMPLE-XML--
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<getSRGByWeekResponse xmlns="/RTK/Digitrak/SOAP/Client/Variety">
<srg_title>
<monday_rev xsi:nil="true" />
<title_no xsi:type="xsd:int">408791</title_no>
<thursday_rev xsi:nil="true" />
<tuesday_num_theaters xsi:type="xsd:int">6</tuesday_num_theaters>
<thursday_num_theaters
xsi:type="xsd:int">6</thursday_num_theaters>
<wednesday_num_theaters
xsi:type="xsd:int">6</wednesday_num_theaters>
<weekend_rev xsi:type="xsd:int">46965</weekend_rev>
<holiday_rev xsi:nil="true" />
<friday_rev xsi:nil="true" />
<saturday_rev xsi:nil="true" />
<wednesday_rev xsi:nil="true" />
<sunday_rev xsi:nil="true" />
<exhibition_week xsi:type="xsd:string">20050107
00:00:00</exhibition_week>
<num_theaters xsi:type="xsd:int">6</num_theaters>
<weekend_num_theaters xsi:type="xsd:int">6</weekend_num_theaters>
<friday_num_theaters xsi:type="xsd:int">6</friday_num_theaters>
<holiday_num_theaters xsi:nil="true" />
<cume_rev xsi:type="xsd:int">56595670</cume_rev>
<saturday_num_theaters
xsi:type="xsd:int">6</saturday_num_theaters>
<title_name xsi:type="xsd:string">Space Station 3D</title_name>
<sunday_num_theaters xsi:type="xsd:int">6</sunday_num_theaters>
<monday_num_theaters xsi:type="xsd:int">6</monday_num_theaters>
<rev xsi:type="xsd:int">46965</rev>
<tuesday_rev xsi:nil="true" />
</srg_title>
</getSRGByWeekResponse>
</soap:Body>
</soap:Envelope>

Jun 21 '06 #1
0 1347

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

Similar topics

4
by: Jens | last post by:
Hello, i am trying to call a Apache WebService, which accepts NULL-Values for some Parameters of a specific Web-Method. NULL-Values are mapped within the soap-request by the .NET Client...
0
by: umhlali | last post by:
I get the following exception when my VB.NET app calls a Java web service that returns an array of objects. The same call works for a single object though. So looks like there is no problem...
4
by: JLJ | last post by:
I have a very simple webservice written in Java/Axis. It takes in a complexType with 2 string elements, userid and password. The response is a complexType containing two complexTypes each having...
2
by: yqlu | last post by:
I hava developed a client in C# that is connected to a 3-party XML Web Services developed in Java based on the AXIS 1.1. Most methods call are successful except for one method named "findObjects"...
0
by: helldiversafe-news | last post by:
Hi all, I will use a apache soap service with an .net c# client and have a problem with an complex array: <?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope...
1
by: Matthew | last post by:
Using .NET 1.1 I trying to consume a web service that returns an integer and an array of type string which I declare and use line this Dim Results() As String Me.txtMain.Text =...
2
by: forcey | last post by:
Hi all, I'm writing a SOAP server using the SOAP extension and I need to return an array_map_name_balance, which is defined in a WSDL file like this: <xsd:complexType name="map_name_balance">...
0
by: Andrew 2006 | last post by:
I have a wsdl definition that includes the following definition for the element <Preferencesinside the request createFooBar: <xs:element minOccurs="1" name="Preferences" nillable="true"...
0
by: David Kemp | last post by:
Hi, I am using asp.net (vb.net) to access a set of 3rd party web services and have successfully accessed some of them, however, when I try to access a particular web service, I get the following...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.