You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2004/01/16 17:13:32 UTC
DO NOT REPLY [Bug 26182] -
FileProvider causes NullPointerException
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26182>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26182
FileProvider causes NullPointerException
dims@yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
------- Additional Comments From dims@yahoo.com 2004-01-16 16:13 -------
Thilo,
try the following - works for me. basically create the Service with the config
object BEFORE trying to get the global request chain.
public class Test1 {
public static void main(String[] args) throws Exception {
EngineConfiguration myConfig = new FileProvider("my-client-config.wsdd");
Service service = new Service(myConfig);
// next line causes NullPointerException
Chain globalReqChain = (Chain) myConfig.getGlobalRequest();
}
}
Thanks,
dims