How to download a SOAP attachment using pl/sql
Gurus,
I have a custom pl sql application that is web services based. The custom pl sql application invokes the external web services and updates Oracle Field Service application.
One of the new requirements is to get the signatures from SOAP Attachments (a binary file) and attach it to Field Services transactions in Oracle.
Does anyone has an example of how to download the SOAP attachment file from web service using pl/sql.
The pl sql program uses UTL_HTTP to access web services.
Much Thanx.
I think you may be in the wrong forum, but anyways...
What I think your looking for is the htp.print('insert html here'); function. It's plsql, and writes out html to the web server that calls it.
if you search for htp.print you should find loads of examples.
hope this helps.
Merv.
Similar Messages
-
How to download splist item attachment using custom ribbon button
Hi All,
I have a requirement to download sp list items attachments in a zip format to file share. Is there a way to do this? please do let me know.
Your quick turnaround is much appreciated
MercuryManHi,
According to your post, my understanding is that you want to download list items attachments in a zip format to file share.
You can create custom ribbon action.
More information:
SharePoint 2010 Download as Zip File Custom Ribbon Action
Download files as Zip File in SharePoint
Create a SharePoint Custom Action to Zip and Download a Document Set
Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Linda Li
TechNet Community Support -
How to download / read text attachment in Sender Mail Adapter IN XI
Hi
I would like to know how to download / read text attachment in sender mail Adapter & sent same attachment to target system using file adapter.
Please help how to design / resolve this concept.
Regards
DSRI would like to know how to download / read text attachment in sender mail Adapter & sent same
attachment to target system using file adapter.
Take help from this blog:
/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
From the blog:
However in most cases
our message will not be a part of the e-mail's payload but will be sent as a file attachment.
Can XI's mail adapter handle such scenarios? Sure it can but with a little help
from the PayloadSwapBean adapter module
Once your message (attachment) is read by the sender CC, you can perform the basic mapping requirement (if any) to convert the mail message fromat to the file format.....configure a receiver FILE CC and send the message...this should be the design...
Regards,
Abhishek. -
How to download the chinese character using GUI_DOWNLOAD
How to download the chinese character using GUI_DOWNLOAD from SAP 4.6c
Hi,
Make sure that the chinese font is installed in your system, because when you download in excel, the character formats are taken from the Frontend. For detail see the below thread.
[link1|Re: Download Chinese character]
Thanks,
Asit Purbey. -
How to download an email attachment on an iPad?
How to download an email attachment?
It should show up embedded in th email if it is only one page, or as an icon if it is multiple pages. Press in the centre of the attachment/icon for the prompts.
-
Unique Problem: Returning SOAP+ Attachment using a class based webservice
Hi everyone,
Im trying to return a Soap+ attachment response back using the following:
attachDoc(byte[] bdoc, String sTransactionNumber,
String sRequestedType)
Where byte[] is the attachment and the 2 string parameters are soap message contents.
The attachment is attached successfully to the message and i can send a response back to the clients console using :
message.writeTo(System.out);
My problem is that i dont know how to return this soapmessage+attachment back to the client.
Ive tried using the return type of the method as :
public SOAPMessage attachDoc(byte[] bdoc, String sTransactionNumber,
String sRequestedType)
but i cant return a SOAPMessage return type in axis.
Does anyone have any clues how i should sort this out so that the client gets the SOAPMessage and attachment when the method is called ?
Please help :S
Thanks,I dunno if this is what you asked for....
Hope this helps a bit
You may want to check this link out
http://www-unix.globus.org/mail_archive/discuss/2007/02/msg00037.html
MessageContext msgContext = MessageContext.getCurrentContext();
File file = new File("filename.txt");
org.apache.axis.attachments.AttachmentPart replyPart=
new org.apache.axis.attachments.AttachmentPart(new DataHandler(new
FileDataSource(file)));
Message rspMsg= msgContext.getResponseMessage();
rspMsg.addAttachmentPart(replyPart);
so ur basically adding the file to the reply message.
The link i gave has a better description, it has the entire process of sending file to server and downloading file from server codes. -
How to download a text file using classes
Hi Guys
I want to download a text file using classes.
Any idea how to do it ?
Thanks
SameerHI sameer,
It is no different from using a Function module.
example:
CALL METHOD cl_gui_frontend_services=>gui_download
EXPORTING
filename = w_fpath
append = SPACE
write_field_separator = 'X'
CHANGING
data_tab = it_download
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
not_supported_by_gui = 22
error_no_gui = 23
OTHERS = 24
Regards,
ravi -
How to make a SOAP call using the PI 7.1
Hi All,
Can you please tell me how can we make a SOAP call using the PI 7.1?
Thanks in advanceHello Shweta,
Could you please clarify your question? Do you mean you need to call some business system from PI via SOAP? Or do you need to test integration model using SOAP client?
If the requirement is to make a SOAP call to PI (send SOAP request to PI system), please refer to the guide which Stefan suggested in his post. The general procedure is the following:
1. generate concrete WSDL in PI (you can do it via PI's Integration Directory);
2. import generated WSDL to SOAP client (e.g. XML Spy described in the guide or soapUI which is free SOAP client);
3. create SOAP request message in the SOAP client and send it to the endpoint (in this case, it will be sent to PI).
This is general procedure for making SOAP calls to SAP PI using external SOAP clients. Please advise if specified steps should be described in more details or if there are any questions from your side regarding them.
If the question is about calling business system from PI via SOAP, then please refer to SAP Help, configuration of SOAP receiver::
http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm
My regards,
Vadim -
How to download WWDC 2006 keynote using QuickTime Pro?
Hi!
How can I download the WWDC keynote using quicktime pro?
MattYou can't...The video is streamed. One of the biggest draw backs to steaming a video is you can't download it..(draw back for end user)........ You can use a program to capture the video on the monitor.
-
How to process a SOAP Attachment in XI
Hi,
I have a SOAP-RFC-SOAP Synchronous scenario. Here the SOAP Message comes with an attachment. I need to process the SOAP Attachment through XI and need to map the content to the RFC and send the response back to the webservice. Here PayloadSwapBean does not work in Sender soap Adapter. Is there any other option of achieving this.
Thanks,
BhargavAsk Michal
The specified item was not found.
Need need to implement the other direction.
Regards
Stefan -
How to populate a spry menu using microsoft sql server database?
Hi
I would like to use dreamweaver cs4 and spry menu to create a dynamically created menu system.
My concept is to populate the menu items on the fly using MS sql server as the database technology.
Can anyone point me in the right direction? I have googled and searched but cant seem to get anywhere.
Also once i get my menu established, i would like to style it. It seems like a lot of work to style each element by hand. I was wondering if there were some collection of spry menu css files somewhere that i could just attach and presto!
Thank you.
JerryI would like to use dreamweaver cs4 and spry menu to create a dynamically created menu system. My concept is to populate the menu items on the fly using MS sql server as the database technology.
Basically
create a dynamic XML file containing data from the database
create A SpryXMLDataSet
create a SpryRegion where the menu appears
using SpryRepeat populate the menu
More info can be found here http://labs.adobe.com/technologies/spry/samples/
Also once i get my menu established, i would like to style it. It seems like a lot of work to style each element by hand. I was wondering if there were some collection of spry menu css files somewhere that i could just attach and presto!
Have a look here http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=2141544
If you require further Spry related support go to http://forums.adobe.com/community/labs/spry -
How to insert data in tables using loops sql
Oracle 10.2g
using Oracle sql*plus
Table student is
create table student(id)
as
select distinct student_id
from students_table;now
desc student; will retrieve
student
======
Name Null? Type
===========================
ID VARCHAR2(10)Now creating a sequence
create sequence st_seq;
alter table student add column no;
select * from student
no id
=========
234
298
This is the main part
There are 100 student id in the table
now i want to populate the table with sequences using seq.next_val
how to use a loop to insert 100 auto generated numbers in the table.
Thank you.
Expected result
Select * from student
no id
=========
1 234
2 298
.........Why i am doing this way instead of
create table student(no,id)
as
select st_se.nextval,student_id
from students;This will cause duplication of upn
using distinct would throw an error.
create table student(st_id,id)
as select distinct st_seq.nextval,academicyear
from student
as select distinct st_seq.nextval,academicyear
ERROR at line 2:
ORA-02287: sequence number not allowed hereThank you.Follow the example:
SQL> create table students_table (student_id number);
Table created.
SQL> insert into students_table values(10);
1 row created.
SQL> insert into students_table values(10);
1 row created.
SQL> insert into students_table values(20);
1 row created.
SQL> insert into students_table values(30);
1 row created.
SQL> insert into students_table values(40);
1 row created.
SQL>
SQL> commit;
Commit complete.
SQL> select *
2 from students_table;
STUDENT_ID
10
10
20
30
40
SQL> create sequence st_seq;
Sequence created.
SQL> create table student(no,id)
2 as
3 with distinct_table as
4 (
5 select distinct student_id
6 from students_table
7 order by student_id
8 )
9 select st_seq.nextval, student_id
10 from distinct_table
11 ;
Table created.
SQL> select *
2 from student;
NO ID
1 10
2 20
3 30
4 40
SQL>
Cheers,
Davide -
How to open a htmlwebpage by using pl/sql?
my problem is how to open/invoke a existing webpage by using pl/sql.Because I want to do a authentication function,and write a procedure to varify the user ID and password.If they are valid,a welcome webpage can display,otherwise a eror message/webpage will be invoked.
My question is how to display the error message to the webpage or to open a webpage which display the error message by using pl/sql.I think you may be in the wrong forum, but anyways...
What I think your looking for is the htp.print('insert html here'); function. It's plsql, and writes out html to the web server that calls it.
if you search for htp.print you should find loads of examples.
hope this helps.
Merv. -
Making a SOAP call using PL/SQL in Oracle 8.1.7.4.1
Hi
Our environment is as follows:
Oracle8i Enterprise Edition Release 8.1.7.4.1 - Production
JServer Release 8.1.7.4.1 - Production
Forms [32 Bit] Version 6.0.8.12.1 (Production)
Oracle Toolkit Version 6.0.8.12.1 (Production)
PL/SQL Version 8.0.6.0.0 (Production)
Oracle Procedure Builder V6.0.8.12.1 Build #520 - Production
Oracle Query Builder 6.0.7.0.0 - Production
Oracle Virtual Graphics System Version 6.0.5.36.0 (Production)
Oracle Tools GUI Utilities Version 6.0.5.35.0 (Production)
Oracle Multimedia Version 6.0.5.34.0 (Production)
Oracle Tools Integration Version 6.0.8.10.2 (Production)
Oracle Tools Common Area Version 6.0.5.32.1
Oracle CORE Version 4.0.6.0.0 - Production
We have a Client/Server application.
We need to make a SOAP call within PL/SQL.
As far as I know Versions 9i and above have the necessary facilities built-in.
We are using 8i (8.1.7.4.1) and short term upgrade is not planned.
What are our options, could you please help?Hello,
I'm trying to investigate the same thing.
I want to make a soap-client with PL/SQL with 8i 8.1.6.0.0
Did you succeed some additional information ??
I tried to run the following example:
http://www.oracle.com/technology/tech/webservices/htdocs/samples/dbwebservice/DBWebServices_PLSQL.html
but it only works with 9i.
With 8i the errors encountered were : XMLTYPE undefined
Perhaps if we find the definition of XMLTYPE and we process it to 8i we'll be able to run the example ??
thank's -
How to insert BLOB datatype image using PL/SQL Procedure and SQL Loader
Hi,
How to insert an image into database using PL/SQL Procedure and also how to insert using SQL Loader. Please help by giving sample code and process description.
Thanks,
Vijay Vhttp://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:232814159006
Maybe you are looking for
-
One Apple ID, multiple iClouds?
I want to use one Apple ID for all my family's devices, but each device have it's own unique iCloud account. How do I do this? When I go to Settings --> iCloud --> it asks for an Apple ID, and there doesn't seem to be something to select to create
-
Possible to change the charset of a Web Dynpro Application ?
Hello All, Does anyone knows if this is possible ? To be able to change the charset of a Web Dynpro application or even changing it dynamically ? Thank you. from Kwok Wei
-
Trying to understand an object/element definition in a SAPScript
Hi, what does the following block defines in a SAP Script ? It begins defining an element, like /E Element1 Then it defines the contents of the element /:ADDRESS PARAGRAPH AS /: TITLE &HADRS-ANRED& /: NAME &HADRS-NAME1&, &HADRS-NA
-
Portfolio not printing in alphabetic order
I first posted this in the printing forum but did not get a response. Perhaps someone here can provide some guidance? I have a binder full of perhaps 50 pdfs that I want to assemble into a portfolio to ease printing. It seems the portfolio feature is
-
Airport blocking me from sending email
In the past email has worked from Mail. but today, our clearwire had an outage in our area this morning. Email was sending fine. Then about 3 hours ago, I couldn't send out email anymore through Mail. Have isolated the problem to our Airport Extreme