You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Arnaud MERGEY <am...@sunopsis.com> on 2006/04/10 18:31:50 UTC

[Axis2 1.0 RC1] NullpointerException in Dynamic ServiceClient

Hi,

In order to testing Axis2 1.0 RC1 change , I'have upgraded my Dynamic 
web service invoke.

Now I'have NullPointerException when in ServiceClient constructor

ServiceClient client = new ServiceClient(mConfigContext, mWsdlUrl, 
pServiceQName, pPortName);

All parameter are Not null and valid (this code works perfectly with 
axis2 0.95)

Maybe change with config context ( I use mConfigContext = 
ConfigurationContextFactory.createConfigurationContextFromFileSystem(null, 
null);)


java.lang.NullPointerException
    at 
org.apache.axis2.context.ServiceGroupContext.getServiceContext(ServiceGroupContext.java:59)
    at org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:160)

Just curiosity, why WOM has been removed ?

Arnaud