Put the class into your .wsr and voil�.

Alternatively, if the wsr is part of a complete ear, the referred classes
may also be located
in a neighbour ejb-jar

-----Urspr�ngliche Nachricht-----
Von: Rupp,Heiko [mailto:heiko.rupp@;bancotec.de] 
Gesendet: Mittwoch, 23. Oktober 2002 13:12
An: '[EMAIL PROTECTED]'
Betreff: RE: [JBoss-user] Simple Hello-World Webservice for 3.2?


Hi,

> I've renamed the ear to _ear.zip so you can easily open it.
Thanks

> Hope this helps.

Yes, definitely.

Now ..

when I have server/all/deploy/hello.wsr
with META-INF/web-service.xml:
<deployment xmlns="http://xml.apache.org/axis/wsdd/";
xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance";
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
    <service name="testMath" provider="java:RPC">
        <parameter name="className" value="hello.math"/>
        <parameter name="allowedMethods" value="add"/>
    </service>
</deployment>

Where does the hello.math class have to be ?

The webservice itself gets deployed, but when calling it at
http://localhost:8080/jboss-net/services/testMath I get an exception that
the class 'hello.math' can not be found and Axis tells me that it has to go
'to the right place', which isn't really specific ..

Thanks
  Heiko
-- 
Bancotec GmbH      EMail: [EMAIL PROTECTED]
Calwer Str. 33     Telefon: +49 711 222 992 0
D-70173 Stuttgart  Telefax: +49 711 222 992 999


-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.com/


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to