It seems that the SubscriptionManager wsdl that is getting generated still has some of the imports in it. We'll get this sorted out. It should have all of its imports resolved already.
Thanks, Andrew Andrew Eberbach Autonomic Computing (919) 254-2645 T/L: 444-2645 [EMAIL PROTECTED] "José Antonio Sánchez" <[EMAIL PROTECTED]> 12/11/2006 04:38 PM Please respond to [email protected] To [email protected], [email protected] cc Subject Muse nightly not recognizing custom wsdl I had a Muse 2.0 service that I'm moving to muse 2.1 latest nightly. To do so, I have regenerated the webcontent directory (deleting the old directory) and I have regenerated everything from the wsdl2java utility. It has generated a default muse.xml file that I have modified only to include my custom class capability instead of the default capability name (MyCapability) it was working in the 2.0 version. Part of the muse.xml file is that: <?xml version="1.0" encoding="UTF-8"?> <muse xmlns="http://ws.apache.org/muse/descriptor" xmlns:wsrf-sgw="http://docs.oasis-open.org/wsrf/sgw-2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ws.apache.org/muse/descriptor muse-descriptor.xsd"> <router> <java-router-class>org.apache.muse.core.routing.SimpleResourceRouter</java-router-class> <logging> <log-file>log/muse.log</log-file> <log-level>FINE</log-level> </logging> <persistence> <java-persistence-class>org.apache.muse.core.routing.RouterFilePersistence</java-persistence-class> <persistence-location>router-entries</persistence-location> </persistence> </router> <resource-type use-router-persistence="true"> <context-path>TransFS</context-path> <wsdl> <wsdl-file>/wsdl/TransFS.wsdl</wsdl-file> <wsdl-port-type xmlns:pfx="http://lsd.org/wsdm/TransFS ">pfx:WsResourcePortType</wsdl-port-type> </wsdl> <java-id-factory-class>org.apache.muse.core.routing.CounterResourceIdFactory</java-id-factory-class> <java-resource-class>org.apache.muse.ws.resource.impl.SimpleWsResource</java-resource-class> <desc:capability xmlns:desc="http://ws.apache.org/muse/descriptor "> <desc:capability-uri>http://docs.oasis-open.org/wsrf/rlw-2/ImmediateResourceTermination</desc:capability-uri> <desc:java-capability-class>org.apache.muse.ws.resource.lifetime.impl.SimpleImmediateTermination</desc:java-capability-class> </desc:capability> <desc:capability xmlns:desc="http://ws.apache.org/muse/descriptor "> <desc:capability-uri>http://lsd.org/wsdm/TransFS</desc:capability-uri> <desc:java-capability-class>org.lsd.wsdm.TransFS.TransFSCapability</desc:java-capability-class> </desc:capability> <desc:capability xmlns:desc="http://ws.apache.org/muse/descriptor "> <desc:capability-uri>http://docs.oasis-open.org/wsdm/muws/capabilities/Identity</desc:capability-uri> <desc:java-capability-class>org.apache.muse.ws.dm.muws.impl.SimpleIdentity</desc:java-capability-class> </desc:capability> ....... It generates the default subscription manager resource, so I have left it as it is. Then I have generated a proxy project and a test invoking an operation but I get a 500 error and the tomcat log shows this exception: java.lang.RuntimeException: [ID = 'NoDataResource'] The resource 'wsdl/WS-Resource-1_2.wsdl' does not exist or is not in the classpath. at org.apache.muse.core.AbstractEnvironment.getDataResourceStream(AbstractEnvironment.java:192) at org.apache.muse.core.AbstractEnvironment.getDocument(AbstractEnvironment.java:270) at org.apache.muse.ws.wsdl.WsdlUtils.createWSDL(WsdlUtils.java:381) at org.apache.muse.ws.wsdl.WsdlUtils.getWsdlImports(WsdlUtils.java:896) at org.apache.muse.ws.wsdl.WsdlUtils.getWsdlImports(WsdlUtils.java:852) at org.apache.muse.ws.wsdl.WsdlUtils.createWSDL(WsdlUtils.java:405) at org.apache.muse.core.descriptor.SimpleResourceDescriptor.createCapabilityDefinitions(SimpleResourceDescriptor.java:75) at org.apache.muse.core.descriptor.SimpleResourceDescriptor.load(SimpleResourceDescriptor.java:397) at org.apache.muse.core.descriptor.SimpleDeploymentDescriptor.createResourceDefinitions(SimpleDeploymentDescriptor.java:72) at org.apache.muse.core.descriptor.SimpleDeploymentDescriptor.load(SimpleDeploymentDescriptor.java:171) at org.apache.muse.core.platform.AbstractIsolationLayer.initialize(AbstractIsolationLayer.java:144) at org.apache.muse.core.platform.axis2.AxisIsolationLayer.handleRequest(AxisIsolationLayer.java:72) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:88) at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:319) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:247) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) So I think it's ignoring the muse.xml file and it searches for a default WS-Resource-1_2.wsdl file instead of the custom TransFS.wsdl file especified in the muse.xml file. -- Saludos. José Antonio Sánchez --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
