For anyone interested an easy workaround was
to remove the jboss-ws4ee module and install/configure Apache
Axis as a standard web application instead.
In my case this easily allowed me to deploy the web services
by manually writing the deployment wsdd.
is a specialized form of
which can be specified in ws4ee-deployment.xml in the rare case where the standard jaxrpc-mapping.xml is not sufficient.
Replacing axis-ws4ee.jar by a the Apache axis distribution you will loose all WS4EE functionality and BasicProfile-1.0 compliance.
beanMapping is a specialized form of typeMapping ...
Is there any example showing how BeanMapping would be specified?
The following seems to be ignored!
---- BEGIN ws4ee-deployment.xml --- <deployment xmlns='http://xml.apache.org/axis/wsdd/' xmlns:java='http://xml.apache.org/axis/wsdd/providers/java' xmlns:soap='http://schemas.xmlsoap.org/soap/encoding/' xmlns:xsi='http://www.w3.org/2000/10/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema'> <service name='tnd.ear/tnd_exec.war#ActiveEventExecutor' style='rpc' use='encoded' provider='Handler'> <beanMapping qname="ns2:DSLTestResults" xmlns:ns2="http://myco.com" languageSpecificType="java:myco.com.Results"/> </service> </deployment> ---- END ws4ee-deployment.xml ---
The mapping meta information should primarily specified by jaxrpc-mapping.xml which can be generated with wscompile. Only in rare circumstances ws4ee-deployment.xml is needed at all.
The wiki tells you how to define a valid ws4ee-deployment.xml
Looking at the axis docs, I came across this that might be of some help.
And I quote,
(The <beanMapping> tag is really just shorthand for a <typeMapping> tag with serializer="org.apache.axis.encoding.ser.BeanSerializerFactory", deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory", and encodingStyle="http://schemas.xmlsoap.org/soap/encoding/", but clearly it can save a lot of typing!)
But, as Thomas has posted in the past, I think the SOAP encoding is not WS-I Basic Profile compliant?
The org.apache.axis.encoding.ser.BeanSerializerFactory is not tied to rpc/encoded, it can be used with literal as well.