Hi @all!

I've got a single web service routine (implemented with the BPM Suite inubit 5.*) which is sending a PDF file as a mtom attachment of the ws call.

If I test this method with soap UI everything is ok. I can read the PDF file as a soap attachment.

If I test this method with my JSF application using CFX my client method returns all PDF file lower some kilo bytes (~20kB). Bigger attachments will be cut. I don't know why?!

Does anyone know why this method call is limited?!

Here are my environment parameter:
- multi-module project built by Maven
Apache Maven 2.2.0
Java version: 1.6.0_13

- generation of the WebService stubs:
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<executions>
   <execution>
      <id>wsimport myService</id>
      <goals>
      <goal>wsimport</goal>
      </goals>
      <configuration>
      ...
   </execution>
   ...
<executions>

<dependencies>
         <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-rt-frontend-jaxws</artifactId>
            <version>2.2.3</version>
            <exclusions>
               <!--
http://www.jroller.com/melix/entry/apache_cxf_maven_javamail_awful
               -->
               <exclusion>
                  <groupId>org.apache.geronimo.specs</groupId>
                  <artifactId>geronimo-javamail_1.4_spec</artifactId>
               </exclusion>
               <exclusion>
                  <groupId>org.apache.geronimo.specs</groupId>
                  <artifactId>geronimo-activation_1.1_spec</artifactId>
               </exclusion>
            </exclusions>
         </dependency>
         <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-rt-transports-http</artifactId>
            <version>2.2.3</version>
         </dependency>
         <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-rt-databinding-aegis</artifactId>
            <version>2.2.3</version>
         </dependency>
         <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-codegen-plugin</artifactId>
            <version>2.2.3</version>
         </dependency>
</dependencies>

Can anyone help me?
Did I ignore some wellknown facts?

BTW uploading files to the inubit server as a web service client works as well as sending the list of uploaded files. But downloading is limited.

Thanks in advance.

Michael

Reply via email to