private final PortType portType;
private String wsdlStr;
public ServiceInvoke(String serviceName,ApplicationGlobalContext gloablContext) throws GfacException{
RegistryService registryService = gloablContext.getRegService();
try {
wsdlStr = registryService.getConcreateWsdl(QName.valueOf(serviceName).toString());
if(wsdlStr != null){
WSDLReader wsdlReader = WSDLFactory.newInstance().newWSDLReader();
def = wsdlReader.readWSDL(null, new InputSource(new ByteArrayInputStream(wsdlStr.getBytes())));
}else{