Hi Jinda He
ConfigurationContext myConfigContext =
          ConfigurationContextFactory
.createConfigurationContextFromFileSystem("C:\\tools\\axis\\axis2-1.3\ a \repository",
          "axis2.xml");
HelloWorldStub stub = new HelloWorldStub(myConfigContext); but still I got error : org.apache.axis2.transport.jms.AxisJMSException: Error creating temporary queue for response at org.apache.axis2.transport.jms.JMSSender.handleException(JMSSender.java:331)
 at org.apache.axis2.transport.jms.JMSSender.invoke(JMSSender.java:166)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
 at webserviceSample.HelloWorldStub.sayHello(HelloWorldStub.java:141)
 at webserviceSample.TestClient.getHelloMessage(TestClient.java:44)
 at webserviceSample.TestClient.main(TestClient.java:23)

What you are trying to do is a synchronous out-in operation, in which case the JMS transport sender tries to create a temporary Queue on the outgoing JMS Connection, to wait-for, receive and process the synchronous response. From the above stacktrace, I cannot determine the JMS provider, but I believe this is Weblogic JMS? Can you send me the full stack trace, and check if the JMS server allows you (with the credentials or anonymous connection you use) to create temporary queues

asankha

Reply via email to