[ http://jira.codehaus.org/browse/XFIRE-397?page=all ]
     
Dan Diephouse closed XFIRE-397:
-------------------------------

    Resolution: Fixed

Thanks Guillaume. I just fixed this in SVN.

> Dynamic proxy converting issue
> ------------------------------
>
>          Key: XFIRE-397
>          URL: http://jira.codehaus.org/browse/XFIRE-397
>      Project: XFire
>         Type: Bug

>     Versions: 1.1-RC1
>  Environment: Windows XP/Pro SP2 + jdk1.5.0b6 + XFire-1.1 RC1
>     Reporter: Guillaume ALLEON
>     Assignee: Dan Diephouse
>      Fix For: 1.1

>
>
> This exception occurs when trying to contact the Amazon web service with the 
> dynamic client:
> import groovy.net.soap.SoapClient
> def proxy = new 
> SoapClient("http://soap.amazon.com/schemas2/AmazonWebServices.wsdl";)
> def result = proxy.KeywordSearchRequest("Borges", "2", "books", "", "lite", 
> "")
> java.lang.IndexOutOfBoundsException : Index: 1 Size: 1
>         at org.jdom.ContentList.get(ContentList.java:386)
>         at org.jdom.ContentList$FilterList.get(ContentList.java:591)
>         at org.codehaus.xfire.client.ClientFaultConverter.processFaultDetail 
> (ClientFaultConverter.java:39)
>         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:478)
>         at 
> org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:175)
>         at org.codehaus.xfire.transport.http.HttpChannel.send 
> (HttpChannel.java:66)
>         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:360)
>         at org.codehaus.xfire.client.Client.invoke(Client.java:390)
>         at groovy.net.soap.SoapClient.invokeMethod(Unknown Source)
>         at org.codehaus.groovy.runtime.Invoker.invokeMethod (Invoker.java:161)
>         at 
> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:104)
>         at 
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod(ScriptBytecodeAdapter.java:85)
>         at amazon.run(amazon.groovy:5)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to