axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal jayasinghe <deep...@gmail.com>
Subject Re: [Axis2] Build failure
Date Mon, 31 Mar 2014 01:17:15 GMT
Found the problem, I was using JDK1.7 and seems like build has some
issues with it. Downgraded (set the JAVA_HOME) to JDK 1.6 and looks all
fine.

Deepla
>
>
>  
>
>
> > Date: Sun, 30 Mar 2014 11:45:01 -0700
> > From: deepalk@gmail.com
> > To: java-dev@axis.apache.org
> > Subject: [Axis2] Build failure
> >
> > I am getting following build error, is that only for me?
> >
> > Failed tests:
> >
> >
> SchemaDataLocatorTest.testOutputInlineForm:79->XMLSchemaTest.assertSimilarXML:
> > 66 XML similar org.custommonkey.xmlunit.Diff
> > [different] Expected attribute value 'echoStringArray' but was
> > 'echoString' - co
> > mparing <xs:element name="echoStringArray"...> at
> > /schema[1]/element[1]/@name to
> > <xs:element name="echoString"...> at /schema[1]/element[1]/@name
> MG>package org.apache.axis2.sample.echo;
> public class EchoImpl {
>     public EchoImpl() {
>     }
>     public java.lang.String echoString(java.lang.String in) {
>         return in;
>     }
>     public java.lang.String[] echoStringArray(java.lang.String[] in) {
>         return in;
>     }
> }
> MG>
>
> MG> referencing META-INF/services.xml
> <service name="">
>     <description>
>         This is a testing service , to test the system is working or not
>     </description>
>     <parameter
> name="ServiceClass">org.apache.axis2.sample.echo.EchoImpl</parameter>
>     <operation name="echoStringArray">
>         <message label="In">
>             <parameter name="messageIN">messageIN</parameter>
>         </message>
>         <message label="Out">
>             <parameter name="messageOut">messageOut</parameter>
>         </message>
>     </operation>
> </service>
> MG>
>  
> MG>the binding in WSDL
>  <binding name="Axis2SampleDocLitPortBinding"
> type="tns:Axis2SampleDocLitPortType">
>   <soap:binding style="document"
> transport="http://schemas.xmlsoap.org/soap/http"/
> <http://schemas.xmlsoap.org/soap/http%22/>>
>   <operation name="echoStringArray">
>    <soap:operation soapAction="echoStringArray" style="document"/>
>    <input>
>     <soap:body use="literal"
> namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"/
> <http://userguide.axis2.apache.org/Axis2SampleDocLit%22/>>
>    </input>
>    <output>
>     <soap:body use="literal"
> namespace="http://userguide.axis2.apache.org/Axis2SampleDocLit"/
> <http://userguide.axis2.apache.org/Axis2SampleDocLit%22/>>
>    </output>
>   </operation>
> MG>it looks as if your default namespace is
> http://userguide.axis2.apache.org/Axis2SampleDocLit
> which is in same location as Flight MH370
> MG>what happens when you switch your default namespace to your own XSD?
> MG>Martin
>
> >
> >
> DefaultSchemaGeneratorTest.testExtendedPOJO:541->testClass:115->XMLSchemaTest.
> > assertSimilarXML:66 XML similar org.custommonkey.xmlunit.Diff
> > [different] Expected attribute value 'setSss' but was 'getSss' -
> > comparing <xs:e
> > lement name="setSss"...> at /schema[1]/element[1]/@name to <xs:element
> > name="get
> > Sss"...> at /schema[1]/element[1]/@name
> >
> >
> >
> DefaultSchemaGeneratorTest.testAbstractPOJO:545->testClass:115->XMLSchemaTest.
> > assertSimilarXML:66 XML similar org.custommonkey.xmlunit.Diff
> > [different] Expected attribute value 'setS' but was 'getI' - comparing
> > <xs:eleme
> > nt name="setS"...> at /schema[1]/element[1]/@name to <xs:element
> > name="getI"...>
> > at /schema[1]/element[1]/@name
> >
> >
> >
> DefaultSchemaGeneratorTest.testConcretePOJO:549->testClass:115->XMLSchemaTest.
> > assertSimilarXML:66 XML similar org.custommonkey.xmlunit.Diff
> > [different] Expected attribute value 'setS' but was 'isBool' - comparing
> > <xs:ele
> > ment name="setS"...> at /schema[1]/element[1]/@name to <xs:element
> > name="isBool"
> > ...> at /schema[1]/element[1]/@name
> >
> >
> >
> DocLitBareSchemaGeneratorTest>DefaultSchemaGeneratorTest.testExtendedPOJO:541-
> >
> >DefaultSchemaGeneratorTest.testClass:115->XMLSchemaTest.assertSimilarXML:66
> > XML
> > similar org.custommonkey.xmlunit.Diff
> > [different] Expected attribute value 'sss' but was 'getSssResult' -
> > comparing <x
> > s:element name="sss"...> at /schema[1]/element[1]/@name to <xs:element
> > name="get
> > SssResult"...> at /schema[1]/element[1]/@name
> >
> >
> >
> DocLitBareSchemaGeneratorTest>DefaultSchemaGeneratorTest.testAbstractPOJO:545-
> >
> >DefaultSchemaGeneratorTest.testClass:115->XMLSchemaTest.assertSimilarXML:66
> > XML
> > similar org.custommonkey.xmlunit.Diff
> > [different] Expected attribute value 's' but was 'getIResult' -
> > comparing <xs:el
> > ement name="s"...> at /schema[1]/element[1]/@name to <xs:element
> > name="getIResul
> > t"...> at /schema[1]/element[1]/@name
> >
> > Thanks
> > Deepal
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >


Mime
View raw message