axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27169] New: - Removal of typeMappings using org.apache.axis.utils.Admin
Date Mon, 23 Feb 2004 17:47:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27169>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27169

Removal of typeMappings using org.apache.axis.utils.Admin 

           Summary: Removal of typeMappings using
                    org.apache.axis.utils.Admin
           Product: Axis
           Version: current (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: ramyan@us.ibm.com


I have some problems undeploying a typeMapping once it has been 
deployed.  For example, I have the following deployment descriptor: 

<deployment xmlns="http://xml.apache.org/axis/wsdd/"    
xmlns:gsdl="http://www.gridforum.org/namespaces/2002/10/gridServices"    
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"    
xmlns:ogsatype0="http://www.gridforum.org/namespaces/2003/03/OGSI"    
xmlns:ogsatype1="http://impl.guide.ogsa.globus.org" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 
        <typeMapping 
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" 
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
qname="ns1:lifecycleStateType" 
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" 
type="java:org.gridforum.crm.datatypes.LifecycleStateType" 
xmlns:ns1="http://www.gridforum.org/namespaces/2003/17/crm"/> 
</deployment> 

This gets deployed using: 
    java  org.apache.axis.utils.Admin server server-deploy.wsdd 

Then I have an undeployment descriptor: 

<undeployment xmlns="http://xml.apache.org/axis/wsdd/"    
xmlns:gsdl="http://www.gridforum.org/namespaces/2002/10/gridServices"    
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"    
xmlns:ogsatype0="http://www.gridforum.org/namespaces/2003/03/OGSI"    
xmlns:ogsatype1="http://impl.guide.ogsa.globus.org" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 
        <typeMapping qname="ns1:lifecycleStateType"/> 
</undeployment> 

Note the "scope" of the typeMapping - outside any <service> </service> tags.

The undeployment operation does not remove the typeMapping from server-
config.wsdd.  Moreover, if the deployment operation is run again, a duplicate 
typeMapping is added to server-config.wsdd.

Mime
View raw message