473,379 Members | 1,330 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,379 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 19 '05 #1
2 1167
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 19 '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 19 '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.
2
by: Carmit | last post by:
Hi, I'm trying to build a proxy for this webservice: http://webservices.sabre.com/wsdl/sabreXML1.0.00/tpf/EndTransactionLLSRQ.wsdl I'm getting the following error: Error: Unable to import...
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.