axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Augusto Arcoverde da Rocha" <>
Subject Help to throw an Exception
Date Tue, 28 Nov 2006 13:29:05 GMT
I have created a service class (bellow), defined the services.xml
(bellow) and generated a jar into axis2/services folder. The wsdl was
automagic generated. But when I try use this web service from a
client, it got only " Server returned HTTP
response code: 500 for URL:

I'm trying understand how to generate an soap exception with Axis2...
If somoene have some tips or a more detailed documentation about
this... give me a help =)



I have created a service class like this:
public class MyService {
    public void operation() throws Exception {
        throw new Exception();

The services.xml look like below:

		Exception Test

    <parameter name="ServiceClass" locked="false">MyService</parameter>
   	<operation name="operation">

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message