Using Generic SOAP Port Webservice to Upload file to UCM
In this article, we will learn about how to use SOAP Service to upload files to UCM. This is used for automation of interfaces in Oracle Cloud Fusion HCM. In this example, we will use SOAP UI to test the service. Same concepts can be applied in Fusion Middleware or any other platform to invoke Web Service to upload files to UCM.
You can upload the file by Base64 encoding the binary content of the file, in the Content tag as below:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ucm="http://www.oracle.com/UCM">
<soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Action>urn:GenericSoap/GenericSoapOperation</wsa:Action>
</soapenv:Header>
<soapenv:Body>
<ucm:GenericRequest webKey="cs">
<ucm:Service IdcService="CHECKIN_NEW">
<ucm:Document>
<ucm:Field name="dUser">imp</ucm:Field>
<ucm:Field name="dDocTitle">Hello</ucm:field>
<ucm:Field name="dDocAuthor">imp</ucm:Field>
<ucm:Field name="dSecurityGroup">FAFusionImportExport</ucm:field>
<ucm:Field name="dDocType">Document</ucm:field>
<ucm:Field name="dDocAccount">scm$/planningDataLoader$/import$</ucm:field>
<ucm:File name="primaryFile" href="HelloWorld.txt">
<ucm:Contents>SGVsbG8gV29ybGQhDQo=</ucm:Contents>
</ucm:File>
</ucm:Document>
</ucm:Service>
</ucm:GenericRequest>
</soapenv:Body>
</soapenv:Envelope>
In this example it is sent INLINE.
You can decode/encode the content using this site: https://www.base64decode.org/
You can upload the file by Base64 encoding the binary content of the file, in the Content tag as below:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ucm="http://www.oracle.com/UCM">
<soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Action>urn:GenericSoap/GenericSoapOperation</wsa:Action>
</soapenv:Header>
<soapenv:Body>
<ucm:GenericRequest webKey="cs">
<ucm:Service IdcService="CHECKIN_NEW">
<ucm:Document>
<ucm:Field name="dUser">imp</ucm:Field>
<ucm:Field name="dDocTitle">Hello</ucm:field>
<ucm:Field name="dDocAuthor">imp</ucm:Field>
<ucm:Field name="dSecurityGroup">FAFusionImportExport</ucm:field>
<ucm:Field name="dDocType">Document</ucm:field>
<ucm:Field name="dDocAccount">scm$/planningDataLoader$/import$</ucm:field>
<ucm:File name="primaryFile" href="HelloWorld.txt">
<ucm:Contents>SGVsbG8gV29ybGQhDQo=</ucm:Contents>
</ucm:File>
</ucm:Document>
</ucm:Service>
</ucm:GenericRequest>
</soapenv:Body>
</soapenv:Envelope>
In this example it is sent INLINE.
You can decode/encode the content using this site: https://www.base64decode.org/
the article is nice.most of the important points are there.thankyou for sharing a good one.
ReplyDeleteJMeter Training in Chennai
JMeter Training in Adyar
JMeter Training in Anna Nagar
Appium Training in Velachery
Appium Training in Tambaram
Appium Training in Adyar
JMeter Training in Chennai
JMeter Training in Tnagar
Thank you so much for putting up such a nice and informative blog post about Power BI and its other aspects as well.
ReplyDeletePowerbi Read Soap
It is really awesome information with lot of knowledge just it is mind blowing.
ReplyDeleteAngularJS training in chennai | AngularJS training in anna nagar | AngularJS training in omr | AngularJS training in porur | AngularJS training in tambaram | AngularJS training in velachery
This comments section is bullshit. Many comments are just nonsense , the main objective is to post some spam links to their bullshit product ! Look Ma.. I have no link here YAY!
ReplyDeletemmorpg oyunlar
ReplyDeleteinstagram takipçi satın al
tiktok jeton hilesi
tiktok jeton hilesi
Sac Ekim Antalya
referans kimliği nedir
İNSTAGRAM TAKİPÇİ SATIN AL
Metin2 Pvp Serverler
İnstagram Takipci Satın Al
smm panel
ReplyDeletesmm panel
İs ilanlari blog
instagram takipçi satın al
hirdavatciburada.com
BEYAZESYATEKNİKSERVİSİ.COM.TR
Servis
Tiktok hile
Good content. You write beautiful things.
ReplyDeletevbet
korsan taksi
mrbahis
sportsbet
vbet
hacklink
taksi
hacklink
mrbahis
Good text Write good content success. Thank you
ReplyDeletebetmatik
poker siteleri
tipobet
betpark
kralbet
bonus veren siteler
mobil ödeme bahis
slot siteleri
dijital kartvizit
ReplyDeletereferans kimliği nedir
binance referans kodu
referans kimliği nedir
bitcoin nasıl alınır
resimli magnet
PAJRJ
beşiktaş
ReplyDeleteeyüpsultan
gebze
marmaris
tekirdağ
NL2O
https://saglamproxy.com
ReplyDeletemetin2 proxy
proxy satın al
knight online proxy
mobil proxy satın al
HVTF52
vjkmghmdmhfvsgdfhg
ReplyDeleteشركة تسليك مجاري
fgnfnfgnmjghjmhgkj
ReplyDeleteشركة تسليك مجاري