Hello,
Please post all future questions to [EMAIL PROTECTED]
This has been brought up on the mailing lists before. You should get the help you need from the following messages:
http://marc.theaimsgroup.com/?l=wsif-user&m=105774436411999&w=2
http://marc.theaimsgroup.com/?l=wsif-user&m=105284481626232&w=2
Please search the mailing list archives (available at http://marc.theaimsgroup.com, follow the link to wsif-user under the "Apache" header) prior to posting questions.
Thanks,
Nirmal.
| "Karan Sarin" <[EMAIL PROTECTED]>
03/03/2004 06:37 AM |
To: Nirmal Mukhi/Watson/[EMAIL PROTECTED] cc: Subject: WSIF--help in getting the port |
hi nirmal
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. i am done with all the required jar
files in my class path namely :
wsif-j2c,wsdl4j-20021124,axis-1.0,,j2ee,jaxrpc-1_1,wsif,ant.
my wsdl does not mention the localhost in its address sapce as required but
still i am getting the following exception:
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();
the same exception i am getting in the examples simplesoap, complexsoap
provided in the wsif package
plz help as there is a deadline to meet and i am very new to the topic
KARAN
