sample clients fail (only if addressing module is used)
-------------------------------------------------------

                 Key: AXIS2-1546
                 URL: http://issues.apache.org/jira/browse/AXIS2-1546
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Sub-task
          Components: client-api
         Environment: nigthly build 30/10/06, java 5
            Reporter: Michele Mazzucco
            Priority: Blocker


Dims, in when I updated axis2 I forgot to deploy the sample web service. 
Actually he problem arises ONLY when the addressing module is needed.

tomcat catalina.out:

Oct 30, 2006 9:28:03 AM org.apache.catalina.core.AprLifecycleListener 
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in 
production environments was not found on the java.library.path: 
.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
Oct 30, 2006 9:28:04 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Oct 30, 2006 9:28:04 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1382 ms
Oct 30, 2006 9:28:04 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Oct 30, 2006 9:28:04 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
Oct 30, 2006 9:28:04 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Oct 30, 2006 9:28:05 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive axis2.war
2006-10-30 09:28:07,094 INFO  org.apache.axis2.deployment.DeploymentEngine - 
Deploying module : addressing-1.1
2006-10-30 09:28:07,102 INFO  org.apache.axis2.deployment.DeploymentEngine - 
Deploying module : soapmonitor-1.1
2006-10-30 09:28:07,285 INFO  org.apache.axis2.deployment.DeploymentEngine - 
Deploying Web service  version.aar
Oct 30, 2006 9:28:08 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Oct 30, 2006 9:28:08 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Oct 30, 2006 9:28:08 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/55  config=null
Oct 30, 2006 9:28:08 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Oct 30, 2006 9:28:08 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 4177 ms
2006-10-30 09:29:47,389 INFO  org.apache.axis2.deployment.DeploymentEngine - 
Deploying Web service  MyService.aar


Clients:

testEchoBlockingClient:
     [java] Oct 30, 2006 9:30:00 AM 
org.apache.axis2.deployment.DeploymentEngine prepareRepository
     [java] INFO: no services directory found , new one created
     [java] Oct 30, 2006 9:30:00 AM 
org.apache.axis2.deployment.DeploymentEngine prepareRepository
     [java] INFO: no modules directory found , new one created
     [java] <example1:echo xmlns:tns="http://example1.userguide"; 
xmlns:example1="http://example1.org/example1";><example1:Text>Axis2 Echo String 
</example1:Text></example1:echo>

BUILD SUCCESSFUL
Total time: 2 seconds
sealbook:~/Desktop/axis2-1.1-SNAPSHOT/samples/userguide nmm42$ ant 
testEchoNonBlockingClient
Buildfile: build.xml

testEchoNonBlockingClient:
     [java] Oct 30, 2006 9:30:12 AM 
org.apache.axis2.deployment.DeploymentEngine prepareRepository
     [java] INFO: no services directory found , new one created
     [java] Oct 30, 2006 9:30:12 AM 
org.apache.axis2.deployment.DeploymentEngine prepareRepository
     [java] INFO: no modules directory found , new one created
     [java] <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Header 
/><soapenv:Body><example1:echo xmlns:tns="http://example1.userguide"; 
xmlns:example1="http://example1.org/example1";><example1:Text>Axis2 Echo String 
</example1:Text></example1:echo></soapenv:Body></soapenv:Envelope>

BUILD SUCCESSFUL
Total time: 2 seconds

As you can see, even the asynchronous sample works, if only one channel is used.

sealbook:~/Desktop/axis2-1.1-SNAPSHOT/samples/userguide nmm42$ ant 
testEchoNonBlockingDualClient
Buildfile: build.xml

testEchoNonBlockingDualClient:
     [java] Oct 30, 2006 9:30:26 AM 
org.apache.axis2.deployment.DeploymentEngine prepareRepository
     [java] INFO: no services directory found , new one created
     [java] Oct 30, 2006 9:30:26 AM 
org.apache.axis2.deployment.DeploymentEngine prepareRepository
     [java] INFO: no modules directory found , new one created
     [java] org.apache.axis2.AxisFault: Module not found
     [java]     at 
org.apache.axis2.description.AxisService.engageModule(AxisService.java:478)
     [java]     at 
org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:294)
     [java]     at 
userguide.clients.EchoNonBlockingDualClient.main(EchoNonBlockingDualClient.java:63)

sealbook:~/Desktop/axis2-1.1-SNAPSHOT/samples/userguide nmm42$ ant 
testEchoBlockingDualClient
Buildfile: build.xml

testEchoBlockingDualClient:
     [java] Oct 30, 2006 9:36:12 AM 
org.apache.axis2.deployment.DeploymentEngine prepareRepository
     [java] INFO: no services directory found , new one created
     [java] Oct 30, 2006 9:36:12 AM 
org.apache.axis2.deployment.DeploymentEngine prepareRepository
     [java] INFO: no modules directory found , new one created
     [java] org.apache.axis2.AxisFault: Module not found
     [java]     at 
org.apache.axis2.description.AxisService.engageModule(AxisService.java:478)
     [java]     at 
org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:294)
     [java]     at 
userguide.clients.EchoBlockingDualClient.main(EchoBlockingDualClient.java:51)



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to