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.
Can't add remote referenced resource on remote scheme. Steps to reproduce: prepare remote scheme: 1. create new Sample project(Samples - SOA - XSLT Welcome) 2. deploy on bundled with Glassfish ESB v2.2 glassfish application server 3. check Welcome.xsd url (in general case it is http://127.0.0.1:9080/WelcomeApplication-sun-http-binding/Welcome/Welcome.xsd) Try to use prepared scheme as remote resource: 1. Create new Bpel Project 2. try to add remote referenced resource on the scheme (Refernced Resources - Add Remote - type http://127.0.0.1:9080/WelcomeApplication-sun-http-binding/Welcome/Welcome.xsd) See Error Message: " Illegal character in scheme name at index 0: 127.0.0.1:9080/WelcomeApplication-sun-http-binding/Welcome/Welcome.xsd " Reproducable with gfesb v22 and gfesb v23
Some observations: All works ok if I don't use ip address but host name: e.g. http://localhost:9080/WelcomeApplication-sun-http-binding/Welcome/Welcome.xsd works but http://127.0.0.1:9080/WelcomeApplication-sun-http-binding/Welcome/Welcome.xsd doesn't work At the same time the next urls works ok too: http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd http://72.5.124.55/xml/ns/j2ee/web-app_2_4.xsd i.e. it looks like urls which contains ip address+port aren't parsed correctly.
Integrated into 'main-golden', will be available in build *201006120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/c0586ac3e4bb User: Vladimir Yaroslavskiy <yaroslavskiy@netbeans.org> Log: [Bug #184440] Can't add remote referenced resource on remote scheme in some cases
Created attachment 103278 [details] Screenshot of verification
The remote resources can now be imported with ip address too. The attached screenshot shows that the fix is working. Verified with CAPS M5 build(20101103-1248). This issue can be closed.