How to use a proxy; xmltype as a constructor
How do I set the proxy server that is used by oracle internally, for example, when parsing an xml document that uses a dtd.
As some background, I have a field in a database that is a varchar2. The content of this field is an xml fragment (actually xhtml).
My query converts this into an XMLType object by using the XMLType function (as a constructor). To make this into a fragment rooted in a single element, I wrap this in a fresh div.
So far so good. This all works. :-)
This content sometimes contains entity references (like "& gt;" or "& nbsp;").
Oracle could not handle this so I am now includin a DTD DOCTYPE declaration in my XMLType call. I'm using the XHTML 1.0 DTD.
Here's a simplified version of my query:
select
headline,
XMLType('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><div class="description">' || outage.description || '</div>')
as description,
timestamp
from
outage
where
o.activation_start <= TRUNC(SYSDATE)
order by
timestamp desc
Matthew,
Set the OS environment variable for the http proxy server.
There is a metalink note that explains this.
Similar Messages
-
How to use IE proxy with an applet and a socket ???
Hello!
I need to make an applet running with Internet Explorer.
This applet uses socket and sends http request to a server (the server where the
applet is).
It's ok but it doesn't work when my IE uses a proxy.
My question is: how my applet can makes a socket using the IE proxy ?
My applet can be used by many users, so it has to work with or without proxy, and has
no need no configuration.
Thanks for your help.Check for the system environment variable for "ie.proxy" in your applet code, if it returns something then use the proxy server, if not then ignore it.
However, as a rule of thumb unless your IE Security settings enable applets to access URLs, then it won't work. Next, speaking in general java - applets can only access resources (URLs) from the applet's originating server (i.e. the server where the applet exists).
If IE uses a proxy, then your applet should automatically use it, unless as I metioned before, your IE Security does not allow permission for the applet to do so. Check Tools - Internet Options - Security - Java - Advanced options. -
How to use a proxy with java applications?
I have a nokia 6300 type s40v3
hello,
I would like to know if it is possible to use a proxy of any and how ? kind with java applications.
thank youWell, it works well when, into my applet, i do somethig like this:
URL url = new URL(host);
URLConnection connexion = url.openConnection();My applet uses proxy setting from IE6 but only if i use Java 1.4.2_08.
With IE6 and Java 1.5.04, it doesn't work (my applet doesn't use proxy settings)
With Firefox and Java 1.5.04, it's ok
Have you already seen a problem like this with Java 1.5.04 ? -
How to use the Proxy Bypass on an ASA 5510
Hi
We have a custom web application which is heavily relying on javascript. We're trying to access it via the webportal but this application does not load correctly (it barely shows a white page).
the link is https://our.domain.com/oursubdirectory and SUBIF-ISP2 is the public interface facing the internet. This is the rule as displayed by the CLI:
proxy-bypass interface SUBIF-ISP2 path-mask oursubdirectory target https://our.domain.com/ rewrite none
Despite having this command in place, nothing changes. I tried multiple combinations adding the xml and hostname rewrite or changing the interface but nothing, the page is the same like if this rule was not applied.
Any suggestions?
Thanks!Nicola,
Quite frankly, instead of using proxy bypass you should be trying with smart tunnel.
Rgerading usage:
http://www.cisco.com/en/US/docs/security/asa/asa84/command/reference/p.html#wp2205338
If you have problems with a page - please check that you have latest revision of ASA software avilable, if you do open up a TAC case.
M. -
How to use an authenticated user for a proxy call
Dear all,
I am currently working on a JEE application where the user needs to authenticate (for this I have configured the web.xml).
Now inside this application I need to do a proxy call to a PI webservice.
I would like to use the user credentials of the already logged in user in order to call the proxy.
What I don't want to do is to use a service user for the proxy call.
The code I am trying to call looks something like this:
private IntegratedConfigurationIn getPort() throws Exception{
IntegratedConfigurationIn port = null;
try {
IntegratedConfigurationInService service = null;
service = new IntegratedConfigurationInService();
port = (IntegratedConfigurationIn) service.getIntegratedConfigurationIn_Port();
BindingProvider bp = (BindingProvider)port;
bp.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, user);
bp.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, password);
if (url.length() != 0)
bp.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, url);
catch (Exception ex){
ex.printStackTrace();
return port;
The examples I found to retrieve the userdata pointed to codes similar to this one:
public HttpServletRequest getHttpRequest() throws Exception {
// Get runtime context
Properties props = new Properties();
props.put("domain", "true");
Context initialContext = new InitialContext(props);
ApplicationWebServiceContext wsContext = (ApplicationWebServiceContext) initialContext
.lookup(" /wsContext/ApplicationWebServiceContext");
HttpServletRequest req = wsContext.getHttpServletRequest();
return req;
com.sap.security.api.IUser sapUser = com.sap.security.api.UMFactory.getAuthenticator().getLoggedInUser(getHttpRequest(), null);
IUser ep5User = com.sapportals.wcm.util.usermanagement.WPUMFactory.getUserFactory().getEP5User(sapUser);
Now I don't know how to bring it togehter and how to use an authenticated user for the BindingProvider.
I would appreciate any hints or ideas.Peter,
from the first screenshot, what I understood is that, you are calling an inbound PI web service that is intended to create an integrated configuration object (this is used for whole lot of other reason completely) but not actually calling a development web service.
For this, you would have to generate your client classes from the WSDL provided by the PI developer for that particular service. Once you get those client classes generated, you could used the method provided in the other screenshot to extract the user and password and call the intended web service.
Vijay Konam -
Any version of Firefox above 3.5.4 I try to install will not let me get to the internet. Each Firefox gets upgraded it keeps giving me the error message that "Firefox is configured to use a proxy server that is refusing connections." Then I need to re-install 3.5.4 to get to the internet. This is driving me nuts! How do I fix this?
You're welcome
-
How to use a deployable proxy to consume a web service?
HI Gurus,
I am following this article below which helpfully explains how to create a proxy. So far so good. I have been able to create a proxy. However, the article only describes how to build a proxy.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c7d0f7-153d-2a10-5d96-d334b67cd771
In the concluding part of the document the author says "In my next article I will tell you how to use this deployable proxy to consume the web service in web application."
I have looked around the SDN but have not been able to get the next part of this document.
I have a JSPDynpage application which is required to consume a webservice. I want to use this proxt to consume the webservice.
Any help or any other document that explains how to use a deployable proxy to consume a web service will be helpful.
Thanks,
SBHi,
Here is an example how to consume the deployable proxy in web application:
http://help.sap.com/saphelp_nw70/helpdata/EN/ca/c8efe3e8a64163b01924ad4ccd706d/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/EN/5c/971740198d8f5ce10000000a155106/frameset.htm
Regards,
Praveen Gudapati -
How to forward message to two different queue using jms proxy service
Hi all,
In my project I need to listen to one jms queue then forward the messages to two different queue.
Now I already made one proxy for listening to the queue then pass it to another queue using business service, It works.
But how to forward the messages to two different queue in same flow process using one proxy and bs??
or any other way?
Really thanks in advance.
Regards,
KahlilHi,
I have a MQ queue and i created a Proxy to listen to the queue , but i dont see any activity in OSB logs ..how do i knw if OSB proxy is polling that MQ ( mq is the transport protocol that i am using ) .
Thanks
Prarthana. -
When I try to load my firefox page, I keep getting the same message:
Firefox is configured to use a proxy server that is refusing connections.
How I do I fix this? I have uninstall firefox and reinstalled and still the same.In Firefox 3.6.4 and later the default connection settings have been changed to "Use the system proxy settings".<br />
You can find the connection settings in Tools > Options > Advanced : Network : Connection<br />
If you do not need to use a proxy to connect to internet then select "No Proxy"
See "Firefox connection settings":
*[[Firefox cannot load websites but other programs can]] -
I have been using firefox for a long time, today when i tried to launch firefox i recieved "Firefox is configured to use a proxy server that is refusing connections." i dont know how to fix this. I didnt change any settings, im the only person who uses this computer
You can find the connection settings in Tools > Options > Advanced : Network : Connection<br />
If you do not need to use a proxy to connect to internet then select "No Proxy"
See "Firefox connection settings":
* [[Firefox cannot load websites but other programs can]] -
How tune flash player 9 for use with proxy
I use me browser with proxy. But flash player, when i show
yourtube etc, use direct connection and not use proxy server. How
tune flash player (last fersion, 9) for use with proxy. I want what
all traffic go over proxyWill alienate? They've already alienated users a long time
ago. That isn't the point, though, because it doesn't matter if
users are alienated, it only matters if the users need flash.
The only thing that could make flash player better is open
source. I don't see why they don't do it. They make money on the
authoring tool, not the player. All of my Linux machines are ppc
and x86_64, no flash there. I also don't have flash on my PDA, a
Palm T|X. If the player was open sourced, people would stop
complaining about how much flash sucks -- because, right now, there
are very serious, legitimate, complaints against it.
Anyway, for now I'm hoping that SVG matures quickly.
Although, I"m sure that once Adobe sees that train coming, they
will extend Flash (dev.) to export SVG movies containing embedded
binary data that can only play with their binary plugin. -
My daughter cannot get onto the internet through firefox and the message she is getting is 'that firefox is configured to use a proxy server which is refusing connections.'
How can we fix it. Thank youYou can find the connection settings in Tools > Options > Advanced : Network : Connection
If you do not need to use a proxy to connect to internet then select "No Proxy"
See "Firefox connection settings":
* [[Firefox cannot load websites but other programs can]]
* [[Server not found]] -
How to stop Quicktime using IE Proxy Settings
Hi there,
My company's Proxy Server (Microsft ISA Server) requires Windows Integrated authentication which Quicktime does not support so QT web access fails.
We have a Winsock Proxy component installed on the clent but for this to come into play we need to configure Quicktime not to use IE Proxy Settings as otherwise QT tries to talk to the Proxy server and cannot authenticate.
I have spent a number of hours looking into this but cannot find any way to do this. I know a lot of app's allow you to turn off using IE's Proxy settings and wanted to se if anyone knew how to do this with QT.
Thanks in advance for any help on this,
Ian
Toshiba Windows VistaWhy not just right-click and save the linked file to your computer?
Open the .mp3 with any app you choose.
You can disable the QuickTime plug-in from playing .mp3 files in a browser window by opening the QT Control Panel/Advanced and click the MIME Settings button. Remove the check mark for the .mp3 format and restart your browser for this change to take effect. -
How do I get firefox to keep my option of not using a proxy in settings
Every time I change the proxy from auto-detect to use system proxy it does not stay once firefox is closed
If you do not keep changes after a restart or otherwise have problems with preferences, see:
*http://kb.mozillazine.org/Preferences_not_saved -
How to use proxy settings for one website
Hello,
I have to access the only one website using Proxy settings and for others I don't need proxy to access. Is there a way to configure the internet settings to allow one website using Proxy... Please advise. Thanks!
Regards,
Aravin SI am also getting this "error". The printer (8500 A910) connected to the web well enough that it went out and supposedly downloaded a new update, but then it was supposed to print a page showing the email address, but did not.
So I go in and try to set up the eprint, and it tells me it cannot connect to the sever and I'll need to enter a proxy address and port number. But my ISP's cable modems do NOT have any static IP address nor do they provide any sort of proxy service. Everything works just fine with "automatic discovery" (DHCP) for every computer in the house. No problems there.
So, since that's the case, of course I cannot look up some proxy address and port number in my web browser because they're all set up for "automatically detect settings".
What's baffling is that the printer connected to something at HP to download the "update", and it went through a process that appeared to be what I'd expect it to do if it was updating its firmware. But it won't connect to whatever it's supposed to connect to to have an email address assigned.
Does HP supply a proxy server? If so, what's its IP address or URL, and what port should a person set the printer to try to use?
UPDATE:
It appears that the HP site must have just been "down" for about six or seven hours while I was trying to get the printer to connect because it now connected and I got an email address asigned without needing to have any "proxy" stuff set up at all. It's a shame that the printer does not simply report "HP Site down - try again later" instead of reporting that you need to use a proxy when that's impossible.
"Now, on to the next problem which is that my emails to the assigned address are all bouncing with a "550 5.7.1 Command rejected" error!
Maybe you are looking for
-
my iphone fell on the floor and the power botton wont work and also the screen went black i already tried to reset it throun itunes but the phone did not connect and i dont know what to do
-
PLEASE HELP.. PROBLEM WITH RESTORE
okey, well i have this huge problem. i got my ipod 2 weeks ago from the US, i live in poland and not many people know how these things work so i ask that someone here can help me.. a week ago.. the ipod froze my computer, i could do nothing with it.
-
Not getting updated at client side
I have enabled updates for Lion, along with other updates for 10.6.8, but I notice in Log of software updates I get the following: Apr 12 10:43:08 sus.example.com swupd_syncd[87] <Warning>: *** Missing version string for product 061-7532 Apr 12 10:4
-
OAM 11g R2- Performance issue /oam/auth/cred
Hi Guys, we are facing issues regarding oam performance we are seeing unusual time delay on load, at submission of /oam/auth/cred to the landing page. we have 2 managed server having 2gb of heap size. Any pointers will really helpful. Regards 975200
-
Hi, in our Novell Network we have installed ZEN for Desktops and ZEN Asset Management. The Inventory for tehe Workstations and Windows Servers work fine. Is there an Option (nlm)to inventory the Netware (6.5 SP6) Servers in the Asset Mangement ?