// create a service factory
WSIFServiceFactory factory = WSIFServiceFactory.newInstance();
WSIFServiceImpl.setDynamicWSIFProvider( "http://schemas.xmlsoap.org/wsdl/ejoe/",
new WSIFDynamicProvider_EJOE() );
WSIFServiceImpl.addExtensionRegistry( new EJOEExtensionsRegistry() );
try
{
WSIFService service = factory.getService( WSIFTypeTest.class.getResource( "SimpleTypes.wsdl" )
.toString(), null, null, "http://wsifservice.simpletypes/", "SimplePT" );