axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris White (JIRA)" <>
Subject [jira] Created: (AXIS-1897) Axis 1.2RC3 and .NET 1.1: Problem with EchoMap
Date Tue, 22 Mar 2005 16:19:28 GMT
Axis 1.2RC3 and .NET 1.1: Problem with EchoMap

         Key: AXIS-1897
     Project: Axis
        Type: Bug
  Components: Samples, Serialization/Deserialization  
    Versions: 1.2RC3    
 Environment: Windows 2000 + Service Pack 4; Java JDK 5.0 version 1.5.0_02; .NET 1.1
    Reporter: Chris White

Calling the echoMap method on the sample EchoService returns the following error in the .NET
client application:

"System.Web.Services.Protocols.SoapException: org.xml.sax.SAXException: No deserializer for

The code snippet from the .NET client:

            Console.WriteLine("Calling echoMap");
            Map inMap = new Map();
            inMap.item = new mapItem[2]
               new mapItem(), 
               new mapItem()
            inMap.item[0].key = "Microsoft";
            inMap.item[0].value = ".NET";
            inMap.item[1].key = "Sun";
            inMap.item[1].value = "Java";
            Map outMap = echoService.echoMap(inMap);
            Console.WriteLine("echoMap response");
            mapItem[] items = outMap.item;
            foreach (mapItem mapItem in items)
                Console.WriteLine(mapItem.key + "=" + mapItem.value);

Running the SOAPMonitor showed that Axis received the SOAP request, but there was no corresponding
response displayed for that request.  The request displayed in the SOAPMonitor is: 

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="" xmlns:soapenc=""
xmlns:tns="" xmlns:types="" xmlns:xsi=""
  <soap:Body soap:encodingStyle="">
      <input href="#id1"/>
    <q1:Map id="id1" xsi:type="q1:Map" xmlns:q1="">
      <item href="#id2"/>
    <soapenc:Array id="id2" soapenc:arrayType="q2:mapItem[2]" xmlns:q2="">
      <Item href="#id3"/>
      <Item href="#id4"/>
    <q3:mapItem id="id3" xsi:type="q3:mapItem" xmlns:q3="">
      <key xsi:type="xsd:string">Microsoft</key>
      <value xsi:type="xsd:string">.NET</value>
    <q4:mapItem id="id4" xsi:type="q4:mapItem" xmlns:q4="">
      <key xsi:type="xsd:string">Sun</key>
      <value xsi:type="xsd:string">Java</value>

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message