Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSIF-- web service invocation framework ---- HELP NEEDED

karan sarin
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi javaGurus
i am facing the problem in invocation of the web service in .net located on the remote machine.
i am using the WSIF api to do that. the exception i am getting is
Exception in thread "main" org.apache.wsif.WSIFException: Unable to find an available port
at org.apache.wsif.base.WSIFServiceImpl.getPort(Unknown Source)
at org.apache.wsif.base.WSIFServiceImpl.getPort(Unknown Source)
at Client.main(
i am mentioning the wsdl path as: http://aravindakshan/SVWS/Service1.asmx?WSDL aravinddakshan is the machine name
the Service method is as follows:
//create a service factory
WSIFServiceFactory factory = WSIFServiceFactory.newInstance();
WSIFService service= factory.getService(args[0],null,null,"","SVWSSoap");

//get the port
WSIFPort port= service.getPort();
plz help as there is a deadline to meet and i am very new to the topic
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic