javaWsdlMapping = (JavaWsdlMapping)wsMetaData.getMappingDefinition(mappingLocation.toExternalForm());
if (javaWsdlMapping == null)
{
try
{
JavaWsdlMappingFactory mappingFactory = JavaWsdlMappingFactory.newInstance();
javaWsdlMapping = mappingFactory.parse(mappingLocation);
wsMetaData.addMappingDefinition(mappingLocation.toExternalForm(), javaWsdlMapping);
}
catch (IOException e)
{
throw new WSException("Cannot parse jaxrpc-mapping.xml", e);