Ludwig, Which version of Axis are you using? The 1.1 beta binary distribution doesn't contain the JMS transport (an unfortunate oversight). To build the JMS transport you should compile it from the source dist.
A few other questions: Have you modified the jndi-connection-factory.properties to point to the correct location for your bindings file? Have you cleared the queue before running the sample? Sometimes old messages are still on the Q. What is the classpath you are using to run the sample? Thanks, Jaime -----Original Message----- From: Mittermeier Ludwig [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 2:59 AM To: '[EMAIL PROTECTED]' Subject: RE: Please help: targetService-error with SonicMQ-example Hi, thanks a lot for trying to help me, but your tip didn't bring me to a solution so far. I think the problem is not the access to the "final" web service. I'm using XXX as a ticker symbol so that no external invocation occurs and a hard-coded value should be instead delivered to the invoker. That would be ok for me. I just want to bring it to a state where some java-code invokes a web service with the help of axis and I can see the corresponding JMS-message in the SonicMQ Explorer. Do you have other ideas where I could look for the error? I've double checked all the settings and steps described in AxisJMSSample.pdf and can't find an error. Ludwig. -----Original Message----- From: Krishnakumar B [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 5:24 AM To: [EMAIL PROTECTED] Subject: RE: Please help: targetService-error with SonicMQ-example HI The sample use samples.stock.StockQuoteService. This uses http://www.xmltoday.com/examples/stockquote/getxmlquote.vep?s=IBM Try changing this to access a different URL and then try http://quotes.nasdaq.com/quote.dll?page=xml&mode=stock&symbol="+symbol Regards Krishnakumar B -----Original Message----- From: Mittermeier Ludwig [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 7:51 PM To: '[EMAIL PROTECTED]' Subject: Please help: targetService-error with SonicMQ-example Hi everybody, in my oppinion it's a really great feature that axis supports JMS with SonicMQ. Unfortunately I could not get it running until now and I would be very very happy if someone could help me out. When invoking java samples.jms.JMSTest -c jndi-connection-factory.properties -d "MyQ" XXX I get this error: 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! targetService 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! targetService is null faultActor: null faultDetail: The AXIS engine could not find a target service to invoke! targetService is null at org.apache.axis.server.AxisServer.invoke(AxisServer.java:307) at org.apache.axis.transport.jms.SimpleJMSWorker.run(SimpleJMSWorker.java:1 30) at org.apache.axis.transport.jms.SimpleJMSListener.onMessage(SimpleJMSListe ner. java:165) at progress.message.jimpl.Session.EPB_(:2074) at progress.message.jimpl.QueueSession.run(:785) at progress.message.jimpl.fw.run(:1886) The AXIS engine could not find a target service to invoke! targetService is null at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.jav a:13 5) at org.apache.axis.encoding.DeserializationContextImpl.endElement(Deseriali zati onContextImpl.java:942) at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser .jav a:568) at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceB inde r.java:853) at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder. java :643) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValida tor. java:3006) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.ja va:9 30) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(X MLDo cumentFragmentScannerImpl.java:1145) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XML Docu mentFragmentScannerImpl.java:988) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis patc her.dispatch(XMLDocumentFragmentScannerImpl.java:1446) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDo cume ntFragmentScannerImpl.java:333) at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardPars erCo nfiguration.java:525) at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardPars erCo nfiguration.java:581) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147) at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java :115 7) at javax.xml.parsers.SAXParser.parse(Unknown Source) at org.apache.axis.encoding.DeserializationContextImpl.parse(Deserializatio nCon textImpl.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) I've walked through AxisJMSSample.pdf and I've applied all the settings in the SonicMQ Explorer, I've double-checked all the settings in the SonicMQ Explorer, and everything seems to be ok here, also in the JNDIStore-directory a .bindings-file gets created. Also the SonicMQ Broker is started without errors. Then I have started Axis with Tomcat 4.0.6, I've manually deployed the StockQuote-service with AdminClient and tested it: java samples.stock.GetQuote -lhttp://localhost:8080/axis/servlet/AxisServlet -uuser1 -wpass1 XXX prints out XXX: 55.25. Then I've tried java samples.jms.JMSTest -c jndi-connection-factory.properties -d MyQ XXX, but the error above occurs. I've also tried invoking these commands before invoking JMSTest: - java org.apache.axis.utils.Admin client client_deploy.wsdd - java org.apache.axis.utils.Admin server server-config.wsdd But the result is the same. In the SonicMQ Explorer nothing happens. I would be very happy if someone could give me a hint how to solve this problem. I've also tried copying broker.jar and tools.jar from SonicMQ and fscontext.jar and providerutil.jar from FSContext to webapps\axis\WEB-INF\lib with the same result. Thanks a lot in advance, Ludwig.