473,396 Members | 2,023 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,396 software developers and data experts.

What's wrong with my WSDL files?

Hi there,

I'm trying to import the following files as web reference:

http://216.18.68.93:9999/CollectionWsInterface.wsdl
The hosted web service was not created with Visual Studio.net.

Could any of you import it into a project and tell me why I cannot invoke
the "getSimpleCollection" function?

It is supposed to return a simple array of 3 string items.
When you import the above wsdl file, the following two files are also
imported:
http://216.18.68.93:9999/CollectionW...interface.wsdl

http://216.18.68.93:9999/CollectionWsInterface.xsd
Whenever I try execute the getSimpleCollection function, I get the
following error in the debugger:

Cannot assign object of type System.String to an object of type
System.String[].
Could anybody take a look at the xml files above and point me to what I
have to do to properly return the correct string[] type?

Thanks!

Nov 16 '05 #1
2 1720
I had replied to this problem a while ago, can you google for this
thread "Web-Services with a Collection of a custom object"

regards
erymuzuan

hellrazor wrote:
Hi there,

I'm trying to import the following files as web reference:

http://216.18.68.93:9999/CollectionWsInterface.wsdl
The hosted web service was not created with Visual Studio.net.

Could any of you import it into a project and tell me why I cannot invoke
the "getSimpleCollection" function?

It is supposed to return a simple array of 3 string items.
When you import the above wsdl file, the following two files are also
imported:
http://216.18.68.93:9999/CollectionW...interface.wsdl

http://216.18.68.93:9999/CollectionWsInterface.xsd
Whenever I try execute the getSimpleCollection function, I get the
following error in the debugger:

Cannot assign object of type System.String to an object of type
System.String[].
Could anybody take a look at the xml files above and point me to what I
have to do to properly return the correct string[] type?

Thanks!

Nov 16 '05 #2
erymuzuan <er*******@yahoo.com> wrote in
news:up**************@TK2MSFTNGP15.phx.gbl:
I had replied to this problem a while ago, can you google for this
thread "Web-Services with a Collection of a custom object"

regards
erymuzuan

hellrazor wrote:
Hi there,

I'm trying to import the following files as web reference:

http://216.18.68.93:9999/CollectionWsInterface.wsdl
The hosted web service was not created with Visual Studio.net.

Could any of you import it into a project and tell me why I cannot
invoke the "getSimpleCollection" function?

It is supposed to return a simple array of 3 string items.
When you import the above wsdl file, the following two files are also
imported:
http://216.18.68.93:9999/CollectionW...interface.wsdl

http://216.18.68.93:9999/CollectionWsInterface.xsd
Whenever I try execute the getSimpleCollection function, I get the
following error in the debugger:

Cannot assign object of type System.String to an object of type
System.String[].
Could anybody take a look at the xml files above and point me to what
I have to do to properly return the correct string[] type?

Thanks!

The problem is not that the message is RPC/Encoded. I have tried other
functions that return other complexTypes. The only problem is when I try
to obtain unbounded objects!
Nov 16 '05 #3

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

Similar topics

2
by: dotNetty | last post by:
Hi I have a problem with validating WSDL-Files using XMLValidatingReader. I'm adding all schemas in the <definitions>-Tag to the XmlValidatingReader.Schemas Property. and here is the Problem:...
0
by: David | last post by:
We have a .NET web service that has IIS authentication set to "allow anonymous". However, the web service does its own 'application-level' authentication (by validating the HTTP authentication...
1
by: Camilla | last post by:
I'm making one of my first web services (with C#) and need help getting started. I have received an idl file and a sdl file that describes the interface I need to implement... but how do I...
2
by: hellrazor | last post by:
Hi there, I'm trying to import the following files as web reference: http://216.18.68.93:9999/CollectionWsInterface.wsdl The hosted web service was not created with Visual Studio.net.
0
by: Stefan Lischke | last post by:
Hi, I'm really desperate using code generation(wsdl.exe) from wsdl files for latest WS-Eventing(including WS-Addressing) Specs. I'm writing my diploma about "publish subscribe systems based on...
5
by: Jeff | last post by:
We are using .Net and the wsdl Utility to generate proxies to consume web services built using the BEA toolset. The data architects on the BEA side create XML schemas with various entities in...
1
by: drb | last post by:
Hi, Newbie question #2 - hope that's OK! I'm trying to create a WSDL file using one or more XSD schema files. While WSDL.exe doesn't seem to support the XSD "import" function, if I include a...
2
by: Anbu | last post by:
Hi, I have WSDL files generated by Java based Axis software. I need to use these WSDL files in ASP .NET. How can I import the WSDL files? Should i need to create a stub to using WSDL.exe to...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.