• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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(Client.java:30)
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,"http://tempuri.org/","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
KARAN
 
reply
    Bookmark Topic Watch Topic
  • New Topic