Hide Forgot
project_key: SOA webservice_mtom quickstarts demonstrates MTOM. The client part needs XMLStreamBuffer from server/${config}/soap.esb/streambuffer.xml to lookup endpoint. Quickstarts have this library on classpath and therefore everything works fine, but client should not be requested to have libraries in this directory on a classpath. Problematic is this line of code: Service service = Service.create(wsdlURL, serviceName); That causes: java.lang.NoClassDefFoundError: com/sun/xml/stream/buffer/XMLStreamBuffer The issue was in SOA-P 5.1 as well but was hidden by a different bug in MTOM.
There seem to be more jars missing (stax-ex-1.1.jar for instance). Please note that this happens only with CXF stack in place.
When I run our tests that uses more MTOM features (different datatypes) I even miss org.jvnet.mimepull.MIMEMessage that is not present in any of server libraries.
The CXF installer removes the following (non-WS) jars: client/jaxws-tools.jar client/jettison.jar client/stax-ex.jar client/streambuffer.jar but they could be used by non-WS clients.
Link: Added: This issue is a dependency of JBPAPP-7124
Link: Added: This issue depends JBPAPP-7124
Link: Removed: This issue is a dependency of JBPAPP-7124
Link: Added: This issue is related to SOA-3290
Link: Added: This issue is related to SOA-3319
Resolved with revision 10079 of: src/main/patches/eap/patch_wscxf_console.xml pom.xml Commit message: SOA-3290 SOA-3319 SOA-3330 Use jbossws-cxf-installer version 5.1.2-SOA.
Release Notes Docs Status: Added: Not Required
Release Notes Docs Status: Removed: Not Required Added: Not Yet Documented Writer: Added: dlesage
Release Notes Docs Status: Removed: Not Yet Documented Added: Not Required
Verified in 5.2.ER4