[ https://issues.apache.org/jira/browse/AXIS2-5760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15246775#comment-15246775 ]
Hudson commented on AXIS2-5760: ------------------------------- SUCCESS: Integrated in Axis2 #3443 (See [https://builds.apache.org/job/Axis2/3443/]) AXIS2-5760: Fix broken modifier check introduced by AXIS2-1871. (veithen: rev 1739826) * axis2/modules/kernel/src/org/apache/axis2/util/Utils.java * axis2/modules/kernel/test/org/apache/axis2/util/FinalClass.java * axis2/modules/kernel/test/org/apache/axis2/util/UtilsTest.java > Service class must have public as access modifier > ------------------------------------------------- > > Key: AXIS2-5760 > URL: https://issues.apache.org/jira/browse/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: > {code:xml} > <?xml version="1.0" encoding="UTF-8"?> > <soapenv:Envelope > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> > <soapenv:Header/> > <soapenv:Body> > <soapenv:Fault> > <faultcode>soapenv:Server</faultcode> > <faultstring>Service class > de.fiverx.steuerberater.ws.v1.Service must have public as access > Modifier</faultstring> > <detail/> > </soapenv:Fault> > </soapenv:Body> > </soapenv:Envelope> > {code} > my Service class looks as follows: > {code:title=Service.java|borderStyle=solid} > package de.fiverx.steuerberater.ws.v1; > public final class Service implements > SteuerberaterOnlineServiceSkeletonInterface { > public > de.fiverx.steuerberater.gfi_bremen.v1.LadeAbrechnungsDatenErgebnis > ladeAbrechnungsDaten( > de.fiverx.steuerberater.gfi_bremen.v1.LadeAbrechnungsDatenAnfrage > ladeAbrechnungsDatenAnfrage0) { > return new LadeAbrechnungsDatenErgebnis(); > } > } > {code} > and at last my services.xml > {code: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) --> > <serviceGroup> > <service name="SteuerberaterOnlineService"> > <messageReceivers> > <messageReceiver mep="http://www.w3.org/ns/wsdl/in-out" > > class="de.fiverx.steuerberater.ws.v1.SteuerberaterOnlineServiceMessageReceiverInOut"/> > </messageReceivers> > <parameter > name="ServiceClass">de.fiverx.steuerberater.ws.v1.Service</parameter> > <parameter name="useOriginalwsdl">false</parameter> > <parameter name="modifyUserWSDLPortAddress">true</parameter> > <operation name="ladeAbrechnungsDaten" > mep="http://www.w3.org/ns/wsdl/in-out" > > namespace="http://ws.gfi-bremen.de/online/services/SteuerberaterOnline/v1"> > > <actionMapping>http://ws.gfi-bremen.de/online/services/SteuerberaterOnline/v1#ladeAbrechnungsDaten</actionMapping> > > <outputActionMapping>http://ws.gfi-bremen.de/online/services/SteuerberaterOnline/v1/SteuerberaterOnlinePortType/ladeAbrechnungsDatenResponse</outputActionMapping> > </operation> > </service> > </serviceGroup> > {code} > 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 (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org