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

Try to send and recieve complexTypes between AXIS web Service and.NET

Hi,
I have a AXIS Webservice that is expecting a hashtable as an input. I
add the web reference to the webservice and the WSDL that is generated
contains the below schema for the HashTable. When I run the .NET
client and send information in the below format, I get the following
error -

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

To me it seems that the problem is the interoperatbility between .NET
and Axis with HashTable as the datatype. Any help would be
appreciated.
Schema for the Hashtable:
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://xml.apache.org/xml-soap">
<xsd:import namespace="http://w3dvap992:8080/dms/services/dms" /
>
<xsd:import namespace="http://businessobjects.dms.ingenico.com" /
>
<xsd:import namespace="http://schemas.xmlsoap.org/soap/
encoding/" />
<xsd:complexType name="mapItem">
<xsd:sequence>
<xsd:element name="key" nillable="true" type="xsd:anyType" /
>
<xsd:element name="value" nillable="true"
type="xsd:anyType" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Map">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="item"
type="apachesoap:mapItem" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Vector">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="item"
type="xsd:anyType" />
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
Oct 6 '08 #1
1 2819
<Pu**********@gmail.comwrote in message
news:21**********************************@y29g2000 hsf.googlegroups.com...
Hi,
I have a AXIS Webservice that is expecting a hashtable as an input. I
add the web reference to the webservice and the WSDL that is generated
contains the below schema for the HashTable. When I run the .NET
client and send information in the below format, I get the following
error -

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

To me it seems that the problem is the interoperatbility between .NET
and Axis with HashTable as the datatype. Any help would be
appreciated.
You have correctly identified the problem. It makes no sense for a web
service to send or receive types that are specific to the platform it is
running on, unless you don't care about interoperability. Apparently, the
creators of the web service you want to call do not want you to call it,
since you are not using Axis.

--
John Saunders | MVP - Connected System Developer

Oct 6 '08 #2

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

Similar topics

0
by: Anand Natrajan | last post by:
Hi! I have a VB .NET client that is accessing an rpc/encoded service deployed in Axis 1.2. One of the operations, whoami, returns a string array. The server-side Java signature of this method is...
1
by: Dave Keays | last post by:
I am setting-up an experimental web service using Apache Axis but I'm having problems. AXIS can't find a library that I've verified exists on my computer and that CLASSPATH points to it. I'm using...
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...
1
by: parrot toes | last post by:
I tried to post this question before, but there was an error when posting. I case it did get posted and in order to avoid duplication, I'll just repost a summary. I have written a dotnet client...
5
by: vthakur | last post by:
Hello: I have a Axis Web Service that sets the sessionid in the SOAP header for persisting the session. The client is a .Net client that processes the header as an Unknown Header. It sets the...
11
by: David R | last post by:
This is a repost, with additional information. I have a Net 2.0 client (C# Winform) calling an Axis web service. The .NET client can authenticate, create requested objects, serialize the objects...
1
by: David R | last post by:
I am calling an Axis web service from a Net 2.0 client. To be helpful, the developers on the Axis side sent a test client that they created, with snippets below. What I am trying to do is add a...
3
by: Jeremy Chapman | last post by:
I've writtin a very simple web service in axis which returns an array of classes. I consume it in a .net app. When receiving the response, my .net app generates an error "Cannot assign object...
0
by: Siyodia | last post by:
This is a java program which i need to run facing compilation error Its consuming a third party web service method I have the supported files(folder) which contain necessary class files...
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
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: 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
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:
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...

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.