Whats the best way to HTTP post a CLOB from your DB to someones servlet?
So, I basically need to send an http request (post), in MIME format with a few parameters and an attached "file" (the CLOB), out of our database.
Using UTL_HTTP seems like it would be a lot of work because it would require use to build the MIME contents of the post line by line.
Is there a tool in Java or PL/SQL that will help us build the MIME post and send it where it needs to go?
Its strange that this is done so easily using HTML and the <FORM> tag but I have yet to find a good Java or PL/SQL tool to do the same. Same with mail...there are great tools for creating a MIME encoded mail message...but I can't find a tool to do the same with a post.
If you have got the answer, please post it of others benefit (and me!)
Thanks
Ramesh.
Similar Messages
-
What the best way to call twenty tuxedo domains from one weblogic server use WTC
I need to call twenty tuxedo domains from one weblogic server use
WTC. the Service be called in the twenty tuxdo domains are same, do I need to
write twenty EJB in the weblogic server to call the same service? who have good
adea to deal with this problem?Hi,
I have a question on the second case. When the client doesn't care of which
Tuxedo domain it is hitting. What happens if one of the Tux domain is down ? What
happens to the client request to that domain ?
Another question is lets say i have a Tuxedo configuration as MP mode( Multi
machine mode) how does WTC load balance between the Tuxedo domains.
Thanks,
Srinivas
"A. Honghsi Lo" <[email protected]> wrote:
Hi xcjing,
One way to handle your needs is to use local service name to remote
reservice name translation. For instance,
(in 6.1,6.0 WLS)
<T_DM_IMPORT ResourceName="TOUPPER1" LocalAccessPoint="WTC"
RemoteAccessPointList="TUX-DOM1">
<RemoteName>TOUPPER</RemoteName>
</T_DM_IMPORT>
<T_DM_IMPORT ResourceName="TOUPPER2" LocalAccessPoint="WTC"
RemoteAccessPointList="TUX-DOM2">
<RemoteName>TOUPPER</RemoteName>
</T_DM_IMPORT>
<T_DM_IMPORT ResourceName="TOUPPER3" LocalAccessPoint="WTC"
RemoteAccessPointList="TUX-DOM3">
<RemoteName>TOUPPER</RemoteName>
</T_DM_IMPORT>
etc
With this configuration if your client have to call "TOUPPER" service
in
TUX-DOM1 then you code your client to call "TOUPPER1" and the request
will be routed to TUX-DOM1. The same way for request has to go to
TUX-DOM3, your client calls "TOUPPER3" service and WTC will route it
to
TUX-DOM3. In this remote name translation you may have to write 20 EJB
although they are almost the same. However, if your EJB can analyze
your client input to decide which Remote Tuxedo Domain to send the
service request to then you probably only need one EJB.
In the case that your client does not care which remote Tuxedo Domain
provides the service then adding
<T_DM_IMPORT ResourceName="TOLOWER" LocalAccessPoint="WTC"
RemoteAccessPointList="TUX-DOM1">
<RemoteName>TOLOWER</RemoteName>
</T_DM_IMPORT>
<T_DM_IMPORT ResourceName="TOLOWER" LocalAccessPoint="WTC"
RemoteAccessPointList="TUX-DOM2">
<RemoteName>TOLOWER</RemoteName>
</T_DM_IMPORT>
<T_DM_IMPORT ResourceName="TOLOWER" LocalAccessPoint="WTC"
RemoteAccessPointList="TUX-DOM3">
<RemoteName>TOLOWEr</RemoteName>
</T_DM_IMPORT>
etc
Will load balance your client "TOLOWER" service request among your 20
remote Tuxedo Domain.
However, there is a bug in WTC that causes the Remote Service Name
translation functionality not working properly. It is fixed in the
upcoming release of WLS.
Honghsi :-)
xcjing wrote:
Thank you very much! But I still have question, give an example,
twenty Tuxedo domain is named domain1,domain2,....domain20. The
same Tuxedo Service: TOUPPER is deploy on those twenty Tuxedo domains,some time
I need call the TOUPPER Service on domain1,saome time I need call theTOUPPER
Service on domain3 or
other domain depend on the input from client. you mean I need to importThe TOUPPER
Service from twenty Tuxedo domains in the console,then write one EJBto call the
TOUPPER Service,but how can the EJB know which Tuxedo domain's TOUPPERto call
from?
Thank you!
"A. Honghsi Lo" <[email protected]> wrote:
hi xcjing,
You don't have to write 20 beans or deploy 20 beans because there
are
20
remote Tuxedo TDomain you need get the service from. Of course, WLSand
WTC does not prohibit you from doing it though. Whether you need20
beans or not depend more on you architecture.
To access 20 remote Tuxedo Domain from one single WLS with singleWTC
you can configure 20 remote Tuxedo Domain in the BDMCONFIG (6.1,6.0)
or
from the console (7.0). You import 20 services one from each remote
Tuxedo domain. You write one bean, and deploy one bean. Your WLS
clients will be able to access THE ejb, the EJB will access the WTC
service, and WTC will load balanced the service requests among the20
remote Tuxedo Domain.
Regards,
honghsi :-)
xcjing wrote:
I need to call twenty tuxedo domains from one weblogic server use
WTC. the Service be called in the twenty tuxdo domains are same,
do
I need to
write twenty EJB in the weblogic server to call the same service?
who
have good
adea to deal with this problem? -
Wipe my hard drive clean except for the OS whats the best way?
I need to wipe my hard drive clean except for the OS whats the best way?
From Kappy (note: with this method, you will need to update to the present OS version using the appropriate Combo Update from Apple Downloads.)
Boot from the OS X Installer Disc One that came with the computer. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities (Installer menu if using Panther or Jaguar) menu. After DU loads select the startup volume from the left side list then click on the Erase tab. Set the format type to Mac OS Extended (Journaled) then click on the Options button. Select the one pass Zero Data option and click on the OK button. Then click on the Erase button.
Note: You can skip the Zero Data option if you are not concerned about removing sensitive personal data from the hard drive. If you choose to skip this part of the process then it is possible for others to recover data from the hard drive. The Zero Data procedure will prevent others from getting access to your personal information.
This process will take 30 minutes to several hours depending upon the size of the hard drive. After formatting has completed quit DU and return to the installer. Now complete the OS X installation. At the completion of the installation do not restart the computer. Instead just shut it off. The next user will be presented with the Setup Assistant when they turn on the computer just as it would if new out of the box.
https://discussions.apple.com/message/12364050?messageID=12364050#12364050 -
Whats the best way to get dvd onto 5800
Peoples,
I'm strugglin to get DVD onto my noka 5800. It's not obvious in the user manual and looking around the web i need to 'convert' it to the fim on.
Please does anybody have an easy, fool proof way of doing this??????
Message Edited by blueleaches on 21-Aug-2009 06:02 PMIf its possible there should be some walkthrough's on google.
http://www.lmgtfy.com/?q=whats+the+best+way+to+get+dvd+onto+5800 -
What's the best way to import my itune library from iMac to macbook air?
what's the best way to import my itunes library from my imac to my macbook air?
Use Migration Assistant to copy your entire user folder from old computer to new computer.
-> http://support.apple.com/kb/HT4889 -
my business has 100 ipads 3g with no control at the moment - i need to now control the ipads - what apps they can use - and restict certian use on the ipads - whats the best way to do this - it will need to be done remotley.
MDM -- moble device management
MDMs
Airwatch, Meraki, MobileIron, Profile Manager on OS X Server, or Zenprise
For a comparison see this page:
http://www.enterpriseios.com/wiki/Comparison_MDM_Providers
Airwatch
http://www.air-watch.com/
Meraki -- A free MDM [ expect lots of email and phone calls about upgrades ]
http://www.meraki.com/products/systems-manager/
https://discussions.apple.com/thread/4067210?tstart=0
Good howto by Sergio Sosa.
https://discussions.apple.com/thread/2594001?start=15&tstart=0
MobileIron
http://www.mobileiron.com/
Profile Manager by Apple
Zenprise
http://www.zenprise.com/ -
my iPad screen is not responding, whats the best way to clean it and what could be the problem, its 2 days old
Braunzoes wrote:
my iPad screen is not responding, ...
Try a Reset... Try again...
Reset ( No Data will be Lost )
Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
http://support.apple.com/kb/ht1430
Braunzoes wrote:
... whats the best way to clean it ...
How to Clean Apple Products
http://support.apple.com/kb/HT3226
Braunzoes wrote:
... its 2 days old
iPad User Guide iOS 6 -
Whats the best way to go about load balancing Exchange 2010 CAS
My server guys want to LB the Exchange 2010 client access servers, this will be the 7th Context on my Ace 4710.
see table for ports that are used
Port
Usage
25
smtp
80
http various
110
POP3 clients
135
RPC end point mapper
143
imap4 clients
443
SSL various
993
secure imap 4 clients
995
secure pop3 clients
6001
rpc related outlook anywhere
6002
rpc related outlook anywhere
6003
rpc related outlook anywhere
60200
rpc CAS
60201
exchange address book service
whats the best way of going about this?
do I just LB the IP addresses of the Servers and ignore the ports?
do i have to do anything special for ports 993 and 995 secure imap and pop?
I am sure there are more questions I shold be asking!OK
so If I have a single serverfarm with all services do I filter on the virtual
address something like below?
class-map match-any EXCH_vip
match virtual-address 172.16.93.2 tcp eq 25
match virtual-address 172.16.93.2 tcp eq 80
match virtual-address 172.16.93.2 tcp eq 110
match virtual-address 172.16.93.2 tcp eq 135
match virtual-address 172.16.93.2 tcp eq 143
match virtual-address 172.16.93.2 tcp eq 443
match virtual-address 172.16.93.2 tcp eq 993
match virtual-address 172.16.93.2 tcp eq 995
match virtual-address 172.16.93.2 tcp eq 6001
match virtual-address 172.16.93.2 tcp eq 6002
match virtual-address 172.16.93.2 tcp eq 6003
match virtual-address 172.16.93.2 tcp eq 60200
match virtual-address 172.16.93.2 tcp eq 60201 -
When Travelling and using a 3G mobile stick for internet connection My MacPro burns through a lot of expensive connection data time doing background stuff such as checking messages, email, ungrades etc. Whats the best way to turn all this off so that intenet is only accessed when I request it?
ThanksTo turn off iMessages see this thread - https://discussions.apple.com/thread/4504796?start=0&tstart=0
For iCloud, read the article - http://support.apple.com/kb/PH2613 -
I have 2 Ipod touch's, one a 64gb and one an 8gb. Whats the best way to use them both on the same itunes account?
Click here for options.
(64410) -
What is the best way to transfer my iphoto library from current imac to my new imac. Both imacs have iphoto 9.2.1
os on old imac is 10.6.8. os on new imac is 10.7.2. I want the albums and events to stay intact. I have 4500 photos and 79 videos. 14.9 gb. looking for some advice here. Thanks so much.Connect the two Macs together (network, firewire target mode, etc) and drag the iPhoto library intact as a single entity from the old Mac to the pictures folder of the new Mac - launch iPhoto on the new mac and it will open the library and convert it as needed and you will be ready move forward.
LN -
whats the best way to transfer everything from my old macbook pro to a new mac mini, i have a external hard drive which i backup to regularly via time capsule
Check out > OS X Lion: How to use Migration Assistant to transfer files from another Mac
-
I have just purchased a new 27inch IMac and am cleaning out files etc from my MacBook Pro (circa 2010) with 10.6.8 OS. But the photos I want to keep in tact. Whats the best way to upload the photos onto the IMac - using time machine? or drag them over album by album?
I assume you have a home network. Connect both computers to your network. If possible do this using Ethernet for faster speed and better reliability. Configure your MBP for File Sharing. Use a copy program such as Carbon Copy Cloner 4.0.2 to transfer your entire folder of photos to your new machine.
OS X Mavericks- Connect to shared computers and file servers on a network
Mac Basics- File Sharing -
I want to connect a Mac mini to a Samsung 40", Whats the best way to do this?
I want to connect a Mac mini to a Samsung 40" LED tv to use as the monitor, whats the best way of doing this?
Understand that there is one HDMI port on your TV that is specifically designated for PC connectivity. The order that the TV or Mini are powered on may determine your results. For your specific TV model, check buyer reviews on Amazon or elsewhere that can include optimum TV/Computer settings adjustment for improved viewing results.
-
When I'm done with my fcp sequence, whats the best way to get it to dvd?
When I'm done with my fcp sequence, whats the best way to get it to dvd?
The advice to go to Compressor left out the part that you may want to convert your audio to AC3 becaus ethe MPEG2 bitrate is probably too high for DVD specs.
This method is in the DVDSP manual and it's in the Compressor manual, both difficult to locate, but easily searchable.
Here's what I'd do: Export the timeline form FCP in the native sequence settings, self-contained. Bring that self-contained movie into DVDSP and let DVDSP handle the transcode.
The advice to go to iDVD is even easier.
bogiesan
Maybe you are looking for
-
PDF attachments in outlook 2010
Hi I can't seem to open or preview pdf files attached to outlook emails. I've reinstalled adobe like a 100 times and still no joy. Any clues
-
How to edit all PDF files at once
Hey there, I am a student and have to print all the slides from the lectures. However, the slides have this huge blue block on the top that I would like to remove because it needs a lot of ink. After that, I have to make the font black. My problem is
-
Capture File name from the messageFileUpload bean
Hi All, Please let me knw, how to capture the file name from the messageFileUpload bean. I have attached a blobdomain type view attribute to this bean. I am able to get the file content , but not able to capture the file name entered. Please help me
-
Hi All, We had an invoice that was entered with a wbs that had the following currencies: CO Currency = USD, Transaction Currency = USD and Object Currency = GBP within a company with a currency of GBP. However, when settling through CJ88, the settl
-
Hi All, Can anyone pls. explain what is "Multiple Documents with the Same Selector by Other Headers" in Web Cache. Thanx In Advance. Olabora.