Client ArrayIndexOutOfBoundsException on valid WSDL.
----------------------------------------------------
Key: XFIRE-912
URL: http://jira.codehaus.org/browse/XFIRE-912
Project: XFire
Issue Type: Bug
Affects Versions: 1.2.5, 1.2.4
Environment: [EMAIL PROTECTED]:~/# uname -a
FreeBSD dopler.bizlink.ru 6.1-RELEASE-p5 FreeBSD 6.1-RELEASE-p5 #0: Sat Sep 2
22:31:28 MSD 2006 [EMAIL PROTECTED]:/mnt/backup/usr/obj/usr/src/sys/DOPLER
i386
[EMAIL PROTECTED]:~/# java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01)
Java HotSpot(TM) Client VM (build diablo-1.5.0_07-b01, mixed mode)
Reporter: Artem Kozarezov
Assigned To: Dan Diephouse
Attachments: SmsSubscriptionAdminService.asmx.xml
Invoking GetContentProviderGUID on the following URL:
http://subscriptions.mts.test.qsupport.ru/get_member_id/SmsSubscriptionAdminService.asmx?WSDL
(provided supposedly by Microsoft .NET framework)
works with eXtc WSDL Validator, but fails (ArrayIndexOutOfBoundsException) with
XFire.
Test code (this is in the Nice language - http://nice.sf.net/):
let client = new org.codehaus.xfire.client.Client(new
java.net.URL(ADMIN_SERVICE_URL));
//fails regardless of authentication// client.addOutHandler (new
ClientAuthenticationHandler ());
Object[] contentProviderGUID = client.invoke("GetContentProviderGUID", []);
Stack trace (with XFire-1.2.5):
java.lang.ArrayIndexOutOfBoundsException: 0
at
org.codehaus.xfire.service.binding.ServiceInvocationHandler.writeHeaders(ServiceInvocationHandler.java:344)
at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:73)
at org.codehaus.xfire.client.Client.invoke(Client.java:335)
at org.codehaus.xfire.client.Client.invoke(Client.java:349)
--
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
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email