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.

Bug 184440 - Can't add remote referenced resource on remote scheme in some cases
Summary: Can't add remote referenced resource on remote scheme in some cases
Status: CLOSED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Project (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-19 11:53 UTC by Vitaly Bychkov
Modified: 2010-11-24 12:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of verification (15.76 KB, image/jpeg)
2010-11-24 12:42 UTC, senthilprabhu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Bychkov 2010-04-19 11:53:02 UTC
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
Comment 1 Vitaly Bychkov 2010-04-19 12:38:58 UTC
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.
Comment 2 Quality Engineering 2010-06-12 06:49:08 UTC
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
Comment 3 senthilprabhu 2010-11-24 12:42:56 UTC
Created attachment 103278 [details]
Screenshot of verification
Comment 4 senthilprabhu 2010-11-24 12:47:23 UTC
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.