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 118298 - [60cat] calculator web service using wrong ports
Summary: [60cat] calculator web service using wrong ports
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Denis Anisimov
URL:
Keywords:
: 151876 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-09 22:45 UTC by ahagopian
Modified: 2010-10-13 02:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ahagopian 2007-10-09 22:45:47 UTC
[ BUILD # : 20071009 ]
[ JDK VERSION : 1.6.0_02 ]

I created the Calculator Sample Web Service.  It seems to work fine
but it reports a bunch of errors when I deploy about port 8080, which
is odd since the URL for the WSDL

http://localhost:15961/CalculatorApp/CalculatorWSService

The warning is:

WARNING] schema_reference.4: Failed to read schema document
'http://localhost:8080/CalculatorApp/CalculatorWSService?xsd=1',
because 1) could not find the document; 2) the document could not be
read; 3) the root element of the document is not <xsd:schema>.
  line 4 of
file:/home/ahagopian/NetBeansProjects/Cal2/CalculatorClientApp/src/con
f/xml-resources/web-service-references/CalculatorWSService/wsdl/localh
ost_8080/CalculatorApp/CalculatorWSService.wsdl#types?schema1
Comment 1 Martin Grebac 2007-10-11 16:20:37 UTC
Thanks for the report. I assume the errors are coming from a client project. The sample is setup to use the default GF
installation which goes to port 8080, so the client has:
    @WebServiceRef(wsdlLocation = "http://localhost:8080/CalculatorApp/CalculatorWSService?wsdl")
in there. You should replace the url to match your url. I'll try to find some solution to generate this dynamically.
Comment 2 Martin Grebac 2008-01-15 18:15:34 UTC
didn't make it to 6.0
Comment 3 Lukas Jungmann 2008-03-17 01:31:01 UTC
any update, Martin?
Comment 4 Lukas Jungmann 2008-04-14 17:15:04 UTC
moving opened issues where TM != dev to TM=TBD
Comment 5 Martin Grebac 2008-10-30 17:39:26 UTC
*** Issue 151876 has been marked as a duplicate of this issue. ***
Comment 6 Denis Anisimov 2010-10-12 14:43:40 UTC
changeset:   179323:540c93e62252
user:        Denis Anisimov <ads@netbeans.org>
date:        Tue Oct 12 18:40:20 2010 +0400
summary:     Fix for BZ#118298 -  [60cat] calculator web service using wrong ports
Comment 7 Quality Engineering 2010-10-13 02:53:46 UTC
Integrated into 'main-golden', will be available in build *201010130000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/540c93e62252
User: Denis Anisimov <ads@netbeans.org>
Log: Fix for BZ#118298 -  [60cat] calculator web service using wrong ports