This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This bug was originally marked as duplicate of bug 159688, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 6.9 (Build 201006101454) VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02 OS: Linux User Comments: etf: I've got this exception while trying to add web service to NetBeans. WebService is https://vois.hptronic.cz/sale/gatepartner.asmx?WSDL ryansenaratne: occure when open web service GUEST: Loading a .Net generated WSDL file. GUEST: loading a wsdl created by .net and hosted by visual studio 2008 http://localhost:50143/website/plansahead/API/PlansAhead.asmx?WSDL <?xml version="1.0" encoding="utf-8"?> <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://emapsite.com/plansahead/2009/06" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://emapsite.com/plansahead/2009/06" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> <wsdl:types> <s:schema elementFormDefault="qualified" targetNamespace="http://emapsite.com/plansahead/2009/06"> <s:element name="GetCopyrightList"> <s:complexType /> </s:element> <s:element name="GetCopyrightListResponse"> <s:complexType> < GUEST: Estava tentando utilizar o webservice de consulta por ISBN encontrado na URL http://www.webservicex.net/isbn.asmx?WSDL GUEST: Just trying to import this WSDL http://vtest.bemac.com/validate/validate.asmx?wsdl GUEST: Inspecting a web service. GUEST: Creating a web-service to "http://api.opencalais.com/enlighten/?WSDL" GUEST: added a Web Service GUEST: Attempting to open a newly created web service package. misreckoning: Tried to browse this WebService http://www.xignite.com/xCurrencies.asmx?WSDL GUEST: Added reference to web service hosted by wcf. GUEST: Trying to add a web service. GUEST: Loading a Services - Web Services tree node: This node was added manually. The folder looks fine. If I open the folder, a "connected" world icon is displayed with a global web service name (I this it is the final web service url part). If I try to open that icon, this exception raises. GUEST: loading webservice GUEST: exploring a WSDL url Stacktrace: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at java.util.Collections$UnmodifiableList.get(Collections.java:1154) at org.netbeans.modules.websvc.saas.model.wsdl.impl.WsdlPort.getAddress(WsdlPort.java:110) at org.netbeans.modules.websvc.saas.model.WsdlSaas.filterNonSoapPorts(WsdlSaas.java:181) at org.netbeans.modules.websvc.saas.model.WsdlSaas.getPorts(WsdlSaas.java:225)
Created attachment 101005 [details] stacktrace
changeset: 180780:44c1544ba02c tag: tip user: Denis Anisimov <ads@netbeans.org> date: Fri Oct 29 16:53:25 2010 +0400 summary: Fix for BZ#188912 - IndexOutOfBoundsException: Index: 0, Size: 0
Integrated into 'main-golden', will be available in build *201010300000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/44c1544ba02c User: Denis Anisimov <ads@netbeans.org> Log: Fix for BZ#188912 - IndexOutOfBoundsException: Index: 0, Size: 0