You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Luca Santaniello (JIRA)" <ji...@apache.org> on 2010/10/14 15:52:33 UTC

[jira] Created: (AXIS2-4850) My WebService with custom exception

My WebService with custom exception
-----------------------------------

                 Key: AXIS2-4850
                 URL: https://issues.apache.org/jira/browse/AXIS2-4850
             Project: Axis2
          Issue Type: Test
         Environment: Axis 2 + Tomcat 6
            Reporter: Luca Santaniello
            Priority: Minor


Hi,

I developed my first webservice using axis 2 but I have a simple question for you!

My class is:

public class MyService 
{
    public int myMethod(int value) throws CustomException  {
         ................
    }
}

I generate aar! I deploy service on Tomcat! It run!

My problem is when my service trow CustomException. Hom cap client intercept this?

I generate ws.aar using ant script.

wsdl include my CustomException but if I generate client, it don't get CustomException when call myMethod method

Help me please


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org