473,387 Members | 1,504 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,387 software developers and data experts.

Arrays and href in call to webservice causing a problem

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 error:

No Deserializer found to deserialize a ':defauts' using encoding style
'http://schemas.xmlsoap.org/soap/encoding/'.

I have noticed that it uses anchors to refer to things further down
the document, which their example does not do and I wondered if this
was the cause of the problems I am having.

e.g.

Sample created by .NET serialisation
....

<defauts href="#id2"/>

....

<soapenc:Array id="id2" soapenc:arrayType="tns:BeanDefaut[1]">

<Item href="#id4"/>

</soapenc:Array>

....

<tns:BeanDefaut id="id4" xsi:type="tns:BeanDefaut">

<code xsi:type="xsd:string">609</code>

<valeur xsi:type="xsd:string">CONNAISSANCE_ND</valeur>

</tns:BeanDefaut>
Example document given by creator of web service:

<defauts xsi:type="g03:ArrayOfBeanDefaut"

soapenc:arrayType="g03:BeanDefaut[]">

<beanDefaut xsi:type="g03:BeanDefaut">

<code xsi:type="xsd:string">CIRC_BOUCLE</code>

<valeur xsi:type="xsd:string"></valeur>

</beanDefaut>

<beanDefaut xsi:type="g03:BeanDefaut">

<code xsi:type="xsd:string">TENSION</code>

<valeur xsi:type="xsd:string"></valeur>

</beanDefaut>

</defauts>
I generated the .net classes from the wsdl files that were provided.
I am using Visual Studio 2005, .NET framework v2.0, but I also tried
generating the wsdl using the 1.1 wsdl.exe and that provided similar
results.

Do I need to override the serialisation and produce my own XML for the
arrays?

Any help gratefully received,

David
Jun 27 '08 #1
0 974

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

Similar topics

14
by: Brandon Hoppe | last post by:
I'm trying to change the src of an ilayer in the parent document from a link inside the ilayer. I'm not able to get it to work. All that happens is Netscape 4 crashes. This is for Netscape 4 only....
6
by: ASPfool | last post by:
Hello everyone, Please help me before I throw my computer out of the window: I'm working on a web application in classic ASP (vbscript), which is making calls to some webservices. The calls...
2
by: Miguel | last post by:
Hi, I'm developing an application in C# with Windows Forms for my company that is similar to the MSN Messenger. This application uses a webservice for registering users, etc... and as 2...
3
by: parrot toes | last post by:
Summary: I have been trying to make requests of a web service provided by Axis using a dotnet client with code generated by wsdl.exe and have been getting exceptions when trying to process the...
39
by: Martin Jørgensen | last post by:
Hi, I'm relatively new with C-programming and even though I've read about pointers and arrays many times, it's a topic that is a little confusing to me - at least at this moment: ---- 1)...
0
by: =?Utf-8?B?TWljaGFlbA==?= | last post by:
Hello, i have a problem with jagged arrays and a webservice. I try to call a webservice with an array of a class that contains jagged arrays. Here is an example: class MyClass{ string...
3
by: Tarik Monem | last post by:
Hi Everyone, Still a newbie with FLEX, and I've passed arrays using AJAX to FLEX before, but I've never passed links to FLEX. Basically, this is the OUTPUT, which I wanted, but I'm given an...
11
by: John Sheppard | last post by:
Hello there, I am running a webservice on IIS6, sometimes it runs at a reasonable speed, sometimes it runs painfully slow and sometimes inbetween. The application that consumes the service is...
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:
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...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.