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

Stcd Cerdec <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <CACrD+RFodWWokL1uddfEoKDPdxqPpPuiB++OnyAtVgrFz+jtvg@mail.gmail.com>
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$






On Tue, Jun 10, 2014 at 12:27 PM, robertlazarski . <[email protected]
> wrote:

> On Tue, Jun 10, 2014 at 10:12 AM, Stcd Cerdec <[email protected]> wrote:
> <snip>
> > Caused by: java.lang.ClassNotFoundException:
> > com.javapapers.jee.AnimalTypeService
> >
> >
> > Any thoughts? I see the class not found but that's the class that I'm
> > compiling. Figuring it's some config issue.
> >
> > v/r,
> >
> > Frank
>
> What's in your services.xml and inside your AAR file? Does the
> ServiceClass defined in your services.xml exist in the AAR?
>
> - R
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
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.