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 178559 - Changing the HTTP Get WSDL to use "https" throws StringIndexOutOfBoundsException
Summary: Changing the HTTP Get WSDL to use "https" throws StringIndexOutOfBoundsException
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: HTTP BC (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Venkat Chellasamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-14 02:14 UTC by raghuvirkamath
Modified: 2009-12-14 02:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (191.75 KB, image/jpeg)
2009-12-14 02:17 UTC, raghuvirkamath
Details
message.log attached (66.80 KB, application/octet-stream)
2009-12-14 02:17 UTC, raghuvirkamath
Details

Note You need to log in before you can comment on or make changes to this bug.
Description raghuvirkamath 2009-12-14 02:14:48 UTC
Build used :- 

GlassFishESBv22_20091213-0720

Steps to reproduce :- 

1) Create a BPEL Process 

2) Create a HTTP Binding and "Get with urlEncoded encoding" 

3) Remain parts to input1 and output1 .

4) Wsdl is creating successfully. Go to source view 

5) Change the  <http:address > to use https 

i.e. 

location="https://localhost:${HttpDefaultPort}/ServiceWSDLService/ServiceWSDLPort"/>

6) Validate the WSDL using "Validate XML" button ( Alt + Shift + F9 )

Notice the Exception thrown . 

java.lang.StringIndexOutOfBoundsException: String index out of range: -11
	at java.lang.String.substring(String.java:1937)
	at org.netbeans.modules.xml.wsdl.model.extensions.http.validation.HTTPComponentValidator.visit(HTTPComponentValidator.java:237)
	at org.netbeans.modules.xml.wsdl.model.extensions.http.impl.HTTPAddressImpl.accept(HTTPAddressImpl.java:63)
	at org.netbeans.modules.xml.wsdl.model.extensions.http.validation.HTTPComponentValidator.validate(HTTPComponentValidator.java:190)
	at org.netbeans.modules.xml.xam.spi.Validation.validate(Validation.java:95)
	at org.netbeans.modules.xml.validation.ui.Output.validate(Output.java:90)
	at org.netbeans.modules.xml.validation.ui.Output.validate(Output.java:77)
	at org.netbeans.modules.xml.wsdl.ui.netbeans.module.WSDLValidateXMLCookie.validateXML(WSDLValidateXMLCookie.java:65)
	at org.netbeans.modules.xml.tools.actions.ValidateAction$RunAction.run(ValidateAction.java:123)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:577)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1030)



Screenshot and message.log is attached.
Comment 1 raghuvirkamath 2009-12-14 02:17:17 UTC
Created attachment 92498 [details]
screenshot
Comment 2 raghuvirkamath 2009-12-14 02:17:33 UTC
Created attachment 92499 [details]
message.log attached