Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(String [] args){
- String url="http://intern.test.wsdl";
- URL uri;
- try {
- uri = new URL(url);
- } catch (MalformedURLException e) {
- uri=null;
- e.printStackTrace();
- }
- Service testService=Service.create(uri, serviceName);
- Iterator<QName> port=testService.getPorts();
- QName Qport=port.next();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement