XFire

Dynamic proxy converting issue

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1-RC1
  • Fix Version/s: 1.1
  • Component/s: None
  • Labels:
    None
  • Environment:
    Windows XP/Pro SP2 + jdk1.5.0b6 + XFire-1.1 RC1
  • Number of attachments :
    0

Description

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)

Activity

Hide
Dan Diephouse added a comment -

Thanks Guillaume. I just fixed this in SVN.

Show
Dan Diephouse added a comment - Thanks Guillaume. I just fixed this in SVN.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: