JavaRanch » Java Forums »
Products »
JBoss/WildFly
| Author |
Web service invocation gives nullpointer exception?
|
jina das
Greenhorn
Joined: Nov 03, 2007
Posts: 1
|
|
I've created a web service using netbeans on jboss 4.2.1ga by exposing a ejb. the wdsl is created and loads in browser when i check it & the jmx-console also seems pretty convinced all is working but then when i try an invoke it from within a flex page, i get a nullpointer exception when i google it, i come here; http://jira.jboss.org/jira/secure/attachment/12316304/SOAPFaultHelperJAXWS.java and it says if the event context is initialised, it is fixed, my log tells me that initialcontext did not implement eventcontext - so this seems to be my problem. could anyone point me in the direction of getting my event context up - when i've googled it, i've read that the warning is merely a red herring & ignorable! or i get here http://www.koders.com/java/fid72171CE0FDE51DD5EC10946C2A938F23CFD3ED94.aspx - where the exception alludes to it being a classcast exception - i'm not really sure what to do with that information though! i'm really at a loss here and any hints would be massively massively appreciated! -------------------------------------------------------------------------------- context message; -------------------------------------------------------------------------------- invocation error;
|
 |
 |
|
|
subject: Web service invocation gives nullpointer exception?
|
|
|
|