---------- Ant ---------- Searching for build.xml ... Buildfile: C:\app\build.xml Loading any properties found in 'C:\Documents and Settings\ssauyet\.ant\tixx.properties' Loading any properties found in 'C:\app\build.properties' init: Created dir: C:\app\build Created dir: C:\app\build\classes Created dir: C:\app\dist Created dir: C:\app\gensrc\java copy-conf: Copying 1 file to C:\app\build\classes check-xfire: gen-code: log4j:WARN No appenders could be found for logger (org.codehaus.xfire.gen.Wsdl11Generator). log4j:WARN Please initialize the log4j system properly. Retrieving schema at 'http://schemas.xmlsoap.org/soap/encoding/', relative to 'file:/C:/app/src/wsdl/Events.wsdl'. org\xmlsoap\schemas\soap\encoding\AnyURI.java org\xmlsoap\schemas\soap\encoding\Array.java org\xmlsoap\schemas\soap\encoding\Base64Binary.java org\xmlsoap\schemas\soap\encoding\Boolean.java org\xmlsoap\schemas\soap\encoding\Byte.java org\xmlsoap\schemas\soap\encoding\Date.java org\xmlsoap\schemas\soap\encoding\DateTime.java org\xmlsoap\schemas\soap\encoding\Decimal.java org\xmlsoap\schemas\soap\encoding\Double.java org\xmlsoap\schemas\soap\encoding\Duration.java org\xmlsoap\schemas\soap\encoding\ENTITIES.java org\xmlsoap\schemas\soap\encoding\ENTITY.java org\xmlsoap\schemas\soap\encoding\Float.java org\xmlsoap\schemas\soap\encoding\GDay.java org\xmlsoap\schemas\soap\encoding\GMonth.java org\xmlsoap\schemas\soap\encoding\GMonthDay.java org\xmlsoap\schemas\soap\encoding\GYear.java org\xmlsoap\schemas\soap\encoding\GYearMonth.java org\xmlsoap\schemas\soap\encoding\HexBinary.java org\xmlsoap\schemas\soap\encoding\ID.java org\xmlsoap\schemas\soap\encoding\IDREF.java org\xmlsoap\schemas\soap\encoding\IDREFS.java org\xmlsoap\schemas\soap\encoding\Int.java org\xmlsoap\schemas\soap\encoding\Integer.java org\xmlsoap\schemas\soap\encoding\Language.java org\xmlsoap\schemas\soap\encoding\Long.java org\xmlsoap\schemas\soap\encoding\NCName.java org\xmlsoap\schemas\soap\encoding\NMTOKEN.java org\xmlsoap\schemas\soap\encoding\NMTOKENS.java org\xmlsoap\schemas\soap\encoding\NOTATION.java org\xmlsoap\schemas\soap\encoding\Name.java org\xmlsoap\schemas\soap\encoding\NegativeInteger.java org\xmlsoap\schemas\soap\encoding\NonNegativeInteger.java org\xmlsoap\schemas\soap\encoding\NonPositiveInteger.java org\xmlsoap\schemas\soap\encoding\NormalizedString.java org\xmlsoap\schemas\soap\encoding\ObjectFactory.java org\xmlsoap\schemas\soap\encoding\PositiveInteger.java org\xmlsoap\schemas\soap\encoding\QName.java org\xmlsoap\schemas\soap\encoding\Short.java org\xmlsoap\schemas\soap\encoding\String.java org\xmlsoap\schemas\soap\encoding\Struct.java org\xmlsoap\schemas\soap\encoding\Time.java org\xmlsoap\schemas\soap\encoding\Token.java org\xmlsoap\schemas\soap\encoding\UnsignedByte.java org\xmlsoap\schemas\soap\encoding\UnsignedInt.java org\xmlsoap\schemas\soap\encoding\UnsignedLong.java org\xmlsoap\schemas\soap\encoding\UnsignedShort.java org\xmlsoap\schemas\soap\encoding\package-info.java com\example\soap\Events.java com\example\soap\EventsServiceClient.java com\example\soap\EventsServiceImpl.java databox\ArEventList.java databox\EnAvailability.java databox\EnEventStatus.java databox\EnResultOrder.java databox\EventList.java databox\ObjectFactory.java databox\package-info.java compile: Compiling 58 source files to C:\app\build\classes Note: C:\app\gensrc\java\com\example\soap\EventsServiceClient.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. test-compile: Created dir: C:\app\test\junit\classes Compiling 1 source file to C:\app\test\junit\classes test: Created dir: C:\app\test\junit\tests Created dir: C:\app\test\junit\reports Running com.example.soap.EventsTest Testsuite: com.example.soap.EventsTest Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.225 sec Error: log4j:WARN No appenders could be found for logger (org.codehaus.xfire.transport.DefaultTransportManager). log4j:WARN Please initialize the log4j system properly. Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.225 sec ------------- Standard Error ----------------- log4j:WARN No appenders could be found for logger (org.codehaus.xfire.transport.DefaultTransportManager). log4j:WARN Please initialize the log4j system properly. ------------- ---------------- --------------- Testcase: testEventList(com.example.soap.EventsTest): Caused an ERROR Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Could not marshall type. org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Could not marshall type. org.codehaus.xfire.fault.XFireFault: Could not marshall type. at org.codehaus.xfire.jaxb2.JaxbType.writeObject(JaxbType.java:266) at org.codehaus.xfire.aegis.AegisBindingProvider.writeParameter(AegisBindingProvider.java:229) at org.codehaus.xfire.service.binding.AbstractBinding.writeParameter(AbstractBinding.java:273) at org.codehaus.xfire.service.binding.WrappedBinding.writeMessage(WrappedBinding.java:90) at org.codehaus.xfire.soap.SoapSerializer.writeMessage(SoapSerializer.java:80) at org.codehaus.xfire.transport.http.HttpChannel.writeWithoutAttachments(HttpChannel.java:56) at org.codehaus.xfire.transport.http.CommonsHttpMessageSender.getByteArrayRequestEntity(CommonsHttpMessageSender.java:422) at org.codehaus.xfire.transport.http.CommonsHttpMessageSender.send(CommonsHttpMessageSender.java:360) at org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:123) at org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48) at org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26) at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131) at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:79) at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114) at org.codehaus.xfire.client.Client.invoke(Client.java:336) at org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77) at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57) at $Proxy13.findEventList(Unknown Source) at com.example.soap.EventsTest.testEventList(EventsTest.java:21) Caused by: javax.xml.bind.MarshalException - with linked exception: [javax.xml.bind.JAXBException: databox.EnResultOrder is not known to this context] at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:295) at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:148) at org.codehaus.xfire.jaxb2.JaxbType.writeObject(JaxbType.java:261) Caused by: javax.xml.bind.JAXBException: databox.EnResultOrder is not known to this context at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:223) at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:238) at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:85) at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:127) at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeBody(ElementBeanInfoImpl.java:244) at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(ElementBeanInfoImpl.java:251) at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(ElementBeanInfoImpl.java:33) at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:461) at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:292) Caused by: javax.xml.bind.JAXBException: databox.EnResultOrder is not known to this context at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getBeanInfo(JAXBContextImpl.java:510) at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:82) Test com.example.soap.EventsTest FAILED Processing C:\app\test\junit\tests\TESTS-TestSuites.xml to C:\DOCUME~1\ssauyet\LOCALS~1\Temp\null1480994637 Loading stylesheet jar:file:/C:/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl Transform time: 553ms Deleting: C:\DOCUME~1\ssauyet\LOCALS~1\Temp\null1480994637 Processing C:\app\test\junit\tests\TESTS-TestSuites.xml to C:\app\test\junit\reports\junit-noframes.html Loading stylesheet jar:file:/C:/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-noframes.xsl Transform time: 110ms BUILD SUCCESSFUL Total time: 9 seconds Normal Termination Output completed (9 sec consumed).