axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal Knüppel (JIRA) <>
Subject [jira] [Created] (AXIS2-5760) Service class must have public as access modifier
Date Mon, 18 Apr 2016 06:06:25 GMT
Pascal Knüppel created AXIS2-5760:

             Summary: Service class must have public as access modifier
                 Key: AXIS2-5760
             Project: Axis2
          Issue Type: Bug
          Components: kernel
    Affects Versions: 1.7.0
         Environment: Windows 7, Java 7_u80 and Java 8_u66
axis2 version 1.7.1
            Reporter: Pascal Knüppel
            Priority: Blocker

I am acutally not really sure if this is a Bug or wrong configuration but as wished here as
an issue.

Hi I currently got the problem that I am not able to access my service.
I patched it from axis 1.5.1 to axis 1.7.1. The old version still works
fine but if I deploy the upgraded version and try to access it via a
simple testclient I get the following error message, that the server
does not even log with logging level on debug:

    <?xml version="1.0" encoding="UTF-8"?>

                <faultstring>Service class must have public as access

my Service class looks as follows:


    public final class Service implements
    SteuerberaterOnlineServiceSkeletonInterface {
    ladeAbrechnungsDatenAnfrage0) {
                    return new LadeAbrechnungsDatenErgebnis();

and at last my services.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- This file was auto-generated from WSDL -->
    <!-- by the Apache Axis2 version: 1.5.1  Built on : Oct 19, 2009
    (10:59:00 EDT) -->
        <service name="SteuerberaterOnlineService">
                <messageReceiver mep=""
            <parameter name="useOriginalwsdl">false</parameter>
            <parameter name="modifyUserWSDLPortAddress">true</parameter>
            <operation name="ladeAbrechnungsDaten"



removing the final keyword does not help either.
Any suggestions what is going wrong here?

P.s.: I am currently updating 7 projects to this axis2 version and only 1 project does not
have this error. The configuration though is pretty much the same. That's why I do not understand
what the mistake might be.

This message was sent by Atlassian JIRA

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

View raw message