Index: deployment/dol/src/main/java/com/sun/enterprise/deployment/archivist/Archivist.java =================================================================== --- deployment/dol/src/main/java/com/sun/enterprise/deployment/archivist/Archivist.java (revision 43977) +++ deployment/dol/src/main/java/com/sun/enterprise/deployment/archivist/Archivist.java (revision ) @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright (c) 1997-2010 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997-2011 Oracle and/or its affiliates. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common Development @@ -1089,7 +1089,7 @@ private void writeWLWebServicesDescriptors(BundleDescriptor desc, WritableArchive out) throws IOException { if (desc.hasWebServices()) { - DeploymentDescriptorFile webServicesDD = new WLWebServicesDeploymentDescriptorFile(desc); + DeploymentDescriptorFile webServicesDD = new WLWebServicesDeploymentDescriptorFile(desc.getWebServices()); OutputStream os = out.putNextEntry(webServicesDD.getDeploymentDescriptorPath()); webServicesDD.write(desc.getWebServices(), os); out.closeEntry();