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

SOAP Exception - Deserializer Problem

Hi,

In my C# code, I have defined a Map object which is sent as part of a
request to a web service, here's an extract of the part of the code:
-

Map map = new Map();
map.item = new mapItem[4]
{
new mapItem(),
new mapItem(),
new mapItem(),
new mapItem()
};
.................

But when I submit the request containing the Map object, the compiler
throws an error with the following message:-

org.xml.sax.SAXException: No deserializer for {http://xml.apache.org/
xml-soap}mapItem

I am not sure if this error is based on the web service or if it is my
code.

Aug 10 '07 #1
1 4004
<ho*****@googlemail.comwrote in message
news:11**********************@x35g2000prf.googlegr oups.com...
Hi,

In my C# code, I have defined a Map object which is sent as part of a
request to a web service, here's an extract of the part of the code:
-

Map map = new Map();
map.item = new mapItem[4]
{
new mapItem(),
new mapItem(),
new mapItem(),
new mapItem()
};
.................

But when I submit the request containing the Map object, the compiler
throws an error with the following message:-

org.xml.sax.SAXException: No deserializer for {http://xml.apache.org/
xml-soap}mapItem

I am not sure if this error is based on the web service or if it is my
code.
Do you use anything like "org.xml.sax" in your code? If not, I'd suspect
this is from the web service, which is likely to be written in Java.

It's also likely that your mapitem class is being serialized into the wrong
namespace.
--
John Saunders [MVP]

Aug 11 '07 #2

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

Similar topics

1
by: Yurj | last post by:
Hi all! I've to produce this xml as a soap request (I'm using SOAPpy): <soapenv:Body> <request soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <arg0> <item> <key...
0
by: Rushikesh Joshi | last post by:
Problem: Whenever i have called your stringArray method with argument of Array for different style. It work like below... #Pass XML without XML Serialiser & Vector by value #Pass XML with XML...
0
by: Oliver Hirschi | last post by:
Hi, I am really confused. I try to call a soap-method on a server with one parameter and I like to get the return-parameter of this method, but I get ever the following exception by invoking the...
1
by: Imran | last post by:
Hi, Please bear with me as I have only 1 weeks .NET experience. I am using VB.NET to write a stand-alone client application that connects to a Web service. I successfully send a request for a...
2
by: Eric | last post by:
Hi, I have a .NET client and Java web service. I send an request and the answer with a correct SOAP message. But on the .NET client I get an exeption from the XML deserializer that he has...
4
by: pepcag | last post by:
I used http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconalteringsoapmessageusingsoapextensions.asp as a template to create a very simple web method with soap...
0
by: Matt Wood | last post by:
Hi, I have written a Web Service for a customer which expects a SOAP message with Document/Literal encoding, and uses RoutingStyle=SoapServiceRoutingStyle.RequestElement to route the SOAP body...
2
by: furrypop | last post by:
Hi, I'm trying to get the Perl SOAP::Lite examples to work on a Windows PC, running Apache 2.2.4. Apache is definitely serving CGI scripts, as I've tested a dummy Hello World thing. I'm also...
0
by: santycalde | last post by:
Hi!! I am executing a call to a webservice with SOAP and the following mistake takes place: The XML of the wsdl is: <?xml version="1.0" encoding="UTF-8" ?> - <wsdl:definitions...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.