Re: axis2, problem creating/testing a simple web service

"robertlazarski ." <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <CABpPLBXvnueBZeu-CrwV8NUjeR1st98GfE+1+TJpfVtqBwiVEQ@mail.gmail.com>
On Tue, Jun 10, 2014 at 1:56 PM, Stcd Cerdec <[email protected]> wrote:
> Obviously I did not create these as they where generated.
>
> services.xml:
> <service name="AnimalTypeService" >
>     <Description>
>         Please Type your service description here
>     </Description>
>     <messageReceivers>
>         <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only"
> class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver" />
>         <messageReceiver  mep="http://www.w3.org/2004/08/wsdl/in-out"
> class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
>     </messageReceivers>
>     <parameter name="ServiceClass"
> locked="false">com.javapapers.jee.AnimalTypeService</parameter>
> </service>
>
>
> $ jar xvf version.aar
>   created: META-INF/
>  inflated: META-INF/MANIFEST.MF
>   created: sample/
>   created: sample/axisversion/
>  inflated: sample/axisversion/Version.class
>  inflated: META-INF/NOTICE
>  inflated: META-INF/services.xml
>  inflated: META-INF/LICENSE
>   created: META-INF/maven/
>   created: META-INF/maven/org.apache.axis2/
>   created: META-INF/maven/org.apache.axis2/version/
>  inflated: META-INF/maven/org.apache.axis2/version/pom.xml
>  inflated: META-INF/maven/org.apache.axis2/version/pom.properties
> demo@frank-dev:/tmp/aar$
>

version.aar is part of the Axis2 distro - its not your AAR that you
generated . Try to find the right AAR and put that into your
WEB-INF/services dir.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.