Ok, so I see what happens, but still no idea why.
It seems servicemix is unable to unpack the archive.
Check that the sa zip is correct (i guess it is).
As you build from sources, could you try to change in the
 servicemix-core/src/main/java/org/apache/servicemix/jbi/util/FileUtil.java
file, the method unpackArchive by

   public static File unpackArchive(File theFile, File targetDir) throws
IOException {
       if (!theFile.exists()) {
           throw new IOException(theFile.getAbsolutePath() + " does not
exist");
       }
       if (!buildDirectory(targetDir)) {
           throw new IOException("Could not create directory: " +
targetDir);
       }
       ZipFile zipFile;
       zipFile = new ZipFile(theFile);
       for (Enumeration entries = zipFile.entries();
entries.hasMoreElements();) {
           ZipEntry entry = (ZipEntry) entries.nextElement();
           File file = new File(targetDir, File.separator + entry.getName
());
           // Take the sledgehammer approach to creating directories
           // to work around ZIP's that incorrectly miss directories
           if (!buildDirectory(file.getParentFile())) {
               throw new IOException("Could not create directory: " +
file.getParentFile());
           }
           if (!entry.isDirectory()) {
               copyInputStream(zipFile.getInputStream(entry), new
BufferedOutputStream(new FileOutputStream(file)));
           } else {
               if (!buildDirectory(file)) {
                   throw new IOException("Could not create directory: " +
file);
               }
           }
       }
       zipFile.close();
       return theFile;
   }

Cheers,
Guillaume Nodet


On 5/19/06, markpittsnh <[EMAIL PROTECTED]> wrote:


..and here is my directory structure....

C:\java\incubating-servicemix-3.0-SNAPSHOT\examples\soap-binding>ls -R -al
.:
total 45
drwx------+  7 Mpitts mkpasswd     0 May 18 20:52 .
drwx------+ 16 Mpitts mkpasswd     0 May 18 15:56 ..
-rwx------   1 Mpitts mkpasswd 12389 May 18 16:08 Copy of servicemix.log
-rwx------   1 Mpitts mkpasswd   999 May 18 11:18 README.txt
drwx------+  4 Mpitts mkpasswd     0 May 18 20:52 build
-rwx------   1 Mpitts mkpasswd  2713 May 18 11:18 build.xml
-rwx------   1 Mpitts mkpasswd  2495 May 18 11:18 client.html
drwx------+  2 Mpitts mkpasswd     0 May 18 20:52 deploy
drwx------+  2 Mpitts mkpasswd     0 May 18 20:52 install
-rwx------   1 Mpitts mkpasswd 15622 May 18 20:53 servicemix.log
-rwx------   1 Mpitts mkpasswd   411 May 18 11:18 servicemix.xml
drwx------+  6 Mpitts mkpasswd     0 May 18 15:56 src
drwx------+  6 Mpitts mkpasswd     0 May 18 20:52 wdir

./build:
total 13
drwx------+ 4 Mpitts mkpasswd    0 May 18 20:52 .
drwx------+ 7 Mpitts mkpasswd    0 May 18 20:52 ..
-rwx------  1 Mpitts mkpasswd  359 May 18 20:52 binding-su.zip
drwx------+ 2 Mpitts mkpasswd    0 May 18 20:51 client
drwx------+ 3 Mpitts mkpasswd    0 May 18 20:52 components
-rwx------  1 Mpitts mkpasswd 1815 May 18 20:52 engine-su.zip
-rwx------  1 Mpitts mkpasswd 7101 May 18 20:52 soap-demo-sa.zip

./build/client:
total 0
drwx------+ 2 Mpitts mkpasswd 0 May 18 20:51 .
drwx------+ 4 Mpitts mkpasswd 0 May 18 20:52 ..

./build/components:
total 0
drwx------+ 3 Mpitts mkpasswd 0 May 18 20:52 .
drwx------+ 4 Mpitts mkpasswd 0 May 18 20:52 ..
drwx------+ 2 Mpitts mkpasswd 0 May 18 20:52 soap

./build/components/soap:
total 6
drwx------+ 2 Mpitts mkpasswd   0 May 18 20:52 .
drwx------+ 3 Mpitts mkpasswd   0 May 18 20:52 ..
-rwx------  1 Mpitts mkpasswd 527 May 18 20:52 PingRequest.class
-rwx------  1 Mpitts mkpasswd 530 May 18 20:52 PingResponse.class
-rwx------  1 Mpitts mkpasswd 782 May 18 20:52 SimpleService.class

./deploy:
total 8
drwx------+ 2 Mpitts mkpasswd    0 May 18 20:52 .
drwx------+ 7 Mpitts mkpasswd    0 May 18 20:52 ..
-rwx------  1 Mpitts mkpasswd 7101 May 18 20:52 soap-demo-sa.zip

./install:
total 8248
drwx------+ 2 Mpitts mkpasswd       0 May 18 20:52 .
drwx------+ 7 Mpitts mkpasswd       0 May 18 20:52 ..
-rwx------  1 Mpitts mkpasswd 1266930 May 18 20:52
servicemix-http-3.0-SNAPSHOT-installer.zip
-rwx------  1 Mpitts mkpasswd 7173589 May 18 20:52
servicemix-jsr181-3.0-SNAPSHOT-installer.zip

./src:
total 0
drwx------+ 6 Mpitts mkpasswd 0 May 18 15:56 .
drwx------+ 7 Mpitts mkpasswd 0 May 18 20:52 ..
drwx------+ 2 Mpitts mkpasswd 0 May 18 15:56 binding-su
drwx------+ 3 Mpitts mkpasswd 0 May 18 15:56 components
drwx------+ 2 Mpitts mkpasswd 0 May 18 15:56 engine-su
drwx------+ 3 Mpitts mkpasswd 0 May 18 15:56 sa

./src/binding-su:
total 1
drwx------+ 2 Mpitts mkpasswd   0 May 18 15:56 .
drwx------+ 6 Mpitts mkpasswd   0 May 18 15:56 ..
-rwx------  1 Mpitts mkpasswd 447 May 18 11:18 xbean.xml

./src/components:
total 0
drwx------+ 3 Mpitts mkpasswd 0 May 18 15:56 .
drwx------+ 6 Mpitts mkpasswd 0 May 18 15:56 ..
drwx------+ 2 Mpitts mkpasswd 0 May 18 15:56 soap

./src/components/soap:
total 3
drwx------+ 2 Mpitts mkpasswd   0 May 18 15:56 .
drwx------+ 3 Mpitts mkpasswd   0 May 18 15:56 ..
-rwx------  1 Mpitts mkpasswd 250 May 18 11:18 PingRequest.java
-rwx------  1 Mpitts mkpasswd 251 May 18 11:18 PingResponse.java
-rwx------  1 Mpitts mkpasswd 256 May 18 11:18 SimpleService.java

./src/engine-su:
total 1
drwx------+ 2 Mpitts mkpasswd   0 May 18 15:56 .
drwx------+ 6 Mpitts mkpasswd   0 May 18 15:56 ..
-rwx------  1 Mpitts mkpasswd 434 May 18 11:18 xbean.xml

./src/sa:
total 0
drwx------+ 3 Mpitts mkpasswd 0 May 18 15:56 .
drwx------+ 6 Mpitts mkpasswd 0 May 18 15:56 ..
drwx------+ 2 Mpitts mkpasswd 0 May 18 15:56 META-INF

./src/sa/META-INF:
total 17
drwx------+ 2 Mpitts mkpasswd     0 May 18 15:56 .
drwx------+ 3 Mpitts mkpasswd     0 May 18 15:56 ..
-rwx------  1 Mpitts mkpasswd   529 May 18 11:18 DISCLAIMER.txt
-rwx------  1 Mpitts mkpasswd 11562 May 18 11:18 LICENSE.txt
-rwx------  1 Mpitts mkpasswd   964 May 18 11:18 jbi.xml

./wdir:
total 5
drwx------+ 6 Mpitts mkpasswd   0 May 18 20:52 .
drwx------+ 7 Mpitts mkpasswd   0 May 18 20:52 ..
drwx------+ 2 Mpitts mkpasswd   0 May 18 20:52 components
-rwx------  1 Mpitts mkpasswd 364 May 18 20:52 deploy.xml
-rwx------  1 Mpitts mkpasswd 824 May 18 20:52 install.xml
drwx------+ 2 Mpitts mkpasswd   0 May 18 20:52 service-assemblies
drwx------+ 2 Mpitts mkpasswd   0 May 18 20:52 sharedlibs
drwx------+ 5 Mpitts mkpasswd   0 May 18 20:52 tmp

./wdir/components:
total 0
drwx------+ 2 Mpitts mkpasswd 0 May 18 20:52 .
drwx------+ 6 Mpitts mkpasswd 0 May 18 20:52 ..

./wdir/service-assemblies:
total 0
drwx------+ 2 Mpitts mkpasswd 0 May 18 20:52 .
drwx------+ 6 Mpitts mkpasswd 0 May 18 20:52 ..

./wdir/sharedlibs:
total 0
drwx------+ 2 Mpitts mkpasswd 0 May 18 20:52 .
drwx------+ 6 Mpitts mkpasswd 0 May 18 20:52 ..

./wdir/tmp:
total 0
drwx------+ 5 Mpitts mkpasswd 0 May 18 20:52 .
drwx------+ 6 Mpitts mkpasswd 0 May 18 20:52 ..
drwx------+ 4 Mpitts mkpasswd 0 May 18 20:52
servicemix-http-3.0-SNAPSHOT-installer.0.tmp
drwx------+ 2 Mpitts mkpasswd 0 May 18 20:52
servicemix-jsr181-3.0-SNAPSHOT-installer.0.tmp
drwx------+ 2 Mpitts mkpasswd 0 May 18 20:52 soap-demo-sa.0.tmp

./wdir/tmp/servicemix-http-3.0-SNAPSHOT-installer.0.tmp:
total 0
drwx------+ 4 Mpitts mkpasswd 0 May 18 20:52 .
drwx------+ 5 Mpitts mkpasswd 0 May 18 20:52 ..
drwx------+ 3 Mpitts mkpasswd 0 May 18 20:52 META-INF
drwx------+ 2 Mpitts mkpasswd 0 May 18 20:52 lib

./wdir/tmp/servicemix-http-3.0-SNAPSHOT-installer.0.tmp/META-INF:
total 19
drwx------+ 3 Mpitts mkpasswd     0 May 18 20:52 .
drwx------+ 4 Mpitts mkpasswd     0 May 18 20:52 ..
-rwx------  1 Mpitts mkpasswd   544 May 18 20:52 DISCLAIMER
-rwx------  1 Mpitts mkpasswd 11562 May 18 20:52 LICENSE
-rwx------  1 Mpitts mkpasswd   381 May 18 20:52 MANIFEST.MF
-rwx------  1 Mpitts mkpasswd   629 May 18 20:52 NOTICE
-rwx------  1 Mpitts mkpasswd  2251 May 18 20:52 jbi.xml
drwx------+ 2 Mpitts mkpasswd     0 May 18 20:52 maven

./wdir/tmp/servicemix-http-3.0-SNAPSHOT-installer.0.tmp/META-INF/maven:
total 0
drwx------+ 2 Mpitts mkpasswd 0 May 18 20:52 .
drwx------+ 3 Mpitts mkpasswd 0 May 18 20:52 ..

./wdir/tmp/servicemix-http-3.0-SNAPSHOT-installer.0.tmp/lib:
total 1352
drwx------+ 2 Mpitts mkpasswd      0 May 18 20:52 .
drwx------+ 4 Mpitts mkpasswd      0 May 18 20:52 ..
-rwx------  1 Mpitts mkpasswd  30085 May 18 20:52 commons-codec-1.2.jar
-rwx------  1 Mpitts mkpasswd 279383 May 18 20:52
commons-httpclient-3.0.jar
-rwx------  1 Mpitts mkpasswd  31605 May 18 20:52
commons-logging-1.0.3.jar
-rwx------  1 Mpitts mkpasswd  14250 May 18 20:52
geronimo-activation-1.0.jar
-rwx------  1 Mpitts mkpasswd  29486 May 18 20:52
geronimo-activation_1.0.2_spec-1.0.jar
-rwx------  1 Mpitts mkpasswd 176396 May 18 20:52
geronimo-javamail_1.3.1_spec-1.1-20060323.jar
-rwx------  1 Mpitts mkpasswd 433407 May 18 20:52 jetty-6.0.0beta15.jar
-rwx------  1 Mpitts mkpasswd  65852 May 18 20:52
jetty-util-6.0.0beta15.jar
-rwx------  1 Mpitts mkpasswd  63938 May 18 20:52
servicemix-common-3.0-SNAPSHOT.jar
-rwx------  1 Mpitts mkpasswd  60665 May 18 20:52
servicemix-http-3.0-SNAPSHOT.jar
-rwx------  1 Mpitts mkpasswd  40731 May 18 20:52
servicemix-soap-3.0-SNAPSHOT.jar
-rwx------  1 Mpitts mkpasswd 133084 May 18 20:52
servlet-api-2.5-6.0.0beta15.jar

./wdir/tmp/servicemix-jsr181-3.0-SNAPSHOT-installer.0.tmp:
total 0
drwx------+ 2 Mpitts mkpasswd 0 May 18 20:52 .
drwx------+ 5 Mpitts mkpasswd 0 May 18 20:52 ..

./wdir/tmp/soap-demo-sa.0.tmp:
total 4
drwx------+ 2 Mpitts mkpasswd    0 May 18 20:52 .
drwx------+ 5 Mpitts mkpasswd    0 May 18 20:52 ..
-rwx------  1 Mpitts mkpasswd 1815 May 18 20:52 engine-su.zip

C:\java\incubating-servicemix-3.0-SNAPSHOT\examples\soap-binding>
--
View this message in context:
http://www.nabble.com/http-binding-and-soap-binding-example-broken-t1638798.html#a4461656
Sent from the ServiceMix - User forum at Nabble.com.




--
Cheers,
Guillaume Nodet

Reply via email to