public void testWSDLPortType() throws WSDLException, IOException, MissingResourceException,
InvalidServiceContractException {
RhinoScript rs = new RhinoScript("wsdlPortType",
"SCA = { wsdlPortType : 'HelloWorld', wsdlNamespace : 'http://helloworld',};", null,
getClass().getClassLoader());
RhinoSCAConfig scaConfig = new RhinoSCAConfig(rs.getScriptScope());
WSDLDefinitionRegistryImpl wsdlReg = new WSDLDefinitionRegistryImpl();
wsdlReg.setSchemaRegistry(new XMLSchemaRegistryImpl());
wsdlReg.setMonitor(NULL_MONITOR);
URL wsdlURL =