xmlbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bottabing <paul_bo...@hotmail.com>
Subject Could not get a Java Date type from a Schema complex type
Date Wed, 03 Oct 2007 22:00:59 GMT

I am getting the following exception.  I am using XMLBeans and Axis.

org.apache.xmlbeans.impl.values.XmlValueNotSupportedException: Could not get
a Java Date type from a Schema complex type

The object that is being SOAPified doesn’t contain a date value. Below is
the SOAP call, the completed response prior to sending across the wire
(which looks fine), the stack trace and the WSDL.  Thanks.

1-       SOAP Call
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:end="http://endpoint.webservice.cssng.nis.cingular.com">

   <soapenv:Header/>
   <soapenv:Body>
      <end:getLocationByKey
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <locationId xsi:type="xsd:int">7</locationId>
      </end:getLocationByKey>
   </soapenv:Body>

</soapenv:Envelope>


2 – Logged output of response

<xml-fragment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <accessDescription>TODO</accessDescription>
  <accessSituation>TODO</accessSituation>
  <addressLine1>621 MAIN STREET SOUTHEAST</addressLine1>
  <addressLine2 xsi:nil="true"/>
  <candidateType>TODO</candidateType>
  <city>MINNEAPOLIS</city>
  <comment>TODO</comment>
  <commonName>TODO</commonName>
  <country>US</country>
  <county>HENNEPIN</county>
  <directions xsi:nil="true"/>
  <financialLocationId>10082199</financialLocationId>
  <floor>3</floor>
  <fmLocationEntryId>TODO</fmLocationEntryId>
  <imLocationId>TODO</imLocationId>
  <isLocationCompanyOwned>0</isLocationCompanyOwned>
  <legacyLocationId>7</legacyLocationId>
  <locationClli>TODO</locationClli>
  <locationLatitude>1.0166667</locationLatitude>
  <locationLongitude>-1.0166667</locationLongitude>
  <locationStatus>false</locationStatus>
  <locationType>CELL SITE</locationType>
  <market>MINNESOTA</market>
  <marketCluster>TODO</marketCluster>
  <morphologyType>URBAN</morphologyType>
  <phoneNumber>1111111</phoneNumber>
  <region>CENTRAL</region>
  <room xsi:nil="true"/>
  <state>MN</state>
  <subleaseRights>999</subleaseRights>
  <usId>7</usId>
  <zipCode>55414</zipCode>
  <zipPlus4 xsi:nil="true"/>
</xml-fragment>

 3. WSDL

<wsdl:definitions
targetNamespace="urn:schemas.site.network.mobility.com.att">
−
	<!--
WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)
-->
−
	<wsdl:types>
−
	<schema targetNamespace="urn:schemas.site.network.mobility.com.att">
<import namespace="http://values.impl.xmlbeans.apache.org"/>
<import namespace="http://xml.apache.org/xml-soap"/>
<import namespace="http://schemas.site.network.mobility.att.com"/>
<import namespace="schemas.site.network.mobility.com.att"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
−
	<complexType name="ArrayOf_xsd_anyType">
−
	<complexContent>
−
	<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:anyType[]"/>
</restriction>
</complexContent>
</complexType>
</schema>
−
	<schema targetNamespace="http://xml.apache.org/xml-soap">
<import namespace="http://values.impl.xmlbeans.apache.org"/>
<import namespace="urn:schemas.site.network.mobility.com.att"/>
<import namespace="http://schemas.site.network.mobility.att.com"/>
<import namespace="schemas.site.network.mobility.com.att"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
−
	<complexType name="Vector">
−
	<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="item"
type="xsd:anyType"/>
</sequence>
</complexType>
</schema>
−
	<schema targetNamespace="schemas.site.network.mobility.com.att">
<import namespace="http://values.impl.xmlbeans.apache.org"/>
<import namespace="urn:schemas.site.network.mobility.com.att"/>
<import namespace="http://xml.apache.org/xml-soap"/>
<import namespace="http://schemas.site.network.mobility.att.com"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
−
	<complexType name="local">
−
	<complexContent>
−
	<extension base="">
−
	<sequence>
<element name="accessDescription" nillable="true" type="xsd:string"/>
<element name="accessSituation" nillable="true" type="xsd:string"/>
<element name="addressLine1" nillable="true" type="xsd:string"/>
<element name="addressLine2" nillable="true" type="xsd:string"/>
<element name="candidateType" nillable="true" type="xsd:string"/>
<element name="city" nillable="true" type="xsd:string"/>
<element name="comment" nillable="true" type="xsd:string"/>
<element name="commonName" nillable="true" type="xsd:string"/>
<element name="country" nillable="true" type="xsd:string"/>
<element name="county" nillable="true" type="xsd:string"/>
<element name="directions" nillable="true" type="xsd:string"/>
<element name="financialLocationId" nillable="true" type="xsd:string"/>
<element name="floor" nillable="true" type="xsd:string"/>
<element name="fmLocationEntryId" nillable="true" type="xsd:string"/>
<element name="imLocationId" nillable="true" type="xsd:string"/>
<element name="isLocationCompanyOwned" type="xsd:int"/>
<element name="legacyLocationId" nillable="true" type="xsd:string"/>
<element name="locationClli" nillable="true" type="xsd:string"/>
<element name="locationLatitude" type="xsd:double"/>
<element name="locationLongitude" type="xsd:double"/>
<element name="locationStatus" nillable="true" type="xsd:string"/>
<element name="locationType" nillable="true" type="xsd:string"/>
<element name="market" nillable="true" type="xsd:string"/>
<element name="marketCluster" nillable="true" type="xsd:string"/>
<element name="morphologyType" nillable="true" type="xsd:string"/>
<element name="phoneNumber" nillable="true" type="xsd:string"/>
<element maxOccurs="unbounded" name="powerAccountNumberArray"
nillable="true" type="xsd:string"/>
<element name="powerAccountNumberList" nillable="true"
type="impl:ArrayOf_xsd_anyType"/>
<element maxOccurs="unbounded" name="powerMeterNumberArray" nillable="true"
type="xsd:string"/>
<element name="powerMeterNumberList" nillable="true"
type="impl:ArrayOf_xsd_anyType"/>
<element name="region" nillable="true" type="xsd:string"/>
<element name="room" nillable="true" type="xsd:string"/>
<element name="setAccessDescription" type="xsd:boolean"/>
<element name="setAccessSituation" type="xsd:boolean"/>
<element name="setAddressLine1" type="xsd:boolean"/>
<element name="setAddressLine2" type="xsd:boolean"/>
<element name="setCandidateType" type="xsd:boolean"/>
<element name="setCity" type="xsd:boolean"/>
<element name="setComment" type="xsd:boolean"/>
<element name="setCommonName" type="xsd:boolean"/>
<element name="setCountry" type="xsd:boolean"/>
<element name="setCounty" type="xsd:boolean"/>
<element name="setDirections" type="xsd:boolean"/>
<element name="setFinancialLocationId" type="xsd:boolean"/>
<element name="setFloor" type="xsd:boolean"/>
<element name="setImLocationId" type="xsd:boolean"/>
<element name="setIsLocationCompanyOwned" type="xsd:boolean"/>
<element name="setLegacyLocationId" type="xsd:boolean"/>
<element name="setLocationClli" type="xsd:boolean"/>
<element name="setLocationLatitude" type="xsd:boolean"/>
<element name="setLocationLongitude" type="xsd:boolean"/>
<element name="setLocationStatus" type="xsd:boolean"/>
<element name="setLocationType" type="xsd:boolean"/>
<element name="setMarket" type="xsd:boolean"/>
<element name="setMarketCluster" type="xsd:boolean"/>
<element name="setMorphologyType" type="xsd:boolean"/>
<element name="setPhoneNumber" type="xsd:boolean"/>
<element name="setRegion" type="xsd:boolean"/>
<element name="setRoom" type="xsd:boolean"/>
<element name="setState" type="xsd:boolean"/>
<element name="setSubleaseRights" type="xsd:boolean"/>
<element name="setUsId" type="xsd:boolean"/>
<element name="setZipCode" type="xsd:boolean"/>
<element name="setZipPlus4" type="xsd:boolean"/>
<element name="state" nillable="true" type="xsd:string"/>
<element name="subleaseRights" type="xsd:int"/>
<element name="usId" nillable="true" type="xsd:string"/>
<element name="zipCode" nillable="true" type="xsd:string"/>
<element name="zipPlus4" nillable="true" type="xsd:string"/>
</sequence>
</extension>
</complexContent>
</complexType>
</schema>
</wsdl:types>
−
	<wsdl:message name="getLocationByKeyRequest">
<wsdl:part name="locationId" type="xsd:int"/>
</wsdl:message>
−
	<wsdl:message name="getLocationByKeyResponse">
<wsdl:part name="getLocationByKeyReturn" type="xsd:anyType"/>
</wsdl:message>
−
	<wsdl:portType name="LocationServiceInterfaceEndpoint">
−
	<wsdl:operation name="getLocationByKey" parameterOrder="locationId">
<wsdl:input message="impl:getLocationByKeyRequest"
name="getLocationByKeyRequest"/>
<wsdl:output message="impl:getLocationByKeyResponse"
name="getLocationByKeyResponse"/>
</wsdl:operation>
</wsdl:portType>
−
	<wsdl:binding name="LocationServiceInterfaceSoapBinding"
type="impl:LocationServiceInterfaceEndpoint">
<wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
−
	<wsdl:operation name="getLocationByKey">
<wsdlsoap:operation soapAction=""/>
−
	<wsdl:input name="getLocationByKeyRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://endpoint.webservice.cssng.nis.cingular.com"
use="encoded"/>
</wsdl:input>
−
	<wsdl:output name="getLocationByKeyResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:schemas.site.network.mobility.com.att" use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
−
	<wsdl:service name="LocationServiceInterfaceEndpointService">
−
	<wsdl:port binding="impl:LocationServiceInterfaceSoapBinding"
name="LocationServiceInterface">
<wsdlsoap:address
location="http://localhost:8080/CSS-ws/soap/LocationServiceInterface"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

4 – Stack Trace

- Exception:

org.apache.xmlbeans.impl.values.XmlValueNotSupportedException: Could not get
a Java Date type from a Schema complex type
        at
org.apache.xmlbeans.impl.values.XmlObjectBase.gDateValue(XmlObjectBase.java:1578)
        at
org.apache.xmlbeans.impl.values.XmlObjectBase.getGDateValue(XmlObjectBase.java:1520)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.axis.utils.BeanPropertyDescriptor.get(BeanPropertyDescriptor.java:127)
        at
org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:192)
        at
org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1504)
        at
org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
        at
org.apache.axis.encoding.SerializationContext.outputMultiRefs(SerializationContext.java:1055)
        at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:145)
        at
org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478)
        at
org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
        at org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)
        at
org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount(AttachmentsImpl.java:554)
        at org.apache.axis.Message.getContentType(Message.java:486)
        at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:775)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)

        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)

        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)

- Exception:

AxisFault

 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.io.IOException:
org.apache.xmlbeans.impl.values.XmlValueNotSupportedException: Could not get
a Java Date type from a Schema complex type

 faultActor:
 faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}stackTrace:java.io.IOException:
org.apache.xmlbeans.impl.values.XmlValueNotSupportedException: Could not get
a Java Date type from a Schema complex type

        at
org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.

java:272)

        at
org.apache.axis.encoding.SerializationContext.serializeActual(Seriali

zationContext.java:1504)

        at
org.apache.axis.encoding.SerializationContext.serialize(Serialization

Context.java:980)

        at
org.apache.axis.encoding.SerializationContext.outputMultiRefs(Seriali

zationContext.java:1055)

        at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:145)

        at
org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478

)

        at
org.apache.axis.message.MessageElement.output(MessageElement.java:120

8)

        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)

        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)

        at org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)

        at
org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount(Attach

mentsImpl.java:554)

        at org.apache.axis.Message.getContentType(Message.java:486)

        at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:77

5)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

        at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBas

e.java:327)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

icationFilterChain.java:252)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

ilterChain.java:173)

        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV

alve.java:213)

        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV

alve.java:178)

        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j

ava:126)

        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j

ava:105)

        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal

ve.java:107)

        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav

a:148)

        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java

:869)

        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p

rocessConnection(Http11BaseProtocol.java:664)

        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo

int.java:527)

        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol

lowerWorkerThread.java:80)

        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP

ool.java:684)

        at java.lang.Thread.run(Thread.java:595)

 

        {http://xml.apache.org/axis/}hostname:MTGI60

 

java.io.IOException:
org.apache.xmlbeans.impl.values.XmlValueNotSupportedExcepti

on: Could not get a Java Date type from a Schema complex type

        at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)

        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:317)

        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)

        at org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)

        at
org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount(Attach

mentsImpl.java:554)

        at org.apache.axis.Message.getContentType(Message.java:486)

        at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:77

5)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

        at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBas

e.java:327)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

icationFilterChain.java:252)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

ilterChain.java:173)

        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV

alve.java:213)

        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV

alve.java:178)

        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j

ava:126)

        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j

ava:105)

        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal

ve.java:107)

        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav

a:148)

        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java

:869)

        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p

rocessConnection(Http11BaseProtocol.java:664)

        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo

int.java:527)

        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol

lowerWorkerThread.java:80)

        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP

ool.java:684)

        at java.lang.Thread.run(Thread.java:595)

Caused by: java.io.IOException:
org.apache.xmlbeans.impl.values.XmlValueNotSuppo

rtedException: Could not get a Java Date type from a Schema complex type

        at
org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.

java:272)

        at
org.apache.axis.encoding.SerializationContext.serializeActual(Seriali

zationContext.java:1504)

        at
org.apache.axis.encoding.SerializationContext.serialize(Serialization

Context.java:980)

        at
org.apache.axis.encoding.SerializationContext.outputMultiRefs(Seriali

zationContext.java:1055)

        at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:145)

        at
org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478

)

        at
org.apache.axis.message.MessageElement.output(MessageElement.java:120

8)

        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)

        ... 22 more

- Exception:

org.apache.xmlbeans.impl.values.XmlValueNotSupportedException: Could not get
a J

ava Date type from a Schema complex type

        at
org.apache.xmlbeans.impl.values.XmlObjectBase.gDateValue(XmlObjectBas

e.java:1578)

        at
org.apache.xmlbeans.impl.values.XmlObjectBase.getGDateValue(XmlObject

Base.java:1520)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at
org.apache.axis.utils.BeanPropertyDescriptor.get(BeanPropertyDescript

or.java:127)

        at
org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.

java:192)

        at
org.apache.axis.encoding.SerializationContext.serializeActual(Seriali

zationContext.java:1504)

        at
org.apache.axis.encoding.SerializationContext.serialize(Serialization

Context.java:980)

        at
org.apache.axis.encoding.SerializationContext.outputMultiRefs(Seriali

zationContext.java:1055)

        at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:145)

        at
org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478

)

        at
org.apache.axis.message.MessageElement.output(MessageElement.java:120

8)

        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)

        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)

        at org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)

        at
org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount(Attach

mentsImpl.java:554)

        at org.apache.axis.Message.writeTo(Message.java:535)

        at
org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.j

ava:902)

        at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:77

7)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

        at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBas

e.java:327)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

icationFilterChain.java:252)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

ilterChain.java:173)

        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV

alve.java:213)

        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV

alve.java:178)

        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j

ava:126)

        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j

ava:105)

        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal

ve.java:107)

        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav

a:148)

        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java

:869)

        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p

rocessConnection(Http11BaseProtocol.java:664)

        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo

int.java:527)

        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol

lowerWorkerThread.java:80)

        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP

ool.java:684)

        at java.lang.Thread.run(Thread.java:595)

- Exception:

AxisFault

 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException

 faultSubcode:

 faultString: java.io.IOException:
org.apache.xmlbeans.impl.values.XmlValueNotSu

pportedException: Could not get a Java Date type from a Schema complex type

 faultActor:

 faultNode:

 faultDetail:

        {http://xml.apache.org/axis/}stackTrace:java.io.IOException:
org.apache.

xmlbeans.impl.values.XmlValueNotSupportedException: Could not get a Java
Date ty

pe from a Schema complex type

        at
org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.

java:272)

        at
org.apache.axis.encoding.SerializationContext.serializeActual(Seriali

zationContext.java:1504)

        at
org.apache.axis.encoding.SerializationContext.serialize(Serialization

Context.java:980)

        at
org.apache.axis.encoding.SerializationContext.outputMultiRefs(Seriali

zationContext.java:1055)

        at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:145)

        at
org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478

)

        at
org.apache.axis.message.MessageElement.output(MessageElement.java:120

8)

        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)

        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)

        at org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)

        at
org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount(Attach

mentsImpl.java:554)

        at org.apache.axis.Message.writeTo(Message.java:535)

        at
org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.j

ava:902)

        at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:77

7)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

        at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBas

e.java:327)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

icationFilterChain.java:252)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

ilterChain.java:173)

        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV

alve.java:213)

        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV

alve.java:178)

        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j

ava:126)

        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j

ava:105)

        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal

ve.java:107)

        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav

a:148)

        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java

:869)

        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p

rocessConnection(Http11BaseProtocol.java:664)

        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo

int.java:527)

        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol

lowerWorkerThread.java:80)

        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP

ool.java:684)

        at java.lang.Thread.run(Thread.java:595)

 

        {http://xml.apache.org/axis/}hostname:MTGI60

 

java.io.IOException:
org.apache.xmlbeans.impl.values.XmlValueNotSupportedExcepti

on: Could not get a Java Date type from a Schema complex type

        at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)

        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:317)

        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)

        at org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)

        at
org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount(Attach

mentsImpl.java:554)

        at org.apache.axis.Message.writeTo(Message.java:535)

        at
org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.j

ava:902)

        at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:77

7)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

        at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBas

e.java:327)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

icationFilterChain.java:252)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

ilterChain.java:173)

        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV

alve.java:213)

        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV

alve.java:178)

        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j

ava:126)

        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j

ava:105)

        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal

ve.java:107)

        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav

a:148)

        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java

:869)

        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p

rocessConnection(Http11BaseProtocol.java:664)

        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo

int.java:527)

        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol

lowerWorkerThread.java:80)

        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP

ool.java:684)

        at java.lang.Thread.run(Thread.java:595)

Caused by: java.io.IOException:
org.apache.xmlbeans.impl.values.XmlValueNotSuppo

rtedException: Could not get a Java Date type from a Schema complex type

        at
org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.

java:272)

        at
org.apache.axis.encoding.SerializationContext.serializeActual(Seriali

zationContext.java:1504)

        at
org.apache.axis.encoding.SerializationContext.serialize(Serialization

Context.java:980)

        at
org.apache.axis.encoding.SerializationContext.outputMultiRefs(Seriali

zationContext.java:1055)

        at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:145)

        at
org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478

)

        at
org.apache.axis.message.MessageElement.output(MessageElement.java:120

8)

        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)

        ... 23 more

- Exception:

org.apache.xmlbeans.impl.values.XmlValueNotSupportedException: Could not get
a J

ava Date type from a Schema complex type

        at
org.apache.xmlbeans.impl.values.XmlObjectBase.gDateValue(XmlObjectBas

e.java:1578)

        at
org.apache.xmlbeans.impl.values.XmlObjectBase.getGDateValue(XmlObject

Base.java:1520)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at
org.apache.axis.utils.BeanPropertyDescriptor.get(BeanPropertyDescript

or.java:127)

        at
org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.

java:192)

        at
org.apache.axis.encoding.SerializationContext.serializeActual(Seriali

zationContext.java:1504)

        at
org.apache.axis.encoding.SerializationContext.serialize(Serialization

Context.java:980)

        at
org.apache.axis.encoding.SerializationContext.outputMultiRefs(Seriali

zationContext.java:1055)

        at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:145)

        at
org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478

)

        at
org.apache.axis.message.MessageElement.output(MessageElement.java:120

8)

        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)

        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)

        at org.apache.axis.Message.writeTo(Message.java:539)

        at
org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.j

ava:902)

        at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:77

7)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

        at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBas

e.java:327)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

icationFilterChain.java:252)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

ilterChain.java:173)

        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV

alve.java:213)

        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV

alve.java:178)

        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j

ava:126)

        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j

ava:105)

        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal

ve.java:107)

        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav

a:148)

        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java

:869)

        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p

rocessConnection(Http11BaseProtocol.java:664)

        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo

int.java:527)

        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol

lowerWorkerThread.java:80)

        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP

ool.java:684)

        at java.lang.Thread.run(Thread.java:595)

- java.io.IOException:

AxisFault

 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException

 faultSubcode:

 faultString: java.io.IOException:
org.apache.xmlbeans.impl.values.XmlValueNotSu

pportedException: Could not get a Java Date type from a Schema complex type

 faultActor:

 faultNode:

 faultDetail:

        {http://xml.apache.org/axis/}stackTrace:java.io.IOException:
org.apache.

xmlbeans.impl.values.XmlValueNotSupportedException: Could not get a Java
Date ty

pe from a Schema complex type

        at
org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.

java:272)

        at
org.apache.axis.encoding.SerializationContext.serializeActual(Seriali

zationContext.java:1504)

        at
org.apache.axis.encoding.SerializationContext.serialize(Serialization

Context.java:980)

        at
org.apache.axis.encoding.SerializationContext.outputMultiRefs(Seriali

zationContext.java:1055)

        at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:145)

        at
org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478

)

        at
org.apache.axis.message.MessageElement.output(MessageElement.java:120

8)

        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)

        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)

        at org.apache.axis.Message.writeTo(Message.java:539)

        at
org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.j

ava:902)

        at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:77

7)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

        at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBas

e.java:327)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

icationFilterChain.java:252)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

ilterChain.java:173)

        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV

alve.java:213)

        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV

alve.java:178)

        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j

ava:126)

        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j

ava:105)

        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal

ve.java:107)

        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav

a:148)

        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java

:869)

        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p

rocessConnection(Http11BaseProtocol.java:664)

        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo

int.java:527)

        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol

lowerWorkerThread.java:80)

        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP

ool.java:684)

        at java.lang.Thread.run(Thread.java:595)

 

        {http://xml.apache.org/axis/}hostname:MTGI60

 

java.io.IOException:
org.apache.xmlbeans.impl.values.XmlValueNotSupportedExcepti

on: Could not get a Java Date type from a Schema complex type

        at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)

        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:317)

        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)

        at org.apache.axis.Message.writeTo(Message.java:539)

        at
org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.j

ava:902)

        at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:77

7)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

        at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBas

e.java:327)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

icationFilterChain.java:252)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

ilterChain.java:173)

        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV

alve.java:213)

        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV

alve.java:178)

        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j

ava:126)

        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j

ava:105)

        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal

ve.java:107)

        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav

a:148)

        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java

:869)

        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p

rocessConnection(Http11BaseProtocol.java:664)

        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo

int.java:527)

        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol

lowerWorkerThread.java:80)

        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP

ool.java:684)

        at java.lang.Thread.run(Thread.java:595)

Caused by: java.io.IOException:
org.apache.xmlbeans.impl.values.XmlValueNotSuppo

rtedException: Could not get a Java Date type from a Schema complex type

        at
org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.

java:272)

        at
org.apache.axis.encoding.SerializationContext.serializeActual(Seriali

zationContext.java:1504)

        at
org.apache.axis.encoding.SerializationContext.serialize(Serialization

Context.java:980)

        at
org.apache.axis.encoding.SerializationContext.outputMultiRefs(Seriali

zationContext.java:1055)

        at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:145)

        at
org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478

)

        at
org.apache.axis.message.MessageElement.output(MessageElement.java:120

8)

        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)

        ... 21 more


-- 
View this message in context: http://www.nabble.com/Could-not-get-a-Java-Date-type-from-a-Schema-complex-type-tf4564656.html#a13028826
Sent from the Xml Beans - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org


Mime
View raw message