Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-2725

Error when sending date element

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.4
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      --

      Description

      An error accours when I am trying to send a response from server side to client.
      It happens only when a date element exist in the response,
      I can see that although the the element is Date type it is not deserialized by DateDeserializer but by SimpleDeserializer.
      another thing is that I see in the soap-monitor that the Date field is formated as a calendar field, rather then yyyy-MM-dd.

      <ns3:orderEntryDate date="13" day="1" hours="0" minutes="0" month="7" seconds="0" time="650494800000" timezoneOffset="-180" year="90" >Mon Aug 13 00:00:00 IDT 1990</ns3:orderEntryDate>

      The Error is:
      Mar 2, 2008 10:34:00 PM org.apache.axis.client.Call invoke
      SEVERE: Exception:
      java.lang.IllegalArgumentException
      at org.apache.axis.encoding.ser.SimpleDeserializer.onEndElement(SimpleDeserializer.java:176)
      at org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:502)
      at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
      at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:171)
      at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
      at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
      at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
      at org.apache.axis.client.Call.invoke(Call.java:2467)
      at org.apache.axis.client.Call.invoke(Call.java:2366)
      at org.apache.axis.client.Call.invoke(Call.java:1812)

        Attachments

        1. soap-request.xml
          0.7 kB
          vered gold
        2. deploy.wsdd
          43 kB
          vered gold
        3. xsd_snip.txt
          1 kB
          vered gold

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              veredgo vered gold
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: