axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Kruse" <skr...@adaptivemethods.com>
Subject java.lang.RuntimeException: Data binding error
Date Mon, 21 Aug 2006 18:10:55 GMT
I'm currently trying to convert my axis 1.2 services to axis 2.0 and have been having a problem
when I try to run.  I'm using the code generator and everything seems to build fine, but when
I try to execute a service from a test client I keep getting the following exception.  Any
help would be greatly appreciated.  I have included my wsdl and the exception that I'm getting
below...


<?xml version="1.0" encoding="utf-8"?>
<definitions name="df_srvcs"
  targetNamespace="http://adaptivemethods.com/soapservices/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns:tns="http://adaptivemethods.com/soapservices/"
  xmlns:types="http://adaptivemethods.com/trackschema"
  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  xmlns="http://schemas.xmlsoap.org/wsdl/"
  elementFormDefault="qualified">
  
  <types>	  
    <xsd:schema targetNamespace="http://adaptivemethods.com/trackschema">
      <xsd:import namespace="http://adaptivemethods.com/trackschema" 
      schemaLocation="tracks.xsd"/>
    </xsd:schema>
  </types>
  
  <!-- MESSAGES -->
  <message name="Track">
    <part name="track" type="types:track" />
  </message>
  <message name="TrackId">
    <part name="trackId" type="types:trackId" />
  </message>
  <message name="Decorrelate">
    <part name="value" type="types:fcDecorrelateType" />
  </message>
  <message name="Return">
    <part name="return" type="types:returnStatusType" />
  </message>

  <!--  PORTS -->
  <!-- Port for FCCP to send requests to DFCM -->
  <portType name="df_port">
    <!-- CreateDatum -->
    <operation name="Insert">
      <input message="tns:Track" />
      <output message="tns:Return" />
    </operation>
    <!-- ClassifyContact, PostContactLabel, ReportContactToAWS, UpdateTargetParameters,
DesignateLampsProsecution, ContactOnApl, NotifyOfBreakEngage -->
    <operation name="Update">
      <input message="tns:Track" />
      <output message="tns:Return" />
    </operation>
    <!-- DeleteContact -->
    <operation name="Delete">
      <input message="tns:TrackId" />
      <output message="tns:Return" />
    </operation>
    <operation name="Select">
      <input message="tns:TrackId" />
      <output message="tns:Track" />
    </operation>       
    <operation name="Decorrelate">
      <input message="tns:Decorrelate" />
      <output message="tns:Return" />
    </operation>
  </portType>
  
  <binding type="tns:df_port" name="df_port">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="Insert">
      <soap:operation soapAction="http://adaptivemethods.com/Insert" />
      <input>
        <soap:body use="literal" namespace="http://adaptivemethods.com/trackschema"/>
      </input>
      <output>
        <soap:body use="literal" namespace="http://adaptivemethods.com/trackschema"/>
      </output>
    </operation>
    <operation name="Update">
      <soap:operation soapAction="http://adaptivemethods.com/Update" />
      <input>
        <soap:body use="literal" namespace="http://adaptivemethods.com/trackschema"/>
      </input>
      <output>
        <soap:body use="literal" namespace="http://adaptivemethods.com/trackschema"/>
      </output>
    </operation>
    <operation name="Delete">
      <soap:operation soapAction="http://adaptivemethods.com/Delete" />
      <input>
        <soap:body use="literal" namespace="http://adaptivemethods.com/trackschema"/>
      </input>
      <output>
        <soap:body use="literal" namespace="http://adaptivemethods.com/trackschema"/>
      </output>
    </operation>
    <operation name="Select">
      <soap:operation soapAction="http://adaptivemethods.com/Select" />
      <input>
        <soap:body use="literal" namespace="http://adaptivemethods.com/trackschema"/>
      </input>                        
      <output>
        <soap:body use="literal" namespace="http://adaptivemethods.com/trackschema"/>
      </output>
    </operation>
    
    <operation name="Decorrelate">
      <soap:operation soapAction="http://adaptivemethods.com/Decorrelate" />
      <input>
        <soap:body use="literal" namespace="http://adaptivemethods.com/trackschema"/>
      </input>
      <output>
        <soap:body use="literal" namespace="http://adaptivemethods.com/trackschema"/>
      </output>
    </operation>
  </binding>
  
  <service name="df_srvcs">
    <documentation>Fire Control to Data Fusion services interface </documentation>
    <port name="df_port" binding="tns:df_port">
      <soap:address location="http://localhost:8080/dffs/services/df_srvcs"/>
    </port>
  </service>
</definitions>


****************************************************************************************
4180 [main] DEBUG httpclient.wire.content  - << "<detail><Exception>org.apache.axis2.AxisFault:
Data binding error; nested exception is: [\n]"
4181 [main] DEBUG httpclient.wire.content  - << "[0x9]java.lang.RuntimeException: Data
binding error[\n]"
4181 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.axis2.AxisFault.makeFault(AxisFault.java:318)[\n]"
4181 [main] DEBUG httpclient.wire.content  - << "[0x9]at com.adaptivemethods.soapservices.Df_srvcsMessageReceiverInOut.invokeBusinessLogic(Unknown
Source)[\n]"
4181 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)[\n]"
4181 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:454)[\n]"
4181 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)[\n]"
4181 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)[\n]"
4181 [main] DEBUG httpclient.wire.content  - << "[0x9]at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)[\n]"
4181 [main] DEBUG httpclient.wire.content  - << "[0x9]at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)[\n]"
4181 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)[\n]"
4181 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)[\n]"
4181 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)[\n]"
4181 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)[\n]"
4182 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)[\n]"
4182 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)[\n]"
4182 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)[\n]"
4182 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)[\n]"
4183 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)[\n]"
4183 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)[\n]"
4183 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)[\n]"
4183 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)[\n]"
4183 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)[\n]"
4183 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)[\n]"
4183 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)[\n]"
4183 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)[\n]"
4183 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)[\n]"
4183 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)[\n]"
4184 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)[\n]"
4201 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)[\n]"
4202 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)[\n]"
4202 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)[\n]"
4202 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)[\n]"
4202 [main] DEBUG httpclient.wire.content  - << "[0x9]at java.lang.Thread.run(Thread.java:595)[\n]"
4202 [main] DEBUG httpclient.wire.content  - << "Caused by: java.lang.RuntimeException:
Data binding error[\n]"
4202 [main] DEBUG httpclient.wire.content  - << "[0x9]at com.adaptivemethods.soapservices.Df_srvcsMessageReceiverInOut.fromOM(Unknown
Source)[\n]"
4202 [main] DEBUG httpclient.wire.content  - << "[0x9]... 31 more[\n]"
4202 [main] DEBUG httpclient.wire.content  - << "Caused by: java.lang.NullPointerException[\n]"
4202 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.xmlbeans.impl.store.Cur$CurLoadContext.attr(Cur.java:3041)[\n]"
4202 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.xmlbeans.impl.store.Cur$CurLoadContext.attr(Cur.java:3058)[\n]"
4202 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.xmlbeans.impl.store.Locale.doNamespaces(Locale.java:900)[\n]"
4202 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.xmlbeans.impl.store.Locale.loadXMLStreamReader(Locale.java:1135)[\n]"
4202 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:843)[\n]"
4202 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:826)[\n]"
4203 [main] DEBUG httpclient.wire.content  - << "[0x9]at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:231)[\n]"
4203 [main] DEBUG httpclient.wire.content  - << "[0x9]at com.adaptivemethods.soapservices.UpdateDocument$Factory.parse(Unknown
Source)[\n]"
4203 [main] DEBUG httpclient.wire.content  - << "[0x9]... 32 more[\n]"

Mime
View raw message