org.rhq.enterprise.server.ws.utility
Class WsUtility
java.lang.Object
org.rhq.enterprise.server.ws.utility.WsUtility
public class WsUtility
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WsUtility
public WsUtility()
generateRemoteWebserviceURL
public static URL generateRemoteWebserviceURL(Class remote,
String host,
int port,
boolean useHttps)
throws MalformedURLException
- Dynamically builds the WSDL URL to connect to a remote server.
- Parameters:
remote - class correctly annotated with Webservice reference.
- Returns:
- valid URL
- Throws:
MalformedURLException
generateRemoteWebserviceQName
public static QName generateRemoteWebserviceQName(Class remote)
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.