You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by oscar1984 <er...@gmail.com> on 2007/12/27 15:41:03 UTC

[jira] problem with client

Hi all,

I've deployed a webservice and can call it from .et.  when I try and use a
Cxf generated client I get:

 [java] Exception in thread "main" java.lang.IndexOutOfBoundsException:
Index: 0, Size: 0
 [java]     at java.util.ArrayList.RangeCheck(ArrayList.java:547)
 [java]     at java.util.ArrayList.get(ArrayList.java:322)
 [java]     at
java.util.Collections$UnmodifiableList.get(Collections.java:1154)
 [java]     at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.initializeWrapping(JaxWsServiceFactoryBean.java:219)
 [java]     at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.initializeWSDLOperation(JaxWsServiceFactoryBean.java:143)
 [java]     at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeWSDLOperations(ReflectionServiceFactoryBea
a:389)
 [java]     at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.initializeWSDLOperations(JaxWsServiceFactoryBean.java:179)
 [java]     at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.ja
3)
 [java]     at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.
331)
 [java]     at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:151)
 [java]     at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:93)
 [java]     at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:74

 [java]     at
org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:51)
 [java]     at
org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:89)
 [java]     at
org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:356)
 [java]     at
org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:261)
 [java]     at javax.xml.ws.Service.getPort(Service.java:94)
 [java]     at
com.ml.debt.ptc.gpb.impl.services.analytic.gda.ws.GDAAnalyticsCalculatorImplService.getGdaWsPort(GDAAnalyticsCal
orImplService.java:55)
 [java]     at
com.ml.debt.ptc.gpb.services.analytic.gda.GdaWS_GdaWsPort_Client.main(GdaWS_GdaWsPort_Client.java:50)

Does anyone know what the problem is?

Thanks
-- 
View this message in context: http://www.nabble.com/problem-with-client-tp14513901p14513901.html
Sent from the cxf-issues mailing list archive at Nabble.com.


Re: [jira] problem with client

Posted by Glen Mazza <gl...@verizon.net>.
Am Donnerstag, den 27.12.2007, 06:41 -0800 schrieb oscar1984:

> Hi all,
> 
> I've deployed a webservice and can call it from .et.  when I try and use a
> Cxf generated client I get:
> 

To help with troubleshooting, I would recommend using a Metro client to
see if you get the same or a different error message (or none at all).
Metro and CXF are very similar when called from Ant--you can see the
build.xml file here[1] to see how to activate a Metro-based client.

HTH,
Glen

[1] http://www.jroller.com/gmazza/entry/using_the_ebay_shopping_api1
(Step #5)