Hallo,
ich versuch mich gerade mit Spring- XFire eine WS hinzubekommen, finde aber leider die WSDL nicht.
Ich hab mal unten das Logging drangehängt. in dem Buch das ich verwende steht das das WSDL in meinem Fall unter:
http://localhost:8080/SpringWsXFireTest/services/springwsxfiretest
zu finden sein soll, aber da ist gar nichts,
Hat jemand vielleicht eine Idee was da bei mir schief rennt, Vielleicht kann jemand aus dem Logging unten mehr herauslesen als ich.
Besten Dank.
ich versuch mich gerade mit Spring- XFire eine WS hinzubekommen, finde aber leider die WSDL nicht.
Ich hab mal unten das Logging drangehängt. in dem Buch das ich verwende steht das das WSDL in meinem Fall unter:
http://localhost:8080/SpringWsXFireTest/services/springwsxfiretest
zu finden sein soll, aber da ist gar nichts,
Hat jemand vielleicht eine Idee was da bei mir schief rennt, Vielleicht kann jemand aus dem Logging unten mehr herauslesen als ich.
Besten Dank.
Java:
package at.springwsxfiretest.frontend.controller;
import javax.jws.WebMethod;
import javax.jws.WebService;
@WebService
public interface IXFireTestBean {
@WebMethod(operationName="myTestingMethod")
void testMethod1();
Java:
package at.springwsxfiretest.frontend.controller;
import javax.jws.WebService;
@WebService(serviceName="springwsxfiretest", endpointInterface="at.springwsxfiretest.frontend.controller.IXFireTestBean")
public class XFireTestBean implements IXFireTestBean {
public XFireTestBean() {
System.out.println("XFireTestBean erzeugt");
}
...
Code:
[06:17:14] http-8080-3 INFO [] [] [org.springframework.web.context.support.XmlWebApplicationContext] - Closing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Fri Nov 04 05:58:44 CET 2011]; parent: Root WebApplicationContext
[06:17:14] http-8080-3 INFO [] [] [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@2e7eb8fa: defining beans [handlerMapping,springWSController,springWSController1,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,viewResolver,viewFactoryCreator]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@5093a814
04.11.2011 06:17:14 org.apache.catalina.core.StandardContext reload
INFO: Reloading Context with name [/SpringWsXFireTest] has started
[06:17:14] http-8080-3 INFO [] [] [org.springframework.web.context.support.XmlWebApplicationContext] - Closing Root WebApplicationContext: startup date [Fri Nov 04 05:58:39 CET 2011]; root of context hierarchy
[06:17:14] http-8080-3 INFO [] [] [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5093a814: defining beans [xfiretestbean,xfire.customEditorConfigurer,xfire.serviceRegistry,xfire.transportManager,xfire,xfire.typeMappingRegistry,xfire.aegisBindingProvider,xfire.serviceFactory,xfire.servletController,xfire.messageServiceFactory,xfire.messageBindingProvider,annotationHandlerMapping]; root of factory hierarchy
04.11.2011 06:17:14 com.sun.xml.ws.transport.http.servlet.WSServletDelegate destroy
INFO: WSSERVLET15: JAX-WS servlet destroyed
04.11.2011 06:17:14 com.sun.xml.ws.server.MonitorBase closeMOM
INFO: Closing Metro monitoring root: com.sun.metro:pp=/,type=WSEndpoint,name=/SpringWsXFireTest-springwsxfiretest-XFireTestBeanPort
04.11.2011 06:17:14 com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextDestroyed
INFO: WSSERVLET13: JAX-WS context listener destroyed
04.11.2011 06:17:14 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/SpringWsXFireTest] created a ThreadLocal with key of type [org.glassfish.gmbal.generic.OperationTracer$1] (value [org.glassfish.gmbal.generic.OperationTracer$1@8f0c79e]) and a value of type [java.util.ArrayList] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
04.11.2011 06:17:14 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/SpringWsXFireTest] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1@3726c75d]) and a value of type [java.util.WeakHashMap] (value [{class java.util.ArrayList=java.lang.ref.WeakReference@52eac6f4, class com.sun.xml.ws.runtime.config.TubeFactoryConfig=java.lang.ref.WeakReference@33abe7b3, class javax.xml.bind.annotation.W3CDomHandler=java.lang.ref.WeakReference@5af8b345, class javax.xml.bind.annotation.adapters.CollapsedStringAdapter=java.lang.ref.WeakReference@7dc1a5ab, class com.sun.xml.ws.runtime.config.MetroConfig=java.lang.ref.WeakReference@3463be0d, class com.sun.xml.ws.runtime.config.TubelineDefinition=java.lang.ref.WeakReference@52625a, class com.sun.xml.ws.runtime.config.Tubelines=java.lang.ref.WeakReference@20b702e0, class com.sun.xml.ws.runtime.config.TubeFactoryList=java.lang.ref.WeakReference@4f1dd0e7}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
04.11.2011 06:17:14 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/SpringWsXFireTest] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@2e7e1645]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@57e823db]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
04.11.2011 06:17:14 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/SpringWsXFireTest] created a ThreadLocal with key of type [org.glassfish.gmbal.generic.OperationTracer$1] (value [org.glassfish.gmbal.generic.OperationTracer$1@8f0c79e]) and a value of type [java.util.ArrayList] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
04.11.2011 06:17:16 org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(C:\Users\Max\Documents\NetBeansProjects\SpringWsXFireTest\build\web\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
[06:17:16] http-8080-3 INFO [] [] [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization started
[06:17:16] http-8080-3 INFO [] [] [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing Root WebApplicationContext: startup date [Fri Nov 04 06:17:16 CET 2011]; root of context hierarchy
[06:17:16] http-8080-3 INFO [] [] [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
[06:17:17] http-8080-3 INFO [] [] [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [org/codehaus/xfire/spring/xfire.xml]
[06:17:17] http-8080-3 INFO [] [] [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [org/codehaus/xfire/spring/customEditors.xml]
[06:17:17] http-8080-3 WARN [] [] [org.springframework.beans.factory.config.CustomEditorConfigurer] - Passing PropertyEditor instances into CustomEditorConfigurer is deprecated: use PropertyEditorRegistrars or PropertyEditor class names instead. Offending key [org.codehaus.xfire.service.ServiceFactory; offending editor instance: org.codehaus.xfire.spring.editors.ServiceFactoryEditor@400bbe19
[06:17:17] http-8080-3 INFO [] [] [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6b10760f: defining beans [xfiretestbean,xfire.customEditorConfigurer,xfire.serviceRegistry,xfire.transportManager,xfire,xfire.typeMappingRegistry,xfire.aegisBindingProvider,xfire.serviceFactory,xfire.servletController,xfire.messageServiceFactory,xfire.messageBindingProvider,annotationHandlerMapping]; root of factory hierarchy
XFireTestBean erzeugt
[06:17:18] http-8080-3 INFO [] [] [org.codehaus.xfire.spring.remoting.Jsr181HandlerMapping] - Exposing service {http://controller.frontend.springwsxfiretest.at}springwsxfiretest to /services/springwsxfiretest
[06:17:18] http-8080-3 INFO [] [] [org.codehaus.xfire.spring.remoting.Jsr181HandlerMapping] - Mapped URL path [/services/springwsxfiretest] onto handler of type [class org.codehaus.xfire.spring.remoting.XFireServletControllerAdapter]
[06:17:18] http-8080-3 INFO [] [] [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization completed in 1575 ms
04.11.2011 06:17:19 com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
XFireTestBean erzeugt
04.11.2011 06:17:25 com.sun.xml.ws.server.MonitorBase createRoot
INFO: Metro monitoring rootname successfully set to: com.sun.metro:pp=/,type=WSEndpoint,name=/SpringWsXFireTest-springwsxfiretest-XFireTestBeanPort
04.11.2011 06:17:25 com.sun.xml.ws.transport.http.servlet.WSServletDelegate <init>
INFO: WSSERVLET14: JAX-WS servlet initializing
[06:17:25] http-8080-3 INFO [] [] [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'dispatcher': initialization started
[06:17:25] http-8080-3 INFO [] [] [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Fri Nov 04 06:17:25 CET 2011]; parent: Root WebApplicationContext
[06:17:25] http-8080-3 INFO [] [] [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/dispatcher-servlet.xml]
[06:17:26] http-8080-3 INFO [] [] [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@286663e7: defining beans [handlerMapping,springWSController,springWSController1,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,viewResolver,viewFactoryCreator]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@6b10760f
[06:17:26] http-8080-3 INFO [] [] [org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping] - Mapped URL path [/index] onto handler 'springWSController'
[06:17:26] http-8080-3 INFO [] [] [org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping] - Mapped URL path [/index.*] onto handler 'springWSController'
[06:17:26] http-8080-3 INFO [] [] [org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping] - Mapped URL path [/index/] onto handler 'springWSController'
[06:17:26] http-8080-3 INFO [] [] [org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping] - Mapped URL path [/home] onto handler 'springWSController1'
[06:17:26] http-8080-3 INFO [] [] [org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping] - Mapped URL path [/home.*] onto handler 'springWSController1'
[06:17:26] http-8080-3 INFO [] [] [org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping] - Mapped URL path [/home/] onto handler 'springWSController1'
[06:17:27] http-8080-3 INFO [] [] [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'dispatcher': initialization completed in 1159 ms
################## in handle von SpringWSController