Hi,

I'm new to the WSIF framework and trying to get a sample up-and-running 
using one of our webservices.

This is the wsdl file



And I'm using the following code:

...
// create a service factory
WSIFServiceFactory factory = WSIFServiceFactory.newInstance();
System.out.println("WSDL file to use=>" + wsdlFile + "<");
WSIFService service = factory.getService(wsdlFile, null, null,
 "http://tempuri.org/TME.VehicleProduct.Service/2007/04/30";,
                "VehicleProductSoap");
// get the port
WSIFPort port = service.getPort();
...

But when running this I always have the following exception:

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 com.tme.ea.ws.wsif.CarConfiguratorWebService.getService(
CarConfiguratorWebService.java:63)
        at com.tme.ea.ws.wsif.CarConfiguratorWebService.main(
CarConfiguratorWebService.java:43)

Can somebody advice me on this one?

Thanks
Walter



Attachment: vehicle.wsdl
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to