Hi,

I do the following to get a port so that I can call createOperation() on it.

        WSIFServiceFactory factory = WSIFServiceFactory.newInstance();
        WSIFService service = factory.getService(definition, service,
portType);
        WSIFPort port = service.getPort();


Everything has been working fine until I had to add axis.jar to the
classpath for other functionality. Now I am getting this warning and then an
exception:

[WARN] wsif - -WSIF0006W: Multiple WSIFProvider found supporting the same
namespace URI 'http://schemas.xmlsoap.org/wsdl/soap/'. Found
('org.apache.wsif.providers.soap.apachesoap.WSIFDynamicProvider_ApacheSOAP,
org.apache.wsif.providers.soap.apacheaxis.WSIFDynamicProvider_ApacheAxis')  

java.lang.NullPointerException
        at org.apache.wsif.util.WSIFProperties$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.wsif.util.WSIFProperties.getProperty(Unknown Source)
        at
org.apache.wsif.util.WSIFPluggableProviders.isDefaultProvider(Unknown
Source)
        at
org.apache.wsif.util.WSIFPluggableProviders.chooseProvider(Unknown Source)
        at org.apache.wsif.util.WSIFPluggableProviders.getProvider(Unknown
Source)
        at
org.apache.wsif.base.WSIFServiceImpl.createDynamicWSIFPort(Unknown Source)
        at org.apache.wsif.base.WSIFServiceImpl.getPort(Unknown Source)
        at org.apache.wsif.base.WSIFServiceImpl.getPort(Unknown Source)

Before I dig any deeper I wonder if anyone has seen this before and if there
is a known solultion? Thanks.

Tony

Reply via email to