Access data service from Oracle
Would like to know how plsql in oracle may access data service in ODSI?
Have to use web service? or more 'native' library in plsql?
Thx!
ODSI can be accessed as a webservice, as a jdbc connection using the provided jdbc driver or using the java client. Check the PL/SQL documentation to see what is possible.
- Mike
Similar Messages
-
How to access web service from Oracle ?
Database version: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
I am trying to make a call to a web service through a procedure/function...
I tried to use
CREATE OR REPLACE PROCEDURE Call_Rest_Webservice
AS
t_Http_Req Utl_Http.Req;
t_Http_Resp Utl_Http.Resp;
t_Request_Body VARCHAR2(30000);
t_Respond VARCHAR2(30000);
t_Start_Pos INTEGER := 1;
t_Output VARCHAR2(2000);
BEGIN
/*Construct the information you want to send to the webservice.
Normally this would be in a xml structure. But for a REST-
webservice this is not mandatory. The webservice i needed to
call excepts plain test.*/
t_Request_Body := 'the data you want to send to the webservice';
/*Telling Oracle where the webservice can be found, what kind of request is made
and the version of the HTTP*/
t_Http_Req := Utl_Http.Begin_Request('**webservice address**',
'GET',
'HTTP/1.1');
/*In my case the webservice used authentication with a username an password
that was provided to me. You can skip this line if it's a public webservice.*/
--Utl_Http.Set_Authentication(t_Http_Req, 'username', 'password');
/*Describe in the request-header what kind of data is send*/
Utl_Http.Set_Header(t_Http_Req, 'Content-Type', 'text/xml charset=UTF-8');
/*Describe in the request-header the lengt of the data*/
Utl_Http.Set_Header(t_Http_Req, 'Content-Length', Length(t_Request_Body));
/*Put the data in de body of the request*/
Utl_Http.Write_Text(t_Http_Req, t_Request_Body);
/*make the actual request to the webservice en catch the responce in a
variable*/
t_Http_Resp := Utl_Http.Get_Response(t_Http_Req);
/*Read the body of the response, so you can find out if the information was
received ok by the webservice.
Go to the documentation of the webservice for what kind of responce you
should expect. In my case it was:
<responce>
<status>ok</status>
</responce>
Utl_Http.Read_Text(t_Http_Resp, t_Respond);
/*Some closing?1 Releasing some memory, i think....*/
Utl_Http.End_Response(t_Http_Resp);
END;But it gave me ORA-29272: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1029
ORA-12545: Connect failed because target host or object does not exist
But I can link to the web server by going to **webservice address** through my browser.
Is there any ACL should be open in order to have this capability? I asked my DBA but she asked me I will need to give her username/password/ip in order to open an ACL...
however there is no username/password required while visiting the web service...
Any help would be highly appreciated..
Thanks,
Edited by: 986006 on Mar 4, 2013 8:38 AMY.L wrote:
That is because the database was unable to connect to the specified server. Wrong hostname or IP specified. Failure to resolve the hostname into an IP. Firewall blocking. Etc.The hostname I put there can be visit through my browser. I think it should not be the host server's issue... So it could be a firewall on my database side that needs to be open in order to visit the hostserver?The "web browser" code (your PL/SQL code using UTL_HTTP) runs on the Oracle database server. It needs the same type of network access that your browser on your PC enjoys. (firewalls opened, proxy authentication if required, etc).
On 11g. Not on 10g.I saw the example code you post through the link you provided... will those only work on 11g?
If it can work on 10g, what package or what steps I need to follow in order to have that working on me?The code I've posted will work on both versions. My comment was regards to ACLs. No ACLs existed on 10g. So you only need execute privs on the relevant packages (e.g. UTL_HTTP, etc).
ACLs were introduced with 11g - so on 11g you also need the DBA to create an ACL for you that will allow UTL_HTTP access to the network. -
Access remote MonetDB from Oracle using ODBC
Hello,
I really need your help, I have been trying for more that one week to figure out what is the problem without success
Here is the details of my problem:
I have oracle 11g installed on machine1 (ubuntu 64bit) , and I have MonetDB installed on machine2 (ubuntu 64bit, ip= 192.168.56.101)
I need to access MonetDB database from oracle.
I followed the configurations steps but I get always the following error:
select "id" from "test"@monetdb;
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[unixODBC][MonetDB][ODBC Driver 11.11.11]Client unable to establish connection
{08001}
ORA-02063: preceding 2 lines from MONETDB
I installed unixODBC on the machine1 and I used MonetDB ODBC driver which generates the following odbc.ini file
[monetdb]
Description = MonetDB
Driver = /usr/lib64/libMonetODBC.so
Host = 192.168.56.101
Port = 50000
Database = demo
User = monetdb
Password = monetdb
Debug =
Here are my configurations:
tnsnames.ora:
monetdb =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(HOST =localhost)
(PORT =1521)
(CONNECT_DATA =
(SID=monetdb))
(HS = OK))
Listner.ora
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=monetdb)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
(PROGRAM=dg4odbc)
(ENVS=LD_LIBRARY_PATH=/usr/lib64:$ORACLE_HOME/lib)
In $ORACLE_HOME/hs/admin I created the file initmonetdb.ora
HS_FDS_CONNECT_INFO=monetdb
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_SUPPORT_STATISTICS=FALSE
HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so
HS_LANGUAGE=american_america.we8iso8859p1
set ODBCINI=/etc/odbc.ini
when I do lsnrctl start i get the following
Log messages written to /u01/app/oracle/diag/tnslsnr/OracleUbuntu/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 26-OCT-2013 01:32:37
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/OracleUbuntu/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "monetdb" has 1 instance(s).
Instance "monetdb", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
any ideas why I get this error??
Regards
BaraaHi,
Firstly, try to configure your gateway listener on another port than 1521 as it is the default one for database. Don't forget to change also the port in TNSNAMES.ORA.
Then use the host machine or ip address rather than the local host in the LISTENER.ORA and TNSNAMES.ORA.
Avoid to use $ORACLE_HOME in the ENVS from LISTENER.ORA but use a complete PATH.
Then test your ODBC connection outside Oracle. What is the result?
Try to get result of the following commands on the Oracle machine1 :
$cd /usr/bin
$./odbcinst -q -d
$./odbcints -q -s
Change parameter in gateway init file:
HS_FDS_TRACE_LEVEL=DEBUG
Execute your SELECT statement:
select "id" from "test"@monetdb;
Get the gateway trace file in /u01/app/oracle/product/11.2.0/dbhome_1/hs/log and send us
Thanks
Regards,
Mireille MEGE -
Calling web service from oracle forms 10g
Problem Description:
I'm following the steps as per the doc:
http://www.oracle.com/technology/products/forms/htdocs/10gr2/howto/webservicefromforms/ws_10_1_3_from_forms.html
to create a java stub to call external web service and then use java importer in oracle forms to call this web service from oracle forms.
WSDL for external web service used is http://gend:83/DesignService.svc?wsdl
The service was developed by us.
Calling the web service using JDeveloper works fine but when I complie in Oracle Forms it returns wrong number of types of arguments in call SENDHELLO.
The code from oracle form to call web service is as below:
DECLARE
jo ora_java.jobject;
xo ora_java.jobject;
rv varchar2(2000);
ex ora_java.jobject;
str varchar2(100);
BEGIN
jo := GendServiceClient.new;
rv := GendServiceClient.sendHello('Nora');
EXCEPTION
WHEN ORA_JAVA.JAVA_ERROR then
message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
WHEN ORA_JAVA.EXCEPTION_THROWN then
ex := ORA_JAVA.LAST_EXCEPTION;
message(Exception_.toString(ex));
END;
Any help/ideas on this is greatly appreciated. Thanks.
Edited by: KE Nora Loera on Jun 1, 2012 1:24 PMMy primary skill is PL/SQL but the only information I found on Oracle's site to call a web service from a 10g Form was creating a jar file and importing the java class. Since I don't want to ask our corporate IT to make changes on the UNIX box for the jar files I went a different route.
I use UTL_HTTP.BEGIN_REQUEST to call a URL then load I load the data to a table as a CLOB since we have more than 4000 characters. Now I need to parse the XML and load it into a form. I have never done this so if there is a helpful site please let me know. I have looked at several sites but none do what I want.
Thanks -
Error while trying to call external web service from oracle PL/SQL 10.2 g
Hi I am trying to call an external web service from oracle PL/SQL .I am getting following run time error when I try to set the opeartion style.
But as per the oracle documentation this is one of the 2 valid values.
ORA-29532: Java call terminated by uncaught Java exception: operation style: "document" not supported.Teh webservice does expect the operation style as document.
Following is the code I am executing.
FUNCTION email
return varchar2
AS
service_ SYS.utl_dbws.SERVICE;
call_ SYS.utl_dbws.CALL;
service_qname SYS.utl_dbws.QNAME;
port_qname SYS.utl_dbws.QNAME;
operation_qname SYS.utl_dbws.QNAME;
string_type_qname SYS.utl_dbws.QNAME;
retx ANYDATA;
retx_string VARCHAR2(1000);
retx_double number;
retx_len number;
params SYS.utl_dbws.ANYDATA_LIST;
l_input_params SYS.utl_dbws.anydata_list;
l_result ANYDATA;
l_namespace VARCHAR2(1000);
begin
-- open internet explorer and navigate to http://webservices.imacination.com/distance/Distance.jws?wsdl
-- search for 'targetNamespace' in the wsdl
l_namespace := 'http://service.xmlservices.global.freedomgroup.com/';
-- search for 'service name' in the wsdl
service_qname := SYS.utl_dbws.to_qname(l_namespace, 'ClientCoreWebServiceBeanService');
-- this is just the actual wsdl url
service_ := SYS.utl_dbws.create_service(HTTPURITYPE('http://hostname/GlobalWebServices/services/ClientCoreWebService?wsdl'), service_qname);
-- search for 'portType name' in the wsdl
port_qname := SYS.utl_dbws.to_qname(l_namespace, 'ClientCoreWebServiceBeanPort');
-- search for 'operation name' in the wsdl
-- there will be a lot, we will choose 'getCity'
operation_qname := SYS.utl_dbws.to_qname(l_namespace, 'postalCodelookup');
-- bind things together
call_ := SYS.utl_dbws.create_call(service_, port_qname, operation_qname);
-- default is 'FALSE', so we make it 'TRUE'
SYS.utl_dbws.set_property(call_, 'SOAPACTION_USE', 'TRUE');
-- search for 'operation soapAction' under <wsdl:operation name="getCity">
-- it is blank, so we make it ''
SYS.utl_dbws.set_property(call_, 'SOAPACTION_URI', '');
-- search for 'encodingstyle' under <wsdl:operation name="getCity">
SYS.utl_dbws.set_property(call_, 'ENCODINGSTYLE_URI', 'http://schemas.xmlsoap.org/soap/encoding/');
-- search for 'binding style'
SYS.utl_dbws.set_property(call_, 'OPERATION_STYLE', 'DOCUMENT');
-- search for 'xmlns:xs' to know the value of the first parameter
-- under <wsdl:message name="getCityResponse"> you will see the line <wsdl:part name="getCityReturn" type="xsd:string" />
-- thus the return type is 'string", removing 'xsd:'
string_type_qname := SYS.utl_dbws.to_qname('http://www.w3.org/2001/XMLSchema', 'string');
-- in the line <wsdl:operation name="getCity" parameterOrder="zip">
-- the parameterOrder is 'zip', thus we put in 'zip'
-- the 'ParameterMode.IN' is used to specify that we will be passing an "In Parameter" to the web service
-- the 'ParameterMode.IN' is a constant variable in the sys.utl_dbws package
--vj this cud be either params or xml
SYS.utl_dbws.add_parameter(call_, 'param1', string_type_qname, 'ParameterMode.IN');
SYS.utl_dbws.add_parameter(call_, 'param2', string_type_qname, 'ParameterMode.IN');
SYS.utl_dbws.set_return_type(call_, string_type_qname);
-- supply the In Parameter for the web service
params(0) := ANYDATA.convertvarchar('<TFGGlobalBasicXMLDO><systemCd>GLOBAL</systemCd><username>GlobalAdmin</username><password>GlobalAdmin</password><localID>1</localID></TFGGlobalBasicXMLDO>');
params(1) := ANYDATA.convertvarchar('<TFGGlobalPostalCodeLookupIDDO><postalCode>02446</postalCode><countryCode>USA</countryCode><stateCode>MA</stateCode><cityDisplay>BROOKLINE</cityDisplay><countyDisplay>NORFOLK</countyDisplay><include_inactive_flag>True</include_inactive_flag></TFGGlobalPostalCodeLookupIDDO>');
-- invoke the web service
retx := SYS.utl_dbws.invoke(call_, params);
dbms_output.put_line(retx.gettypename);
-- access the returned value and output it to the screen
retx_string := retx.accessvarchar2;
dbms_output.put_line('done' || retx_string);
dbms_output.put_line('PL/SQL DII client return ===> ' || retx_string);
-- release the web service call
SYS.utl_dbws.release_service(service_);
return retx_string;
end email;thsi is urgent anybody ????
-
Error Calling ODI Data Service from BPEL
Hi all,
I'm trying to call ODI data services from BPEL, but this error comes up:
<messages>
-<input>
-<Invoke_1_addSrcCustomer_InputVariable_1>
-<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="part1">
<SrcCustomer xmlns="test/WSSrcCustomer/schema"/>
</part>
</Invoke_1_addSrcCustomer_InputVariable_1>
</input>
-<fault>
-<bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
-<part name="summary">
<summary>[email protected]6 : Could not find binding output for operation addSrcCustomer
</summary>
</part>
</bindingFault>
</fault>
</messages>
A WSSrcCustomer WSDL has been successfully deployed and the addSrcCustomer operation is chosen. Also, I'm using the following input as XML flagment:
<ns2:SrcCustomer xmlns:ns2="http://www.w3.org/2001/XMLSchema/" xmlns="test/WSSrcCustomer/schema/">
<CUSTID>999</CUSTID>
<TITLE>0</TITLE>
<LAST_NAME>lastname</LAST_NAME>
<FIRST_NAME>firstname</FIRST_NAME>
<ADDRESS>myaddress</ADDRESS>
<CITY_ID>23</CITY_ID>
<PHONE>123456789</PHONE>
<AGE>33</AGE>
<SALES_PERS_ID>11</SALES_PERS_ID>
</ns2:SrcCustomer>
RegardsHello,
Can you call the same WS from ODI (through a data server test)?
I think you should post the WSDL file generated by the data service to the BPEL Forum.
There must be something BPEL does not like in the WSDL.
-FX -
How to call web services from oracle database 10g
Hi all ,
How can i call web services from oracle database 10g ?
thanks ...abdou123 wrote:
but how can i get complex result
for example
i pass input parameter like National Id Number
and get the person details ( name , age , date of birth , ............ ) .Basic approach to web services using UTL_HTTP explained in {message:id=10448611}.
An example of using a pipeline table function as a data transformation process (turning web data into rows and columns) in {message:id=10158148}. -
Error while invoking a WS-Security secured web service from Oracle BPEL..
Hi ,
We are facing some error while invoking a WS-Security secured web service from our BPEL Process on the windows platform(SOA 10.1.3.3.0).
For the BPEL process we are following the same steps as given in an AMIS blog : - [http://technology.amis.nl/blog/1607/how-to-call-a-ws-security-secured-web-service-from-oracle-bpel]
but sttill,after deploying it and passing values in it,we are getting the following error on the console :-
“Header [http://schemas.xmlsoap.org/ws/2004/08/addressing:Action] for ultimate recipient is required but not present in the message”
Any pointers in this regard will be highly appreciated.
Thanks,
SaurabhHi James,
Thanks for the quick reply.
We've tried to call that web service from an HTML designed in Visual Studios with the same username and password and its working fine.
But on the BPEL console, we are getting the error as mentioned.
Also if you can tell me how to set the user name and password in the header of the parter link.I could not find how to do it.
Thanks,
Saurabh -
Calling web service from oracle forms fails with ORA_JAVA.JAVA_ERROR
Problem Description:
I'm following the steps as per the doc:
http://www.oracle.com/technology/products/forms/htdocs/10gr2/howto/webservicefromforms/ws_10_1_3_from_forms.html
to create a java stub to call external web service and then use java importer in oracle forms to call this web service from oracle forms.
WSDL for external web service used is http://www.webservicex.net/CurrencyConverter.asmx?wsdl
Calling the web service using JDeveloper works fine but from Oracle Forms returns ORA_JAVA.JAVA_ERROR; Unable to call out to Java, Invalid object type for argument 1
The code from oracle form to call web service is as below:
DECLARE
jo ora_java.jobject;
rv ora_java.jobject;
ex ora_java.jobject;
outString varchar2(2000);
BEGIN
jo:= CurrencyConvertorStub.new;
--This will get the exchange rate from US Dollars to UK Sterling.
rv:= CurrencyConvertorStub.ConversionRate(jo,'CAD','USD');
message (float_.floatValue(RV));
EXCEPTION
WHEN ORA_JAVA.JAVA_ERROR then
message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
WHEN ORA_JAVA.EXCEPTION_THROWN then
ex := ORA_JAVA.LAST_EXCEPTION;
outString := Exception_.toString(ex);
message(outString);
END;
Any help/ideas on this is greatly appreciated. Thanks.Yes, it is the message line - so basically this call fails => rv:= CurrencyConvertorStub.ConversionRate(jo,'CAD','USD'); and control goes in the exception block
WHEN ORA_JAVA.JAVA_ERROR then
message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
Below is the code from java stub that was generated using JDeveloper by using web services stub/skeleton and associating the WSDL
public Double ConversionRate(String FromCurrency, String ToCurrency) throws Exception
URL endpointURL = new URL(endpoint);
Envelope requestEnv = new Envelope();
Body requestBody = new Body();
Vector requestBodyEntries = new Vector();
String wrappingName = "ConversionRate";
String targetNamespace = "http://www.webserviceX.NET/";
Vector requestData = new Vector();
requestData.add(new Object[] {"FromCurrency", FromCurrency});
requestData.add(new Object[] {"ToCurrency", ToCurrency});
requestBodyEntries.addElement(toElement(wrappingName, targetNamespace, requestData));
requestBody.setBodyEntries(requestBodyEntries);
requestEnv.setBody(requestBody);
Message msg = new Message();
msg.setSOAPTransport(m_httpConnection);
msg.send(endpointURL, "http://www.webserviceX.NET/ConversionRate", requestEnv);
Envelope responseEnv = msg.receiveEnvelope();
Body responseBody = responseEnv.getBody();
Vector responseData = responseBody.getBodyEntries();
return (Double)fromElement((Element)responseData.elementAt(0), java.lang.Double.class);
} -
Problem with date format from Oracle DB
Hi,
I am facing a problem with date fields from Oracle DB sources. The date format of the field in DB table is 'Date base type is DATE and DDIC type is DATS'.
I mapped the date fields to Date characters in BI. Now the data that comes to PSA is in weird format. It shows like -0.PR.09-A
I have changing the field settings in DataSource to internal and external and also i have tried mapping these date fields to text fields with out luck. All delivers the same format.
I have also tried using conversion routines like, CONVERSION_EXIT_IDATE_INPUT to change format. It also delivers me the same old result.
If anybody of you have any suggestions or if anybody have you experienced such probelms, Please share your experience with me.
Thanks in advance.
Regards
VaradaThanks for all your reply. I can only the solutions creating view in database. I want some solution to be done in BI. I appreciate if some of you have idea in it.
The issue again in detail
I am facing an issue with date fields from oracle data. The data that is sent from Oracle is in the format is -0.AR.04-M. I am able to convert this date in BI with conversion routine in BI into format 04-MAR-0.
The problem is, I am getting data of length 10 (Output format) in the format -0.AR.04-M where the month is not in numericals. Since it is in text it is taking one character spacing more.
I have tried in different ways to convert and increased the length in BI, the result is same. I am wondering if we can change the date format in database.
I am in puzzle with the this date format. I have checked other Oracle DB connections data for date fields in BI, they get data in the format 20.081.031 which will allow to convert this in BI. Only from the system i am trying creating a problem.
Regards
Varada -
Call a web services from oracle forms 10
I have to call a web services from oracle forms.
The version of the database is oracle 11gr2. the version of the forms is 10.1.2.0.2.
I allready did the proxy creation and the import class within forms.
I have 2 questions:
1.
I created the following procedure:
PROCEDURE call_WS IS
vobject1 ORA_JAVA.JOBJECT;
vobject2 ORA_JAVA.JOBJECT;
BEGIN
vobject1 := WSEvaluarReglaCondicionComerci.new();
vobject2 := WSEvaluarReglaCondicionComerci.listarValoresAtributoEvento(vobject1, 702, 2217, null, null, null);
END;
the function I calling:
FUNCTION listarValoresAtributoEvento(
obj ORA_JAVA.JOBJECT,
a0 ORA_JAVA.JOBJECT,
a1 ORA_JAVA.JOBJECT,
a2 ORA_JAVA.JOBJECT,
a3 VARCHAR2,
a4 ORA_JAVA.JOBJECT) RETURN ORA_JAVA.JOBJECT;
Note that the parameters is ORA_JAVA_JOBJECT and I need to send numbers. I understand that when I import the classes, because in the WS those parameters are defined as BigDecimal, Forms understand them as java object but when I compile it reports the error: "numero o tipo de argumento erroneo al llamar..." type error.
So the question is, how Cast the numbers to Java Object to send them.
I have read in a web page that one option is to change in the web service the type of the parameters but that is not an option.
2.
The WS returns a super big XML as answer, so how I can parse the result into an Object type?...
The object structure is:
TYPE opciones_obj AS OBJECT
(strindice VARCHAR2 (4000),
nombrecompleto VARCHAR2 (4000),
nombre VARCHAR2 (4000),
strtipodato VARCHAR2 (4000),
codigoopcion NUMBER,
floatval FLOAT,
strtipo VARCHAR2 (4000),
strval VARCHAR2 (4000));
and the tags to extract is:
COLUMNS strindice VARCHAR2 (4000)
PATH 'ns2:mapEntry[ns2:key="strIndice"]/ns2:value',
nombrecompleto VARCHAR2 (4000)
PATH 'ns2:mapEntry[ns2:key="nombreCompleto"]/ns2:value',
nombre VARCHAR2 (4000)
PATH 'ns2:mapEntry[ns2:key="nombre"]/ns2:value',
strtipodato VARCHAR2 (4000)
PATH 'ns2:mapEntry[ns2:key="strTipoDato"]/ns2:value',
codigoopcion NUMBER
PATH 'ns2:mapEntry[ns2:key="codigoOpcion"]/ns2:value',
floatval FLOAT
PATH 'ns2:mapEntry[ns2:key="floatVal"]/ns2:value',
strtipo VARCHAR2 (4000)
PATH 'ns2:mapEntry[ns2:key="strTipo"]/ns2:value',
strval VARCHAR2 (4000)
PATH 'ns2:mapEntry[ns2:key="strVal"]/ns2:value') x;
xquery / xmltype aparently is not an option because the xml is too big.
I will appreciate your answers.
Thanks.
Edited by: user13058213 on 26-ene-2012 16:02i created jar file to call it from forms
Could you be a little bit less vague about what you exactly did?
Anyway; see here http://bit.ly/10VVoMR
cheers -
Calling web service from oracle application framework r12
Hi Techies
Is anybody know How to call web service from oracle application framework r12(step by step procedure),because i searched in net but i could not understand that one
Thanks
Dillibabu B
Edited by: 962005 on 28 Sep, 2012 12:11 AMHi,
Check below links:
http://oracle.anilpassi.com/oa-framework-with-captcha-webservice.html
http://oracle.anilpassi.com/integrate-oa-framework-with-web-service.html
https://blogs.oracle.com/ebusinesssuiteintegration/entry/r121_-invokingweb_service_fr
--Sushant -
Can't call WCF Data Service from within a WCF Service
I am trying to query my WCF Data Service from within a WCF Service and I receive a error 404. However, when I query the data service from my application, it works just fine. The WCF Service will work just fine if I comment out the Data Service
query request.
How do I get a WCF Service and a WCF Data Service to play nice?Hi,
For this situation, first you could try to create the wcf data service and run it then consume the data service within your application by adding service reference.
Here is an example for creating and consuming WCF Data service in console application, and for consuming the service in wcf service, you could just follow the same steps as the console application does.
http://www.c-sharpcorner.com/uploadfile/dhananjaycoder/introduction-to-wcf-data-service-and-odata/
Regards -
Data transfer from oracle database(external database) to sap database
Hi Abapers,
I have a requirment like excel data upload from oracle database(external database) to SAP database .Plz any one can help me how to create a bdc program for this requarment.
Advance thanks you.
JnanaHI
use function module 'ASLM_EXCEL_TO_INTERNAL_TABLE' TO UPLOAD DATA FROM EXCEL SHEET TO INTERNAL TABLE. FROM THERE U CAN SAVE IT TO DATABASE USING BDC FUNCTION MODULES. -
DATA EXTRACTION FROM ORACLE & SYBASE
Hello members...
Good day. This is my first posting in this site. I am new to Oracle and have a question regarding Data extraction from Oracle and Sybase.
My project has two applications one having Oracle as the database and the other has Sybase as the database. On the proposed production schedule, there would be a interface data update from the Oracle database to the Sybase database.
My aim is to check if the data update is in sync after the update. We plan to extract the data from the two databases (Oracle and Sybase) and compare in a Third Party tool. We have the tool to compare. Can any of you suggest a nice data extraction tool. I have to set this data extraction as a batch in the nightly batch schedule.
Thanks in advance,
Regards,
Krishna Kumar...Sybase provides the best data extraction utility called BCP. You can load and extract data. It is very user friendly. From your unix prompt if you type in BCP ? you will all the switches and
help messages you need to use. It is so simple.
Oracle dosn't have such a utility to extract data from table.
You need to write a Stored procedure and use UTF_FILE package to
extract data from table and write into a file.
Maybe you are looking for
-
SOS: JSON and internet explorer
hi -- I posted the following a few days ago: JSON error in internet explorer 8 -- works fine in Firefox I haven't heard anything back yet from the forum, so thought I'd send out another SOS. I filed an SR, but this is outside the realm of Oracle Supp
-
Is it possible to use both inputs of my AudioBox at the same time?
I was having issues last night, and I wanted to poll the community before I declared my device deffective. I have an AudioBox- USB and managed to hook it up to GB. I tried both guitar and a microphone in Input 1 and they both worked. I decided to t
-
I have the letters A to Z in a master page and would like to link to a detail page, where all companies are displayed whose names begin with A, or B depending which letter the user has clicked. On the detail page (compdetail.php) I have that code: $q
-
IDOC performance: increase amount dialog processes on XI site?
Hi everybody, we got performance problems while sending (many) IDocs to XI. Is it recommended to incease the amount of dialog processes? If yes: Which transaction is to be used? Thanks you! Regards Jochen null
-
Hi all, I know that this subject has been discussed yet, but I haven't found a definite answer to this question. I have some Pages documents on iCloud: and since yesterday if I try to access them via iCloud.com interface, a message warns me that my d