Figured out what the problem was. The directory where I was running from didn't have the server-config.wsdd file which came with the sample. When I ran from the sample\jms directory or when I copied the server-config.wsdd to the directory where I was running from, the sample ran fine. I guess the directory where you are running from is where axis looks for the server configuration information.
Regards, Len Takeuchi -----Original Message----- From: Len Takeuchi [mailto:ltakeuchi@;salescentrix.com] Sent: Friday, October 25, 2002 3:52 PM To: Axis User Subject: problem getting jms sample to work Hi, I'm trying to run the jms sample and I'm running into some problems. I have followed the document associated with the sample to setup the JMS provider (sonic). It seems that the message is getting on to the queue and the listener (SimpleJMSListener) is picking up the message but cannot find the service it is supposed to call. Since it is doing SOAP over JMS, how does the Axis server come into play? I have deployed the service it calls into the Axis server which is run within my web server/servlet engine and this service can be called using SOAP over HTTP. When the SimpleJMSListener gets the Axis server, is it creating a new one or is it supposed to get the same 'instance' as the one associated with the web server (which is the one where I deployed the apps)? I have attached the error message at the bottom. Any help would be appreciated. Regards, Len Takeuchi Salescentrix.com P.S. I had tried to send this to this list before but I'm not sure if it made it. Sorry if this winds up being a duplicate. I:\apache\xml-axis-10>java samples.jms.JMSTest -c ./samples/jms/jndi-connection- factory.properties -d "MyQ" XXX Exception in thread "main" AxisFault faultCode: {http://xml.apache.org/axis/}Server.NoService faultString: The AXIS engine could not find a target service to invoke! target Service is null faultActor: null faultDetail: stackTrace: AxisFault faultCode: {http://xml.apache.org/axis/}Server.NoService faultString: The AXIS engine could not find a target service to invoke! target Service is null faultActor: null faultDetail: The AXIS engine could not find a target service to invoke! targetService is nul l at org.apache.axis.server.AxisServer.invoke(AxisServer.java:307) at org.apache.axis.transport.jms.SimpleJMSWorker.run(SimpleJMSWorker.jav a:130) at org.apache.axis.transport.jms.SimpleJMSListener.onMessage(SimpleJMSLi stener.java:165) at progress.message.jimpl.Session.EPB_(Unknown Source) at progress.message.jimpl.QueueSession.run(Unknown Source) at progress.message.jimpl.fw.run(Unknown Source) The AXIS engine could not find a target service to invoke! targetService is nul l at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder. java:135) at org.apache.axis.encoding.DeserializationContextImpl.endElement(Deseri alizationContextImpl.java:942) at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403) at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLVa lidator.java:1480) at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp atch(XMLDocumentScanner.java:1149) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS canner.java:381) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081) at javax.xml.parsers.SAXParser.parse(SAXParser.java:374) at org.apache.axis.encoding.DeserializationContextImpl.parse(Deserializa tionContextImpl.java:232) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:546) at org.apache.axis.Message.getSOAPEnvelope(Message.java:377) at org.apache.axis.client.Call.invokeEngine(Call.java:2132) at org.apache.axis.client.Call.invoke(Call.java:2102) at org.apache.axis.client.Call.invoke(Call.java:1851) at org.apache.axis.client.Call.invoke(Call.java:1777) at org.apache.axis.client.Call.invoke(Call.java:1315) at samples.jms.JMSTest.main(JMSTest.java:156)
