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 50117 - User can't specify HTTP proxy server in web service client wizard
Summary: User can't specify HTTP proxy server in web service client wizard
Status: CLOSED INVALID
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-07 18:53 UTC by Petr Blaha
Modified: 2004-11-23 09:43 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 Petr Blaha 2004-10-07 18:53:44 UTC
[Build 041007]
When create web service client in web project, you
can't specify HTTP proxy for generated stubs. It
means, that user behind proxy can't develop web
service clients for publicly available web
services, e.g. from http://www.xmethods.com.
I think, that in wizard could be text fields where
user can specify proxy server and port.
Consequently these values will be passed to
wscompile.
Comment 1 _ pcw 2004-10-07 19:43:59 UTC
EA1 only supports JSR-109 clients.  Such clients have no stubs at
development time, only at deploy time to server.  I would think such
proxy information would have to be configured to the server, or
perhaps contained in the server specific service-ref entry.  I will
need to research this.

That said, if I go forward with implementing static stub support (ala
J2EE 1.3 but using jaxrpc instead of axis), there will be proxy
settings for that.  In addition, once retrieving WSDL from running
service is implemented, there will be proxy settings available on that
wizard too (shared data store, since it is likely there will only one
proxy setting for a development workstation.)
Comment 2 _ pcw 2004-10-13 02:35:40 UTC
Additional info: The orginal problem sounds like a proxy server might
need to be configured for the appserver.  If this is the case, you can
do this in the ide like this:

1. Go to the runtime tab, select the SJSAS 8.x node and start the
server instance you want to set the proxy server for.
2. Under this server instance node, select the <JVMs> node and bring
up the properties windows.
3. add '-Dhttp.proxyHost=[proxy host name] -Dhttp.proxyPort=[proxy
port]' to the jvm-options property and restart the server.
Comment 3 Petr Blaha 2004-10-13 10:39:56 UTC
Remove all issues from temporary component.
Comment 4 Petr Blaha 2004-10-19 15:46:31 UTC
Yes, the original problem is a proxy server should be configured for
the appserver. I performed one test case where the web service is
behind proxy. After setup up optional HttpProxy settings the call
service operation is working in my servlet.
I think that this settings might be mentioned in a web service guide.