Iterator iterator = service.getPorts( ).values( ).iterator( );
while ( iterator.hasNext( ) )
{
Port port = (Port) iterator.next( );
ResourceDefinition resourceDef =
new ResourceDefinitionImpl( def,
service.getQName( ), port,
wsdlFile.toURL( ) );
File serviceDir = new File( m_outputDir,
resourceDef.getName( ) );
System.out.println( "Processing WSRF WSDL port \"" + resourceDef.getName( ) + "\"..." );
processTemplates( resourceDef, wsdlFile, serviceDir );
copyWsdlFile( wsdlFile, serviceDir );
}
}
}