Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. public static void main(String [] args){
  2. String url="http://intern.test.wsdl";
  3. URL uri;
  4. try {
  5. uri = new URL(url);
  6. } catch (MalformedURLException e) {
  7. uri=null;
  8. e.printStackTrace();
  9. }
  10. Service testService=Service.create(uri, serviceName);
  11. Iterator<QName> port=testService.getPorts();
  12. QName Qport=port.next();
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement