will do

On 5/11/06, Dan Diephouse <[EMAIL PROTECTED]> wrote:
Hi Brice,
Could you please file a JIRA issue for this? This definitely looks like
a bug with the dynamic client.
- Dan

Brice Ruth wrote:
> I'm using the dynamic client to test a simple service method that
> throws an Exception ( testing Faults ). However, the dynamic client
> throws a NullPointerException in
> ClientFaultConverter.processFaultDetail(). Here's what my method looks
> like:
>
>     @WebMethod
>     public String throwFault() throws SimpleException {
>         throw new SimpleException("An expected error occured.");
>     }
>
> SimpleException extends Exception
>
> Here's what my test client looks like:
>
>             client.invoke("throwFault", null);
>
> Here's the wsdl:operation:
>
> <wsdl:operation name="throwFault">
> <wsdl:input message="tns:throwFaultRequest" name="throwFaultRequest"/>
> <wsdl:output message="tns:throwFaultResponse" name="throwFaultResponse"/>
> <wsdl:fault message="tns:SimpleException" name="SimpleException"/>
> </wsdl:operation>
>
> And here's the full XFire stacktrace:
>
> 13:25:10,900 [main] ERROR Jsr181Test : Exception in testThrowFault()
> java.lang.NullPointerException
>     at
> org.codehaus.xfire.client.ClientFaultConverter.processFaultDetail
> (ClientFaultConverter.java:56)
>     at
> org.codehaus.xfire.client.ClientFaultConverter.invoke(ClientFaultConverter.java:32)
>     at
> org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:98)
>     at org.codehaus.xfire.client.Client.onReceive (Client.java:376)
>     at
> org.codehaus.xfire.transport.http.HttpChannel.sendViaClient (HttpChannel.java:179)
>     at
> org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:82)
>     at org.codehaus.xfire.handler.OutMessageSender.invoke
> (OutMessageSender.java:26)
>     at
> org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:98)
>     at org.codehaus.xfire.client.Client.invoke(Client.java:263)
>     at org.codehaus.xfire.client.Client.invoke (Client.java:293)
>
> --
> Brice Ruth
> Software Engineer, Madison WI


--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com
http://netzooid.com/blog




--
Brice Ruth
Software Engineer, Madison WI

Reply via email to