This content has been marked as final.
Show 8 replies
-
1. Re: Resolving external dtd's behind firewall- web service de
pgrebby Aug 30, 2005 7:58 AM (in response to pgrebby)"pgrebby" wrote:
Hi
I am trying ot deploy a project with some webshere generated web services.
When I deploy the deplyment falls over as it cannot resolve the DTD being used in the web service deplyment descriptor. This is because this DTD is on teh Internet and we are behind the company firewall/proxy server.
How do I configure JBOSS to go out via the proxy server ?
Thanks.
As a stop gap I have removed the doctype definitions from webservice.xml but would still be interested in a proper fix for this. -
2. Re: Resolving external dtd's behind firewall- web service de
lviz Aug 30, 2005 8:18 AM (in response to pgrebby)hi
try this
in /server.../deploy/properties-service.xml<attribute name="Properties"> http.proxySet=true http.proxyHost=xxxx.xxxx.xxx.xxx http.proxyPort=xxxx </attribute>
cheers
L -
3. Re: Resolving external dtd's behind firewall- web service de
pgrebby Aug 30, 2005 9:15 AM (in response to pgrebby)"Lviz" wrote:
hi
try this
in /server.../deploy/properties-service.xml<attribute name="Properties"> http.proxySet=true http.proxyHost=xxxx.xxxx.xxx.xxx http.proxyPort=xxxx </attribute>
cheers
L
Hi, thanks for that, I've got a bit further, but am now getting a 407 as the proxy server needs a user and password. How do I specifiy these (I've tried proxyUser and proxyPassword but no joy). -
4. Re: Resolving external dtd's behind firewall- web service de
lviz Aug 30, 2005 10:15 AM (in response to pgrebby)hi
uhmmm user auth ??
no clue
look here..
http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
cheers
L -
5. Re: Resolving external dtd's behind firewall- web service de
pgrebby Aug 30, 2005 10:46 AM (in response to pgrebby)"Lviz" wrote:
hi
uhmmm user auth ??
no clue
look here..
http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
cheers
L
No idea either - we appear to be using NTLM, for what it is worth. I will dig deeper. -
6. Re: Resolving external dtd's behind firewall- web service de
lviz Aug 31, 2005 8:27 AM (in response to pgrebby)hi again, me again.
found something,...
worth a trybasic authentication - direct and via proxy The HTTP client invoker also has support for BASIC authentication for both proxied and non-proxied invocations. For proxied invocations, the following properties need to be set: http.proxy.username http.proxy.password For non-proxied invocations, the following properties need to be set: http.basic.username http.basic.password
http://wiki.jboss.org/wiki/Wiki.jsp?page=Remoting_Transports_Configuration
L -
7. Re: Resolving external dtd's behind firewall- web service de
pgrebby Aug 31, 2005 1:44 PM (in response to pgrebby)Top banana, will try that tomorrow, thanks !
-
8. Re: Resolving external dtd's behind firewall- web service de
pgrebby Sep 2, 2005 3:55 AM (in response to pgrebby)OK, I have discovered that we are using NTLM based authentication, so I probably have to use something like JCIFS to authenticate
http://jcifs.samba.org/src/docs/ntlmhttpauth.html#tomcat
or here
http://wiki.jboss.org/wiki/Wiki.jsp?page=NegotiateKerberos