WSIF exception in getting the port
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   karan_sarin
Posted On:   Friday, February 27, 2004 03:45 AM

hi mates 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: ttp://aravindakshan/SVWS/Service1.asmx?WSDL aravinddakshan is the machine name the Service method is as follows: //create a service factory WSIFServiceFactory factory = WSIFSe   More>>

hi mates
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: ttp://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    <<Less
About | Sitemap | Contact