This content has been marked as final.
Show 2 replies
-
1. Re: Can not Deploy Web Service with Custom typeMappings (Nul
iamapony Aug 12, 2004 8:51 PM (in response to iamapony)Ooops the xml didn't come through, here's another try.
<?xml version="1.0" encoding="UTF-8"?> <!-- --> <!-- This JBoss.Net Web Service Descriptor has been generated by XDoclet --> <!-- and is brought to you by F. M. Brier, C. G. Jung and J. Essington --> <!-- --> <deployment name="locationServices" xmlns="http://xml.apache.org/axis/wsdd/" targetNamespace="http://www.creeksystems.com/activeChain/locationServices" xmlns:logistics="http://www.creeksystems.com/activeChain/locationServices" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <!-- The following are declarations of service endpoints targetted to session beans --> <service name="locationServices" provider="Handler"> <parameter name="handlerClass" value="org.jboss.net.axis.server.EJBProvider"/> <parameter name="beanJndiName" value="ejb/activechain/LocationManager"/> <parameter name="allowedMethods" value="submitLocationEvent submitLocationRecord "/> <requestFlow name="locationServicesRequest"> <handler type="java:org.jboss.net.axis.server.JBossAuthenticationHandler"> <parameter name="securityDomain" value="java:/jaas/ActiveChain-login"/> </handler> <handler type="java:org.jboss.net.axis.server.JBossAuthorizationHandler"> <parameter name="securityDomain" value="java:/jaas/ActiveChain-login"/> <parameter name="allowedRoles" value="users"/> </handler> </requestFlow> <responseFlow name="locationServicesResponse"> </responseFlow> <!-- Operation mapping results --> <operation name="submitLocationEvent" returnQName="submitLocationEvent2"> <parameter name="rlr"/> <parameter name="rle"/> </operation> <operation name="submitLocationRecord" returnQName="submitLocationRecord2"> <parameter name="rlr"/> </operation> </service> <!-- The following are typemappings for entity beans for implementing the implicit web-service value-object pattern --> <!-- The following are typemappings for bean-type value-objects --> <typeMapping qname="locationServices:RemoteLocationRecord" type="java:com.creeksystems.activechain.apps.services.location.RemoteLocationRecord" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> <typeMapping qname="locationServices:RemoteLocationEvent" type="java:com.creeksystems.activechain.apps.services.location.RemoteLocationEvent" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> <!-- There follow merged custom web service descriptions --> </deployment>
-
2. Re: Can not Deploy Web Service with Custom typeMappings (Nul
iamapony Aug 12, 2004 10:00 PM (in response to iamapony)SOLVED:
the qname namespace was suppose to be logistics, not locationServices, corrected typeMapping section looks like this<typeMapping qname="logistics:RemoteLocationRecord" type="java:com.creeksystems.activechain.apps.services.location.RemoteLocationRecord" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> <typeMapping qname="logistics:RemoteLocationEvent" type="java:com.creeksystems.activechain.apps.services.location.RemoteLocationEvent" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>