Web Service in Apex
Hi
I'm using APEX 2.1.0, OracleXE 10.2, Oracle SOA 10.1.3, Jdev 10.1.3.3
I've created a webservice in jdeveloper based upon a plsql package it has 3 input parameters and return a parameter
I've deployed the webservice to my SOA apps server and tested it satisfactorily
I've then created the web service reference in APEX using the shared components utility and it appears to create the reference ok (based upon the WSDL without searching UDDI), this correctly shows the operation and input and output parameters whilst it is created via the wizard
I've then tried to create a form based upon the web service in APEX, it shows the operation but it does not show the input parameters it gives the mesage "no data found"
has anyone else had this problem?
has anyone got any suggestions?
thanks
Andrew
Jason
Thanks for this, I've tried to upgrade my APEX to 3.01 using the instructions identified it ran for 9hrs before I killed it I assume that there are some things I need to do on my XE database or my machine is not powerful enough, or something else is awry (not found any other posts on the forum indicating anyone else having a problem with the upgrade so I assume its me!)
However I have now managed to access another oracle 10g instance that does have Apex 3.01 and I have now successfully built my application on the web services generated in Jdeveloper
again thanks
Andrew
Similar Messages
-
Hi,
I'm just getting started and i need to know what is the best way to develop an web service in apex ou expose functionality as such. Is this possible or do i have to buy some product to do this? If so, which one?
Thanks in advance.
Best Regards,
PedroHello Pedro,
If you want to develop a web service, APEX is not the first choice. You should better go for JDeveloper (also free).
APEX is perfect for consuming web services though...
Greetings,
Roel
http://roelhartman.blogspot.com/
http://www.bloggingaboutoracle.org/
http://www.logica.com/
You can award this reply to your question by marking it as either Helpful or Correct ;-) -
Web Service in APEX - read from SYS_REFCURSOR -
Hi,
I created a package in the database 10g to give a result with multiple lines:
PACKAGE BODY "PKEMPLOYEES" AS
function getEmployees(p_dept_id number) return SYS_REFCURSOR
as
p_return_cur SYS_REFCURSOR;
BEGIN
OPEN p_return_cur FOR
'Select first_name from employees where department_id=' || p_dept_id;
return p_return_cur;
end getEmployees;
END;
Then, with the JDeveloper (10.1.3), I have deployed the package as a web service in OC4J Standalone and I used Jpublisher:
jpub -user hr/hr -sysuser sys/orclbd
-proxywsdl=http://144.22.197.113:8888/appEmp-ProjEmp-context-root/MyWSEmpSoapHttpPort?WSDL
-proxyopts=tabfun -httpproxy=(removed proxy - on our hosted instance, you cannot use web services)
-endpoint=http://144.22.197.113:8888/appEmp-ProjEmp-context-root/MyWSEmpSoapHttpPort
-plsqlpackage=pkWSEmp -dir=wsEmp
And, in APEX 2.2, I have tried to use the web service but there is an error:
ORA-20001: env:Clientcaught exception while handling request: unexpected element name: expected={http://hr/MyWSEmp.wsdl/types/}getemployeesXMLRowSetElement, actual={http://hr/MyWSEmp.wsdl}getemployeesXMLR
I think that the APEX don't recognize the SYS_REFCURSOR, but I don't know the way to resolve this.
Any ideas??
Thank you all,
Carla Diogo
Message was edited by:
sbkennedHi,
What I really pretend is to have a web service that give me the result of a query. The result is multiple lines of a table. I want to call it from APEX to view the result.
What I don't know how to do is the best way to have multiple line result from a web service, in APEX 2.2.
I need to call the web service from the database and then call the procedure in APEX? There is any type (with multiple line) that I can use on the web service that is recognized by APEX?
I'm new in this...
Thank you -
Can I deploy web service on APEX server
I have APEX 3.1.2 on 11g database.
I need to pull data from other oracle 9i databases into APEX application. I have created web service on my pl/sql package to pull data from 9i databases and deployed service on my local oc4j instance (within jdeveloper). My APEX app pull data from multiple oracle 9i database. Now I need to move my web service to my dev/test environment.
Can I deploy web service on APEX server? or do I need to deploy on another web server?
I know I can easily pull the data from other oracle 9i databases using DB link. I want to explore Web services option to just to see is it possible to pull data from multiple sources into APEX app using web service running from APEX server?.
Any help on this will be appreciated.
RK Shah
Edited by: RK Shah on Apr 7, 2009 7:27 PMI am in the same situation. Consuming a web service is easy with APEX. But publishing one needs a web server that is more complex than the one that comes with APEX for free.
I am exploring the possibility of building the web service in Jdeveloper as you have. Then I will make a WAR file that I will publish to an apache tomcat J2EE server that another department runs. I believe it will work since all the components required should be in the WAR file.
I am new at this. I will let you know how it works out.
The other possibility is to upgrade the appserver to the full Oracle Fusion server (maybe). This may be expensive and be too much for just a simple web service. But then the publish to application server from jdeveloper is super easy. -
Publish XDB web service on apex application
Could any one please help me out to use native oracle XML DB web service on apex application.
In apex application, basically i need to have a report that displays all PO requests with links to each request # to drill down to the form page where the vendor are allowed to submit some corresponding data to th PO request.
All i need is to know how do i use the native oracle XML DB web service to show the report to the vendors with drill down links and capture the data, the vendor submits through the form.
Thanks in advance!!
Regards,
RameI think you might be on the wrong track. Web services don't "show" anything really. They take in either XML in the case of SOAP-style web services or an HTTP request in the case of restful web services. They typically return XML, but can return JSON or other machine readable formats. Web services don't have forms and reports. More information here: http://en.wikipedia.org/wiki/Web_service . To have a human interact with a web service, you typically have a UI layer. For instance, in APEX you can build a form or a report on a web service (the same is true for most popular web technologies).
In APEX 4.0+ you can expose a report as a restful web service, but I really don't think that is what you want to do. There's no way that I can think of to use the XDB web services to expose any component of APEX.
In short, people interact with web applications, such as APEX apps. Machines, such as databases or application servers, interact with web services.
So, do you need to expose some component of your application as an API (web service) that vendors can call programmatically from some other technology such as Java or PHP? Or do you want to build a web application that people can interact with?
Tyler Muth
http://tylermuth.wordpress.com
"Applied Oracle Security: Developing Secure Database and Middleware Environments": http://sn.im/aos.book -
Invoking web service through apex.
Apex 4.1,
I'm trying to bind a simple web service to my apex page. Web service is hosted in a different server. When i try to add the path reference of WSDL file i'm getting the error message. Obviously its expecting a proxy server address to be configured. But we don't have a proxy server to access our web service. Even we were able to bind the same service to an infopath form by directly giving the WSDL file path.
Greatly appreciate if someone can assist me on this.
ThanksApex-Ape wrote:
i'm getting the error message.Hi,
Can you please give us the precise error that you're getting?
Tom -
Consuming RESTful web service in Apex app
Hi,
I have created a RESTful Web service through an Apex application (4.0) and published as a public web service. Can someone point me to an example of how to then consume that service in another Apex app? The output is straightforward XML that I can retrieve just by pointing the browser to the URL of the service created, but when I go to create the REST Web Reference for the receiving application, I am not sure what to put for the Response Xpath or Response Namespace. The service is meant to just return report records that were created in the REStful Web service with no input required.
The service XML looks like this:
<ROWSET>
<ROW>
<PROJ_ID>132</PROJ_ID>
<PSL_NETID>xxxxxxxx</PSL_NETID>
<PROJECT_TITLE>11g- Oracle Upgrade to RAC 11g</PROJECT_TITLE>
<CUSTOMER>OIT</CUSTOMER>
<DIVISION>EIS</DIVISION>
</ROW>
<ROW>
<PROJ_ID>132</PROJ_ID>
<PSL_NETID>xxxxxx</PSL_NETID>
<PROJECT_TITLE>11g- Oracle Upgrade to RAC 11g</PROJECT_TITLE>
<CUSTOMER>OIT</CUSTOMER>
<DIVISION>CSS</DIVISION>
Any help would be appreciated.
Thanks,
Pat
Edited by: patfmnd on Dec 7, 2012 3:04 AMHi,
I have made progress in this. I created the RESTful report service in an Apex 4.1 application. (previous attempt was with 4.0 version of Apex)
I then created a separate application and created a RESTful web service reference that I tested and it was successful in bringing up XML. However in Apex 4.1, when I create a report following the Wizard for creating a report based on that Web service reference I get the error: ORA-31013: Invalid XPATH expression Which I don't know how to get past. The Xpath provided in the Web service reference test gave output below and brought back a result. There was no where during the Report creation to provide an Xpath. Am I missing something or is 4.1 not quite Web service ready??
This is what I get from the test of the Web service reference in the Apex App from which I want to create a report: (I see in this XML the data I was expecting from the test of the RESTful web service but it looks like the output I get from the Web service test is more like the Report xml itself.)
<!DOCTYPE html> <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:htmldb="http://htmldb.oracle.com" xmlns:apex="http://apex.oracle.com"> <head> <title>Author</title>
<!--[if IE]><link rel="stylesheet" href="/i/css/apex_ie_4_1.css" type="text/css" /><![endif]--> <script type="text/javascript">
//<![CDATA[
var apex_img_dir = "/i/", htmldb_Img_Dir = apex_img_dir;
//]]>
</script>
<script src="/i/javascript/apex_4_1.min.js" type="text/javascript">
</script>
<script type="text/javascript">
//<![CDATA[
apex.security.framebreaker("D");
//]]>
</script>
<!--[if IE]><link rel="stylesheet" href="/i/themes/theme_2/css/theme_4_0_ie.css" type="text/css" /><![endif]--><!--[if IE 6]><link rel="stylesheet" href="/i/themes/theme_2/css/theme_4_0_ie6.css" type="text/css" /><![endif]--><!--[if IE 7]><link rel="stylesheet" href="/i/themes/theme_2/css/theme_4_0_ie7.css" type="text/css" /><![endif]--><!--[if lte IE 6]><div id="outdated-browser">You are using an outdated web browser. For a list of supported browsers, please reference the Oracle Application Express Installation Guide.</div><![endif]-->
<form action="wwv_flow.accept" method="post" name="wwv_flow" id="wwvFlowForm"><input type="hidden" name="p_flow_id" value="140" id="pFlowId" /><input type="hidden" name="p_flow_step_id" value="1" id="pFlowStepId" /><input type="hidden" name="p_instance" value="6146802068150520" id="pInstance" /><input type="hidden" name="p_page_submission_id" value="1940235134399423" id="pPageSubmissionId" /><input type="hidden" name="p_request" value="" id="pRequest" />
<div id="header">
<div id="app-logo"><a href="f?p=140:1:0"></a></div>
<div id="navbar">
<div class="navbar-entry">Logout</div>
</div>
</div>
<div id="tabs">
<div class="frame">
<div class="bg">
<div class="tab-holder">
<div class="first-current">
<div><span>Author</span></div>
</div>
</div>
</div>
</div>
</div>
<div id="topbar">
<div class="breadcrumb-region" id="R170908223330421512">
<div>
<div id="breadcrumbs">
<ul class="breadcrumb-list">
<li class="current">Author</li>
</ul>
</div>
</div>
</div>
</div>
<div id="messages"></div>
<div id="body">
<table class="tbl-body" cellspacing="0" cellpadding="0" border="0" summary="">
<tbody>
<tr>
<td class="tbl-main" width="100%">
<div class="rounded-corner-region" id="books">
<div class="rc-blue-top">
<div class="rc-blue-top-r">
<div class="rc-title">AUTHOR</div>
<div class="rc-buttons"><button value="Reset" class="button-gray" type="button" id="B170907622885421490"><span>Reset</span></button></div>
</div>
</div>
<div class="rc-body">
<div class="rc-body-r">
<div class="rc-content-main">
<table id="apex_layout_170907030238421484" border="0" class="formlayout" summary="" role="presentation" datatable="0">
<tr>
<td align="right"><label for="P1_REPORT_SEARCH" tabindex="999"><a class="optional-w-help" href="javascript:popupFieldHelp('170907422375421487','6146802068150520')" tabindex="999">Search</a></label></td>
<td colspan="1" rowspan="1" align="left"><input type="hidden" name="p_arg_names" value="170907422375421487" /><input type="text" id="P1_REPORT_SEARCH" name="p_t01" value="" size="30" maxlength="2000" class="text_field" /></td>
<td align="right"><label for="P1_ROWS" tabindex="999"><a class="optional-w-help" href="javascript:popupFieldHelp('170907508375421490','6146802068150520')" tabindex="999">Display</a></label></td>
<td colspan="1" rowspan="1" align="left"><input type="hidden" name="p_arg_names" value="170907508375421490" /><select name="p_t02" id="P1_ROWS" size="1" class="selectlist">
<option value="10">10</option>
<option value="15" selected="selected">15</option>
<option value="20">20</option>
<option value="30">30</option>
<option value="50">50</option>
<option value="100">100</option>
<option value="200">200</option>
<option value="500">500</option>
<option value="1000">1000</option>
<option value="5000">5000</option>
</select></td>
<td align="left"></td>
<td colspan="1" rowspan="1" align="left"><button value="Go" class="button-gray" type="button" id="P1_GO"><span>Go</span></button></td>
</tr>
</table>
<div id="report_170907030238421484_catch">
<table cellpadding="0" border="0" cellspacing="0" summary="" id="report_books">
<tr>
<td></td>
</tr>
<tr>
<td>
<table cellpadding="0" border="0" cellspacing="0" summary="" class="report-standard">
<tr>
<th id="AUTHORID" class="header">
<div class="rpt-sort">Authorid<img align="absmiddle" src="/i/arrow_up_gray_dark.gif" width="13" height="12" alt="Sort by this column" /></div>
</th>
<th id="LNAME" class="header">
<div class="rpt-sort">Lname</div>
</th>
<th id="FNAME" class="header">
<div class="rpt-sort">Fname</div>
</th>
</tr>
<tr class="highlight-row">
<td headers="AUTHORID" class="data">A100</td>
<td headers="LNAME" class="data">AUSTIN</td>
<td headers="FNAME" class="data">JAMES</td>
</tr>
<tr class="highlight-row">
<td headers="AUTHORID" class="data">A105</td>
<td headers="LNAME" class="data">ADAMS</td>
<td headers="FNAME" class="data">JUAN</td>
</tr>
<tr class="highlight-row">
<td headers="AUTHORID" class="data">B100</td>
<td headers="LNAME" class="data">BAKER</td>
<td headers="FNAME" class="data">JACK</td>
</tr>
<tr class="highlight-row">
<td headers="AUTHORID" class="data">F100</td>
<td headers="LNAME" class="data">FIELDS</td>
<td headers="FNAME" class="data">OSCAR</td>
</tr>
<tr class="highlight-row">
<td headers="AUTHORID" class="data">J100</td>
<td headers="LNAME" class="data">JONES</td>
<td headers="FNAME" class="data">JANICE</td>
</tr>
<tr class="highlight-row">
<td headers="AUTHORID" class="data">K100</td>
<td headers="LNAME" class="data">KZOCHSKY</td>
<td headers="FNAME" class="data">TAMARA</td>
</tr>
<tr class="highlight-row">
<td headers="AUTHORID" class="data">M100</td>
<td headers="LNAME" class="data">MARTINEZ</td>
<td headers="FNAME" class="data">SHEILA</td>
</tr>
<tr class="highlight-row">
<td headers="AUTHORID" class="data">P100</td>
<td headers="LNAME" class="data">PORTER</td>
<td headers="FNAME" cla
Edited by: patfmnd on Dec 12, 2012 5:59 PM
Edited by: patfmnd on Dec 12, 2012 6:07 PM -
Not able to consume Spring web services form Apex.
Hi all,
I have written web services using Spring web services and i have tested them using SoapUi- web services testing tool. But when i try to consume the same using Apex, Apex fails to parse the Wsdl properly and invalid request and response elements are created.
The request and response elements are in an different xsd and i have imported it in the wsdl.
Problem: when Apex parses the wsdl, it fails to download the referenced xsd and hence fails to create the request and response elements properly.
Questions: Can apex download an xsd through http? if yes, how do we enable apex to do it.
What are the other options available.?
I have pasted a extract from the wsdl below:
<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions xmlns:schema="http://com/webservice" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://com/webservice">
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"><xsd:import namespace="http://com/webservice" schemaLocation="../model/WebServiceModel.xsd"/></xsd:schema>
</wsdl:types>
Regards
AnishAnish:
Application Express will attempt to download external XSD references (version 3.0 or later), but I believe the problem with this particular reference is that the reference is relative:
../model/WebServiceModel.xsd
Another option is to use the Manual Web references feature. You can use a tool like SOAPUI to get a properly formatted SOAP Envelope for the operation of the particular service you wish to interact with.
http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10499/advnc.htm#BABCBBHJ (Creating a Web Service Manually)
http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10497/web_serv.htm#CHDEFEGH
Regards,
Jason -
Hello!
I'm using Application Express with Oracle XE.
Have tried web services but with no success.
Can someone tell me if
Can UTL_DBWS be used on XE?
From what I see it can't (no java support in XE DB).
Do the Web Services work in Apex with XE?
Can't create a web service reference.
If yes, must the proxy server for application be set for
web services to work in Apex (not using one for internet
access)?
Are the sample UDDI references provided in Apex still
valid or not?
Thanks in advance
WlodekHave been trying web services and using the link above and got nothing back. Testing the web service in shared components works and you can see the soap package being sent and the response but on the page no items are being populated.
What I did was use this link
http://www.oracle-base.com/articles/9i/ConsumingWebServices9i.php
and use there package and function to call the web service. It works. Would be good to see it working in APEX. Have tried to use in version 2.2 but still can't get anything to work.
If anyone knows where I can get information in creating my wsdl file in APEX that would be great.
thanks
Andrew -
Publishing Web Services via APEX on the horizon? WSRP? SOD?
Hi,
Are there any plans for APEX being able to "natively" publish Web Services? Maybe support for WSRP so you could publish an APEX based portlet on Oracle Portal or WebCenter?
Any news of when an updated statement of direction will be published?
Regards Pete
Message was edited by:
Peter LorenzenThere is some talk of native database web services in the next version of Oracle:
http://padrenc.blogspot.com/2006/10/xquery-and-xml-db-hands-on-lab.html
It didn't quite make it into 10g:
Re: plsql web services without appserv -
Using web services from apex end
Hi,
I'm trying to suspend/delete/resume a particular job scheduled in BI Publisher from oracle apex end.For these I'm using the following web services
1.suspendScheduledReport
2.resumeScheduledReport
3.deleteScheduledReport
when calling
suspendScheduledReportResponse/
resumeScheduledReportResponse/
deleteScheduledReportResponse
all of them are returning true.
although the web service call is being successful, but jobs are not being suspended/resumed/deleted in BI Publisher.
the web service "deleteScheduledReportHistory" is working fine.
The products I'm using:
APEX 3.1.2
BI Publisher 10.1.3.4
can anyone have detail idea of these??
its really urgent.
regards,
joyotiI recommend you post this in a forum that has BI Publisher expertise, this is a WebLogic Server forum.
-
Hi,
I am working with apex 3.2 and I want to call web services from a page in application in apex.
and I do not have any idea about this topic,
any body can help me in this ??
Thanks and best regards.
Mohd.Hi,
I have for example this web service
(https://www.eclaimexpress.com/KEHClinics/TestCodingAlerts.asp?CMD=CROSSCODING&TYPE=CPT&TERM=icd9v1&CODE=13100), this link will return me xml as following
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <links>
<link href="/ws/codetype/icd9v1/172.5">172.5</link>
<link href="/ws/codetype/icd9v1/173.5">173.5</link>
<link href="/ws/codetype/icd9v1/198.2">198.2</link>
<link href="/ws/codetype/icd9v1/209.35">209.35</link>
<link href="/ws/codetype/icd9v1/209.75">209.75</link>
<link href="/ws/codetype/icd9v1/214.1">214.1</link>
<link href="/ws/codetype/icd9v1/216.5">216.5</link>
<link href="/ws/codetype/icd9v1/228.01">228.01</link>
<link href="/ws/codetype/icd9v1/232.5">232.5</link>
<link href="/ws/codetype/icd9v1/238.2">238.2</link>
<link href="/ws/codetype/icd9v1/448.1">448.1</link>
<link href="/ws/codetype/icd9v1/686.1">686.1</link>
<link href="/ws/codetype/icd9v1/701.1">701.1</link>
<link href="/ws/codetype/icd9v1/701.4">701.4</link>
<link href="/ws/codetype/icd9v1/701.5">701.5</link>
<link href="/ws/codetype/icd9v1/702.11">702.11</link>
<link href="/ws/codetype/icd9v1/702.19">702.19</link>
<link href="/ws/codetype/icd9v1/706.2">706.2</link>
<link href="/ws/codetype/icd9v1/709.1">709.1</link>
<link href="/ws/codetype/icd9v1/709.2">709.2</link>
<link href="/ws/codetype/icd9v1/709.4">709.4</link>
<link href="/ws/codetype/icd9v1/757.32">757.32</link>
<link href="/ws/codetype/icd9v1/875.0">875.0</link>
<link href="/ws/codetype/icd9v1/875.1">875.1</link>
<link href="/ws/codetype/icd9v1/877.0">877.0</link>
<link href="/ws/codetype/icd9v1/877.1">877.1</link>
<link href="/ws/codetype/icd9v1/879.0">879.0</link>
<link href="/ws/codetype/icd9v1/879.1">879.1</link>
<link href="/ws/codetype/icd9v1/879.2">879.2</link>
<link href="/ws/codetype/icd9v1/879.3">879.3</link>
<link href="/ws/codetype/icd9v1/879.4">879.4</link>
<link href="/ws/codetype/icd9v1/879.5">879.5</link>
<link href="/ws/codetype/icd9v1/879.6">879.6</link>
<link href="/ws/codetype/icd9v1/879.7">879.7</link>
<link href="/ws/codetype/icd9v1/879.8">879.8</link>
<link href="/ws/codetype/icd9v1/879.9">879.9</link>
<link href="/ws/codetype/icd9v1/880.00">880.00</link>
<link href="/ws/codetype/icd9v1/880.01">880.01</link>
<link href="/ws/codetype/icd9v1/880.09">880.09</link>
<link href="/ws/codetype/icd9v1/880.10">880.10</link>
<link href="/ws/codetype/icd9v1/880.11">880.11</link>
<link href="/ws/codetype/icd9v1/880.19">880.19</link>
<link href="/ws/codetype/icd9v1/906.0">906.0</link>
</links>
So now how can I call it in apex , and how can I return the results in report.??
Regards.
Mohd. -
Calling BI Publisher Web Services from APEX
Hi,
Has anyone been able to run a BI Publisher report from APEX using the Web Service interface provided by BI Publisher?
I have created Web Service Reference in APEX using:
http://<host>:<port>/xmlpserver/services/PublicReportService?wsdl
I have then created a page rendering process that calls the web service, in particular calling the runReport operation.
When a try and run the page, I get the following error:
"ORA-20001: soapenv:Server.userExceptionjava.lang.NullPointerException"
Basically I want to be be able to call the BI Pub report and view the output straight away.
Appreciate any help.
Cheers,
MattHello,
I am using Jason's flex_ws_api and I have built an application that uses the BI Publisher web services to runReports. My service request looks like this (example)
<pre>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pub="http://xmlns.oracle.com/oxp/service/PublicReportService">
<soapenv:Header/>
<soapenv:Body>
<pub:runReport>
<pub:reportRequest>
<pub:attributeFormat>pdf</pub:attributeFormat>
<pub:attributeLocale></pub:attributeLocale>
<pub:attributeTemplate>New Template 1</pub:attributeTemplate>
<pub:flattenXML>1</pub:flattenXML>
<pub:parameterNameValues/>
<pub:reportAbsolutePath>/~rdpatric/Training/whoami/whoami.xdo</pub:reportAbsolutePath>
<pub:reportData></pub:reportData>
<pub:reportDataFileName></pub:reportDataFileName>
<pub:sizeOfDataChunkDownload>10000</pub:sizeOfDataChunkDownload>
</pub:reportRequest>
<pub:userID>user</pub:userID>
<pub:password>password</pub:password>
</pub:runReport>
</soapenv:Body>
</soapenv:Envelope>
</pre>
Obviously you would want to make a lot of these things variables...this is just an example...also sizeOfChunkDownload wasn't working for me at -1...idk...maybe it was something else...
Also if you use the flex_ws_api...you need to specify the namespace for your xpath statement ie.' xmlns="http://..."'
I am currently working on getting this working with the 'inSession' webservices as we have BI Pub set up SSO and APEX set up SSO so i need to be able to call the web services inSession...only problem is ssoCreateSession returns a 500 error and no xml...entered a TAR for this...sorry to digress. Use the above code and you should be able to get the runReport working. -
Accessing Restful Web Services in APEX?
Hi I am new to this forum so I hope you will bear with me. I have been looking at how to create RESTful web services through the SQL Workshop Resful Services wizard but every single article I look at refers to a test button which I cannot see anywhere (I am using APEX 4.2) so how do I test the service?
Also, how can I get the URL of the service so I can call it from another application?
Thanks in advance
MalcolmOracle® Application Express
SQL Workshop Guide
Release 4.2
RESTful Service Requirements
In order for the RESTful Service utility to be available and function properly, the
following requirements must be met:
■ The instance administrator must enable RESTful Services for this Application
Express instance. See Oracle Application Express Administration Guide.
■ The Oracle Application Express Listener version 2.0 or higher must be used. The
Oracle XML DB HTTP Server with the embedded PL/SQL gateway and Oracle
HTTP Server with mod_plsql do not support this functionality. See Oracle
Application Express Listener Installation and Developer Guide.
Regards
Zack -
I am trying to get an OBIEE web service to be presented on an APEX report.
The first step is to create the Web Service reference and can be done using an Apex wizard. However, when I use the address http://xxx/analytics/saw.dll?wsdl I get an error saying the WSDL document was unretrievable. I can open the document directly in IE, OBIEE and Apex are on the same server and I am not using SSL.
Has anyone experinced this before?
AdrianAre you using hostname or the ip in the URL. I am wondering whether APEX is actually able to ping the server. Try using this http://ip/analytics/saw.dll?WSDL. Also, just remember that we cannot use OBI EE SOAP APIs directly within APEX since OBI EE SOAP APIs has multiple SOAP bindings. It will give you an error right in the next step. BI Publisher APIs will work just fine since it has only one SOAP binding but not OBI EE. I just typed this on my blog to your query there :-).
Thanks,
Venkat
http://oraclebizint.wordpress.com
Maybe you are looking for
-
Hi All I installed the OS 5 a month ago and made the upde to 5.0.1 2 weeks ago, until two days ago everything was great. During the last few days I have some problems with the Battery, It's draining very fast and the IUphone is extremly hot ! I have
-
Test for file download complete
Does anyone know an accurate way to test that a file download is complete? Reports are being brought down from a server and I want to know if the download is complete before I begin parsing the file. Anyone know how to do this? Is File.canWrite() an
-
What do i do
-
Hi there, I recently purchased my father a mac mini to sit as a media centre under his LCD TV. All hooked up great and it all works very well... apart from audio CD's, they spin at a ridiculous speed meaning that when the sound is low all you can hea
-
Mails disappearing after MacOSX 10.8.4 update
Following the update to MacOSX 10.8.4, all new emails incoming from any accounts (i.e. not iCloud only) are disappearing. This affects the Mac, iPhone, iPad, etc. With Mail app shutdown, mails are coming correctly (not disappearing) on the iDevices (