> I have successfully created a number of rpc/encoded web services using Axis 1.1 
> 
> I need to provide these services as document/literal web services.
> 
> I have loaded axis 1.2beta 
> 
> However when I run the wsdl2Java generator I get the following error :
> 
> faultString: Please register a typemapping/beanmapping for 
> 'wd.common.access.ExternAccess'
> 
> 
> I have tried to do this, from following suggestions from theis mail list but nothing 
> seems to alter this output ..............
> 
> 
> I am using Eclipse (and it is interacting with Tomcat 5.0) ..............
> 
> 
> I running the java2wsdl tool from a windows batch file :
> 
> java -classpath 
> .;D:\Qmdb\WEB-INF\lib\axis.jar;D:\Qmdb\WEB-INF\classes\;D:\Qmdb\WEB-INF\lib\commons-logging.jar;D:\Qmdb\WEB-INF\lib\commons-discovery.jar;D:\Qmdb\WEB-INF\lib\wsdl4j.jar;D:\Qmdb\WEB-INF\lib\jaxrpc.jar;D:\Qmdb\WEB-INF\lib\saaj.jar;D:\Qmdb\WEB-INF\lib\wdInf.jar
>   org.apache.axis.wsdl.Java2WSDL -y DOCUMENT -u LITERAL -o clClient.wsdl  
> -l"http://localhost:8080/Qmdb/services/ClClient"; -n  "urn:Qmdb" -p"wd.cl.client.ws" 
> "urn:Qmdb" wd.cl.client.ws.ClClientWS
> 
> The wsdd file is :
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <deployment xmlns="http://xml.apache.org/axis/wsdd/"; 
> xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
>  <globalConfiguration>
>   <parameter name="adminPassword" value="admin"/>
>   <parameter name="attachments.Directory" value="D:\Qmdb\WEB-INF\attachments"/>
>   <parameter name="attachments.implementation" 
> value="org.apache.axis.attachments.AttachmentsImpl"/>
>   <parameter name="sendXsiTypes" value="true"/>
>   <parameter name="sendMultiRefs" value="true"/>
>   <parameter name="sendXMLDeclaration" value="true"/>
>   <parameter name="axis.sendMinimizedElements" value="true"/>
>   <requestFlow>
>    <handler type="java:org.apache.axis.handlers.JWSHandler">
>     <parameter name="scope" value="session"/>
>    </handler>
>    <handler type="java:org.apache.axis.handlers.JWSHandler">
>     <parameter name="scope" value="request"/>
>     <parameter name="extension" value=".jwr"/>
>    </handler>
>   </requestFlow>
>  </globalConfiguration>
>  <handler name="LocalResponder" 
> type="java:org.apache.axis.transport.local.LocalResponder"/>
>  <handler name="URLMapper" type="java:org.apache.axis.handlers.http.URLMapper"/>
>  <handler name="Authenticate" 
> type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
>  
>  <service name="AdminService" provider="java:MSG">
>   <parameter name="allowedMethods" value="AdminService"/>
>   <parameter name="enableRemoteAdmin" value="false"/>
>   <parameter name="className" value="org.apache.axis.utils.Admin"/>
>   <namespace>http://xml.apache.org/axis/wsdd/</namespace>
>  </service>
>  <service name="ClClient" provider="java:RPC">
>   <parameter name="allowedMethods" value="*"/>
>   <parameter name="wsdlPortType" value="ClClientWS"/>
>   <parameter name="scope" value="Session"/>
>   <parameter name="className" value="wd.cl.client.ws.ClClientSoapBindingSkeleton"/>
>   <parameter name="wsdlServicePort" value="ClClient"/>
>   <parameter name="wsdlTargetNamespace" value="urn:WdQmdb"/>
>   <parameter name="wsdlServiceElement" value="ClClientWSService"/>
>   <typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" 
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; qname="ns1:ClClientEntity" 
> serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" 
> type="java:wd.cl.client.ClClientEntity" xmlns:ns1="http://client.cl.wd"/>
>   <typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" 
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; qname="ns2:ClClientPerson" 
> serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" 
> type="java:wd.cl.client.ClClientPerson" xmlns:ns2="http://client.cl.wd"/>
>   <typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" 
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
> qname="ns3:NotFoundException" serializer="org.apache.> 
> axis.encoding.ser.BeanSerializerFactory" 
> type="java:wd.common.exception.NotFoundException" 
> xmlns:ns3="http://exception.common.wd"/>
>   <typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" 
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; qname="ns4:ExternAccess" 
> serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" 
> type="java:wd.common.access.ExternAccess" xmlns:ns4="http://access.common.wd"/>
>   <typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" 
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; qname="ns5:ClClient" 
> serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" 
> type="java:wd.cl.client.ClClient" xmlns:ns5="http://client.cl.wd"/>
>   <typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" 
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; qname="ns6:SysException" 
> serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" 
> type="java:wd.common.exception.SysException" xmlns:ns6="http://exception.common.wd"/>
>   <typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" 
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; qname="ns7:BusException" 
> serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" 
> type="java:wd.common.exception.BusException" xmlns:ns7="http://exception.common.wd"/>
>   <typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" 
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; qname="ns8:ClGroup" 
> serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" 
> type="java:wd.cl.group.ClGroup" xmlns:ns8="http://group.cl.wd"/>
>  </service>
>  <service name="Version" provider="java:RPC">
>   <parameter name="allowedMethods" value="getVersion"/>
>   <parameter name="className" value="org.apache.axis.Version"/>
>  </service>
>  <transport name="http">
>   <requestFlow>
>    <handler type="URLMapper"/>
>    <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
>   </requestFlow>
>  </transport>
>  <transport name="local">
>   <responseFlow>
>    <handler type="LocalResponder"/>
>   </responseFlow>
>  </transport>
> </deployment>
> 
> 
> 
> I am relatively new to this area of J2EE, can someone please guide me as to what I 
> should be doing ???????
> 
> Am i right in assuming that the    <service name="ClClient" provider="java:RPC">  
> service is from when I generated this service as rpc / encoded ??????
> 
> Many Thanks,
> 
> Mike Canham.
> 
> 
> 
> 


************************************************************************
The information in this e-mail together with any attachments is
intended only for the person or entity to which it is addressed
and may contain confidential and/or privileged material.
Any form of review, disclosure, modification, distribution
and/or publication of this e-mail message is prohibited.  
If you have received this message in error, you are asked to
inform the sender as quickly as possible and delete this message
and any copies of this message from your computer and/or your
computer system network.  
************************************************************************

Reply via email to