[xgws-user] Re: executeInputOnly problems
Aleksander Slominski
aslom_at_cs.indiana.edu
Mon, 06 Feb 2006 10:17:42 -0500
Tobias Anstett wrote:
> Hi,
>
> i try to invoke the "executeInputOnly" opperation defined in this wsdl:
> NOTICE that you can't get access to the service endpoint because it
> is in the intranet ! But thats not important for my problem.
>
>
>
> This code throws a NullPointerException. (There are no problems
> invoking the two-way operations)
>
>
> WSIFServiceFactory wsf = WSIFServiceFactory.newInstance();
> WSIFService serv = wsf.getService(def);
>
> // resolving the port and setting the operation to invoke
> WSIFPort port = serv.getPort();
>
> System.out.println(opName); // "executeInputOnly" the correct value
> WSIFOperation op = port.createOperation(opName); // HERE
> NULLPOINTEREXCEPTION IS THROWN
>
> ...
>
hi,
what is the stack trace? i would need to see where it failed.
thanks,
alek
--
The best way to predict the future is to invent it - Alan Kay