Hi Sagara,

thanks for your patience :)

After updating the URLs + updating to the very latest SNAPSHOT-Jar the
WebService is working fine again.

I think our axis2.xml is also rather outdated, we might just replace
it with one version from one of the latest bin-distributions of Axis2.

Thanks!
Sebastian

2012/6/13 Sagara Gunathunga <sagara.gunathu...@gmail.com>:
> This is what I mentioned in my very first mail [1]. You have to edit
> services.xml and axis2.xml to remove deprecated MEP URLs.
>
> As an example consider following two entries found on your configuration 
> files.
>
> http://www.w3.org/2004/08/wsdl/in-only
> http://www.w3.org/2004/08/wsdl/in-out
>
> http://www.w3.org/2006/01/wsdl/in-only
> http://www.w3.org/2006/01/wsdl/in-out
>
> They need to be changed as follows.
>
> http://www.w3.org/ns/wsdl/in-only
> http://www.w3.org/ns/wsdl/in-out
>
>
> [1] - http://svn.apache.org/viewvc?view=revision&revision=1349635
>
> Thanks !
>
> On Wed, Jun 13, 2012 at 7:28 PM, seba.wag...@gmail.com
> <seba.wag...@gmail.com> wrote:
>> This is our services.xml:
>> https://svn.apache.org/repos/asf/incubator/openmeetings/trunk/singlewebapp/src/META-INF/services.xml
>>
>> This is one example of a Service Class:
>> https://svn.apache.org/repos/asf/incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/axis/services/CalendarWebServiceFacade.java
>>
>> This is our axis2.xml:
>> https://svn.apache.org/repos/asf/incubator/openmeetings/trunk/singlewebapp/WebContent/openmeetings/WEB-INF/conf/axis2.xml
>>
>> This is our web.xml:
>> https://svn.apache.org/repos/asf/incubator/openmeetings/trunk/singlewebapp/WebContent/WEB-INF/web.xml
>>
>> Thanks Sagara!
>> Sebastian
>>
>> 2012/6/13 Sagara Gunathunga <sagara.gunathu...@gmail.com>:
>>> Can you post your services.xml and codes for service class ( if you use any
>>> axis2.xml  post it too)?
>>>
>>> Thanks !
>>>
>>>
>>> On Wednesday, June 13, 2012, seba.wag...@gmail.com wrote:
>>>>
>>>> Sorry the last exception was taken from the Trace of the JAR build at
>>>> 11.06.2012.
>>>> But the Trace / Exception when using latest revision is quite the same:
>>>>
>>>> ERROR 06-13 15:17:11.959 AxisEngine.java 38905 218
>>>> org.apache.axis2.engine.AxisEngine [http-0.0.0.0-5080-1] - The service
>>>> cannot be found for the endpoint reference (EPR)
>>>>
>>>> /openmeetings/services/CalendarService/getAppointmentsByWeekCalendar?&firstDayInWeek=1&startDate=2014-05-14
>>>> org.apache.axis2.AxisFault: The service cannot be found for the
>>>> endpoint reference (EPR)
>>>>
>>>> /openmeetings/services/CalendarService/getAppointmentsByWeekCalendar?&firstDayInWeek=1&startDate=2014-05-14
>>>>        at
>>>> org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:76)
>>>> ~[axis2-1.7.0-SNAPSHOT_build_1562.jar:na]
>>>>        at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
>>>> ~[axis2-1.7.0-SNAPSHOT_build_1562.jar:na]
>>>>        at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
>>>> ~[axis2-1.7.0-SNAPSHOT_build_1562.jar:na]
>>>>        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
>>>> ~[axis2-1.7.0-SNAPSHOT_build_1562.jar:na]
>>>>        at
>>>> org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:242)
>>>> [axis2-transport-http-bundle-1.7.0-SNAPSHOT.jar:na]
>>>>        at
>>>> org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:184)
>>>> [axis2-transport-http-bundle-1.7.0-SNAPSHOT.jar:na]
>>>>        at
>>>> org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:870)
>>>> [axis2-transport-http-bundle-1.7.0-SNAPSHOT.jar:na]
>>>>        at
>>>> org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:290)
>>>> [axis2-transport-http-bundle-1.7.0-SNAPSHOT.jar:na]
>>>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>>>> [javaee-api-5.1.2.om.jar:na]
>>>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>> [javaee-api-5.1.2.om.jar:na]
>>>>        at
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>>> [catalina-6.0.32.jar:6.0.32]
>>>>        at
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>> [catalina-6.0.32.jar:6.0.32]
>>>>        at
>>>> org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(ServletRequestExFilter.java:49)
>>>> [openmeetings-2.0.0-SNAPSHOT.jar:na]
>>>>        at
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>> [catalina-6.0.32.jar:6.0.32]
>>>>        at
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>> [catalina-6.0.32.jar:6.0.32]
>>>>        at
>>>> org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77)
>>>> [red5.jar:na]
>>>>        at
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>> [catalina-6.0.32.jar:6.0.32]
>>>>        at
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>> [catalina-6.0.32.jar:6.0.32]
>>>>        at
>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>>> [catalina-6.0.32.jar:6.0.32]
>>>>        at
>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>>>> [catalina-6.0.32.jar:6.0.32]
>>>>        at
>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
>>>> [catalina-6.0.32.jar:6.0.32]
>>>>        at
>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>>> [catalina-6.0.32.jar:6.0.32]
>>>>        at
>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>>> [catalina-6.0.32.jar:6.0.32]
>>>>        at
>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
>>>> [catalina-6.0.32.jar:6.0.32]
>>>>        at
>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>>> [catalina-6.0.32.jar:6.0.32]
>>>>        at
>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>>>> [catalina-6.0.32.jar:6.0.32]
>>>>        at
>>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
>>>> [tomcat-coyote-6.0.32.jar:6.0.32]
>>>>        at
>>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>>>> [tomcat-coyote-6.0.32.jar:6.0.32]
>>>>        at
>>>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>>>> [tomcat-coyote-6.0.32.jar:6.0.32]
>>>>        at java.lang.Thread.run(Thread.java:662) [na:1.6.0_25]
>>>>
>>>> Let me know if there is something more that I can do.
>>>>
>>>> Sebastian
>>>>
>>>> 2012/6/13 seba.wag...@gmail.com <seba.wag...@gmail.com>:
>>>> > Hi Sagara,
>>>> >
>>>> > I've tried with:
>>>> > axis2-1.7.0-20120613.071731-744.jar (Wed Jun 13 07:53:41 UTC 2012)
>>>> > taken from:
>>>> >
>>>> > https://repository.apache.org/content/groups/snapshots/org/apache/axis2/axis2/1.7.0-SNAPSHOT/
>>>> >
>>>> > And with axis2-1.7.0-SNAPSHOT.jar (build 5 minutes ago)
>>>> > taken from:
>>>> > https://builds.apache.org/job/axis2/1562/org.apache.axis2$axis2/
>>>> >
>>>> > Both show the same problem. It simply does not register any WebService.
>>>> > The issue is really not the URL that we invoke. Also REST calls / URLs
>>>> > that previously worked fine just stopped working simply by replacing
>>>> > the JAR with the latest Snapshot.
>>>> > My previously working URL looks like that:
>>>> >
>>>> > http://127.0.0.1:5080/openmeetings/services/CalendarService/getAppointmentsByWeekCalendar?&firstDayInWeek=1&startDate=2014-05-14
>>>> > (Which btw stills works fine with the old JARs
>>>> >
>>>> > http://demo.openmeetings.de/openmeetings/services/CalendarService/getAppointmentsByWeekCalendar?&firstDayInWeek=1&startDate=2012-04-01
>>>> > )
>>>> >
>>>> > Or for example the WSDL URL:
>>>> > http://demo.openmeetings.de/openmeetings/services/CalendarService?wsdl
>>>> > this URL should work still fine also with the new pattern as far as I
>>>> > understood.
>>>> > By simply updating axis2-jar-xyz.jar with latest Snapshot Axis2 throws
>>>> > an error.
>>>> > No config change nothing, just JAR replace, restart => services gone.
>>>> >
>>>> > Is there anything more I can do to help you debug that problem?
>>>> >
>>>> > The Error message Axis2 throws to the WebService Gateway is:
>>>> > "The service cannot be found for the endpoint reference (EPR)"
>>>> >
>>>> > The Exception is quite the same in the logs:
>>>> > ERROR 06-13 14:04:29.729 AxisEngine.java 140024 218
>>>> > org.apache.axis2.engine.AxisEngine [http-0.0.0.0-5080-1] - The service
>>>> > cannot be found for the endpoint reference (EPR)
>>>> >
>>>> > /openmeetings/services/CalendarService/getAppointmentsByWeekCalendar?&firstDayInWeek=1&startDate=2012-04-01
>>>> > org.apache.axis2.AxisFault: The service cannot be found for the
>>>> > endpoint reference (EPR)
>>>> >
>>>> > /openmeetings/services/CalendarService/getAppointmentsByWeekCalendar?&firstDayInWeek=1&startDate=2012-04-01
>>>> >        at
>>>> > org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:78)
>>>> > ~[axis2-1.7.0-20120611.200300-739.jar:na]
>>>> >        at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
>>>> > ~[axis2-1.7.0-20120611.200300-739.jar:na]
>>>> >        at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
>>>> > ~[axis2-1.7.0-20120611.200300-739.jar:na]
>>>> >        at
>>>> > org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
>>>> > ~[axis2-1.7.0-20120611.200300-739.jar:na]
>>>> >        at
>>>> > org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:242)
>>>> > [axis2-transport-http-bundle-1.7.0-SNAPSHOT.jar:na]
>>>> >        at
>>>> > org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:184)
>>>> > [axis2-transport-http-bundle-1.7.0-SNAPSHOT.jar:na]
>>>> >        at
>>>> > org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:870)
>>>> > [axis2-transport-http-bundle-1.7.0-SNAPSHOT.jar:na]
>>>> >        at
>>>> > org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:290)
>>>> > [axis2-transport-http-bundle-1.7.0-SNAPSHOT.jar:na]
>>>> >        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>>>> > [javaee-api-5.1.2.om.jar:na]
>>>> >        at javax.servlet.http.
>>>
>>>
>>>
>>> --
>>> Sent from Gmail Mobile
>>
>>
>>
>> --
>> Sebastian Wagner
>> https://twitter.com/#!/dead_lock
>> http://www.openmeetings.de
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> seba.wag...@gmail.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
>> For additional commands, e-mail: java-user-h...@axis.apache.org
>>
>
>
>
> --
> Sagara Gunathunga
>
> Blog      - http://ssagara.blogspot.com
> Web      - http://people.apache.org/~sagara/
> LinkedIn - http://www.linkedin.com/in/ssagara
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
> For additional commands, e-mail: java-user-h...@axis.apache.org
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wag...@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to