-
1. Re: Configuring beanMapping with JBossWS
andrewgriffiths Jan 17, 2005 5:44 PM (in response to andrewgriffiths)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. -
2. Re: Configuring beanMapping with JBossWS
thomas.diesler Jan 20, 2005 9:55 AM (in response to andrewgriffiths)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. -
3. Re: Configuring beanMapping with JBossWS
thomas.diesler Jan 20, 2005 9:57 AM (in response to andrewgriffiths)beanMapping is a specialized form of typeMapping ...
-
4. Re: Configuring beanMapping with JBossWS
andrewgriffiths Jan 20, 2005 8:30 PM (in response to andrewgriffiths)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 ---
-
5. Re: Configuring beanMapping with JBossWS
thomas.diesler Jan 21, 2005 8:21 AM (in response to andrewgriffiths)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
http://www.jboss.org/wiki/Wiki.jsp?page=WSTypeMapping -
6. Re: Configuring beanMapping with JBossWS
kanno Jan 21, 2005 5:37 PM (in response to andrewgriffiths)
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? -
7. Re: Configuring beanMapping with JBossWS
thomas.diesler Jan 31, 2005 6:26 AM (in response to andrewgriffiths)The org.apache.axis.encoding.ser.BeanSerializerFactory is not tied to rpc/encoded, it can be used with literal as well.