Download_my_file example from HTMLDB 2 day developer Guide
Hi -
I'm using htmldb/APEX v 1.6. I'm following the Oracle HTMLDB 2 Day Developer Guide chapter 8. In this example, we are uploading files to be stored in the database as BLOB's. Then we are downloading the files.
The example works as advertised until we create the custom table and procedure called download_my_file.
Using the default table and procedure, the file upload and download work correctly.
Using the procedure called download_my_file fails with error:
[Thu Feb 4 13:11:18 2010] [error] [client 100.100.100.11] [ecid: 1265307078:100.100.100.202:18991:0:163,0] mod_plsql: /pls/htmldb/HTMLDB.DOWNLOAD_MY_FILES HTTP-404 \nHTMLDB.DOWNLOAD_MY_FILES: PROCEDURE DOESN'T EXIST\n
Here is my version of procedure download_my_file:
(p_file in number) AS
v_mime VARCHAR2(48);
v_length NUMBER;
v_file_name VARCHAR2(2000);
Lob_loc BLOB;
BEGIN
SELECT MIME_TYPE, BLOB_CONTENT, name,DBMS_LOB.GETLENGTH(blob_content)
INTO v_mime,lob_loc,v_file_name,v_length
FROM file_subjects_1
WHERE id = p_file;
-- set up HTTP header
-- use an NVL around the mime type and
-- if it is a null set it to application/octect
-- application/octect may launch a download window from windows
owa_util.mime_header( nvl(v_mime,'application/octet'),FALSE );
-- set the size so the browser knows how much to download
htp.p('Content-length: ' || v_length);
-- the filename will be used by the browser if the users does a save as
htp.p('Content-Disposition: attachment; filename="'||substr(v_file_name,instr(v_file_name,'/')+1)|| '"');
-- close the headers
owa_util.http_header_close;
-- download the BLOB
wpg_docload.download_file( Lob_loc );
end download_my_file;
Edited by: user11367243 on Feb 4, 2010 11:27 AM
Execute privileges on procedure download_my_file have been granted to Public and HTMLDB_PUBLIC_USER. Procedure is owned by user HTMLDB
Please.. Could you change your forum handle to something more human, we are a friendly group here and lik to know who we are talking to.. Secondly, WHy are you using such an OLD version oft he product. You would be better off installing 3.2.1 (latest released build) and asking your questions after you do that..
(I am sorry, it's like asking for help in a Windows support forum about issues you are having with Windows 3.1)
Thank you,
Tony Miller
Webster, TX
Similar Messages
-
Problems doing the "Web Service" example from the 2-Day-Developer Guide
Hello,
I want to do the "web service" example from the 2-Day-Developer Guide.
I give the application my proxy server address in the format address:port and go through the assistant creating the web service. After selecting the IBM UDDI-service and searching for %xMethods% as business name I get the following error:
ORA-31011: XML-Parsing not successful ORA-19202: Error parsing XML LPX-00104: Warning: Element "html" is not declared in DTD Error at line 2
What have I done wrong?
With kind regards
Florian ReiserPlease.. Could you change your forum handle to something more human, we are a friendly group here and lik to know who we are talking to.. Secondly, WHy are you using such an OLD version oft he product. You would be better off installing 3.2.1 (latest released build) and asking your questions after you do that..
(I am sorry, it's like asking for help in a Windows support forum about issues you are having with Windows 3.1)
Thank you,
Tony Miller
Webster, TX -
Documentation for HTMLDB 2-day developer does not match sample appln
The documentation for the Oracle HTML DB 2-Day Developer no longer matches the sample application and interface provided by Oracle. It used to work several months ago but the online sample workspace and applications appear to have been upgraded.
Where would I get updated documentation?Hi Janos,
Although things are improving, there is generally no enforcement of the filter rules established in the service metadata - this a deficiency in the Gateway engine in my view. If a metadata document can be thoroughly checked for element types, etc, why can't the same be done for filters and addressability?
If an entity is marked as 'requires filter' but no filter is actually implemented, you can waste a lot of time trying to discover the filter pattern!
The bottom line is, if you are building the service yourself, you put in the logic for filter patterns you have designed. If you are using a published service and there is no documentation available, the only way to determine if a filter is actually supported is to experiment or examine the provider model code.
regards
Ron. -
Error Deploying Sample Portal from Development Guide
I am going through creating a New Portal from WebLogic Portal 7 Development
Guide and I am running into the following problem.
After completing Step 2: Create the New Portal, when I try to Hot Deploy the
application, I get the following error.
Hot deploy failed with the following message:
Unable to add module: NewPortalWebApp to application descriptor for:
portalApp.
The log has the following information..
Adding file:
C:\bea\user_projects\myNewdomain\beaApps\portalApp-project\application-sync\
portlets\Portlet1.portlet to sync list.
Adding file:
C:\bea\user_projects\myNewdomain\beaApps\portalApp-project\application-sync\
webapps\PortalWebApp\tools.wf to sync list.
Adding file:
C:\bea\user_projects\myNewdomain\beaApps\portalApp-project\application-sync\
webapps\PortalWebApp\webflow-extensions.wfx to sync list.
Adding file:
C:\bea\user_projects\myNewdomain\beaApps\portalApp-project\application-sync\
webapps\PortalWebApp\user_account.wf to sync list.
Adding file:
C:\bea\user_projects\myNewdomain\beaApps\portalApp-project\application-sync\
webapps\PortalWebApp\portal.wf to sync list.
Adding file:
C:\bea\user_projects\myNewdomain\beaApps\portalApp-project\application-sync\
webapps\PortalWebApp\security.wf to sync list.
Adding file:
C:\bea\user_projects\myNewdomain\beaApps\portalApp-project\application-sync\
webapps\PortalWebApp\NewPortal.portal to sync list.
Attempting sync...
Sync complete.
Searching for portalApp application descriptor...
Found it.
Error - please check log for details.That's great, Mike, you're welcome. I'm glad it's working for you. Thanks for letting me know.
-Scott
Mike Friesen wrote:
I'm sorry you were right.. I tried it and everything works... thanks..
Mike
"Scott Ellis" <[email protected]> wrote in message
news:[email protected]...
Hi Mike,
I hear what you are saying and I believe you. But the error you describedis the known issue related to Internet access
(down to the exact line numbers in the stack trace). Is it possible yourconnection was down last time you attempted
hot-deploy?
If you are sure your Internet connection is up, I would recommend tryinghot-deploy again. If it still does not work,
something very strange is going on. At that point I would recommendtrying the workaround anyway or escalating the issue
to BEA Support.
Now my curiosity is piqued so I hope you'll let me know either way.
Best Regards,
Scott Ellis
BEA Systems
Mike Friesen wrote:
yes..
"Scott Ellis" <[email protected]> wrote in message
news:[email protected]...
Can you please try something for me? Paste the following URL into abrowser:
http://java.sun.com/dtd/application_1_3.dtd
Does it come up?
Thanks,
Scott
Mike Friesen wrote:
Actually, my computer does have internet access, so I don't think that
is
the problem.
Mike
"Scott Ellis" <[email protected]> wrote in message
news:[email protected]...
Hi Mike,
I would bet that you are working on a machine that doesn't have
Internet
access, correct?
The problem is that the EBCC is trying and failing to access the J2EEapplication descriptor
dtd from Sun's website.
If you can't get Internet access, here is the workaround:
- save the attached file to your harddrive (just save it to c:\)
- edit the application.xml file for your project as follows:
- first copy the entire DOCTYPE declaration and save it somewhere
in
a
separate text file (in case want to revert back to it later)
- edit the DOCTYPE declaration so that it looks like this:
<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EEApplication 1.3//EN' 'file:///application_1_3.dtd'>
( notice that the java.sun.com web address is replaced with the URI
to
the file on your harddrive)
- save your changes and hotdeploy will work with or without Internetaccess
Thanks,
Scott Ellis
BEA Systems
Mike Friesen wrote:
I am going through creating a New Portal from WebLogic Portal 7
Development
Guide and I am running into the following problem.
After completing Step 2: Create the New Portal, when I try to Hot
Deploy
the
application, I get the following error.
Hot deploy failed with the following message:
Unable to add module: NewPortalWebApp to application descriptor for:
portalApp.
The log has the following information..
Adding file:
C:\bea\user_projects\myNewdomain\beaApps\portalApp-project\application-sync\
portlets\Portlet1.portlet to sync list.
Adding file:
C:\bea\user_projects\myNewdomain\beaApps\portalApp-project\application-sync\
webapps\PortalWebApp\tools.wf to sync list.
Adding file:
C:\bea\user_projects\myNewdomain\beaApps\portalApp-project\application-sync\
webapps\PortalWebApp\webflow-extensions.wfx to sync list.
Adding file:
C:\bea\user_projects\myNewdomain\beaApps\portalApp-project\application-sync\
webapps\PortalWebApp\user_account.wf to sync list.
Adding file:
C:\bea\user_projects\myNewdomain\beaApps\portalApp-project\application-sync\
webapps\PortalWebApp\portal.wf to sync list.
Adding file:
C:\bea\user_projects\myNewdomain\beaApps\portalApp-project\application-sync\
webapps\PortalWebApp\security.wf to sync list.
Adding file:
C:\bea\user_projects\myNewdomain\beaApps\portalApp-project\application-sync\
webapps\PortalWebApp\NewPortal.portal to sync list.
Attempting sync...
Sync complete.
Searching for portalApp application descriptor...
Found it.
Error - please check log for details.
<!--
Copyright (c) 2000 Sun Microsystems, Inc.,
901 San Antonio Road,
Palo Alto, California 94303, U.S.A.
All rights reserved.
Sun Microsystems, Inc. has intellectual property rights relating to
technology embodied in the product that is described in this document.
In particular, and without limitation, these intellectual property
rights may include one or more of the U.S. patents listed at
http://www.sun.com/patents and one or more additional patents or
pending patent applications in the U.S. and in other countries.
This document and the product to which it pertains are distributed
under licenses restricting their use, copying, distribution, and
decompilation. This document may be reproduced and distributed but
may
not be changed without prior written authorization of Sun and its
licensors, if any.
Third-party software, including font technology, is copyrighted and
licensed from Sun suppliers.
Sun, Sun Microsystems, the Sun logo, Java, JavaServer Pages, Java
Naming and Directory Interface, JDBC, JDK, JavaMail and and
Enterprise JavaBeans are trademarks or registered trademarks of Sun
Microsystems, Inc. in the U.S. and other countries.
Federal Acquisitions: Commercial Software - Government Users Subjectto
Standard License Terms and Conditions.
DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED
CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED
WARRANTY OF MERCHANTABILITY, FITNESS FOR FOR A PARTICULAR PURPOSE OR
NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH
DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
Copyright (c) 2000 Sun Microsystems, Inc.,
901 San Antonio Road,
Palo Alto, California 94303, E'tats-Unis.
Tous droits re'serve's.
Sun Microsystems, Inc. a les droits de proprie'te' intellectuels
relatants a` la technologie incorpore'e dans le produit qui est
de'crit
dans ce document. En particulier, et sans la limitation, ces droits de
proprie'te' intellectuels peuvent inclure un ou plus des brevets
ame'ricains e'nume're's a` http://www.sun.com/patents et un ou les
brevets plus supple'mentaires ou les applications de brevet en attente
dans les E'tats-Unis et dans les autres pays.
Ce produit ou document est prote'ge' par un copyright et distribue'
avec des licences qui en restreignent l'utilisation, la copie, la
distribution, et la de'compilation. Ce documention associe n peut
e^tre reproduite et distribuer, par quelque moyen que ce soit, sans
l'autorisation pre'alable et e'crite de Sun et de ses bailleurs de
licence, le cas e'che'ant.
Le logiciel de'tenu par des tiers, et qui comprend la technologie
relative aux polices de caracte`res, est prote'ge' par un copyright et
licencie' par des fournisseurs de Sun.
Sun, Sun Microsystems, le logo Sun, Java, JavaServer Pages, Java
Naming and Directory Interface, JDBC, JDK, JavaMail et and
Enterprise JavaBeans sont des marques de fabrique ou des marques
de'pose'es de Sun Microsystems, Inc. aux E'tats-Unis et dans d'autres
pays.
LA DOCUMENTATION EST FOURNIE "EN L'E'TAT" ET TOUTES AUTRES CONDITIONS,
DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT
EXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS
NOTAMMENT TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A
L'APTITUDE A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE
CONTREFAC,ON.
-->
<!--
This is the XML DTD for the J2EE 1.3 application deployment
descriptor. All J2EE 1.3 application deployment descriptors
must include a DOCTYPE of the following form:
<!DOCTYPE application PUBLIC
"-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
"http://java.sun.com/dtd/application_1_3.dtd">
-->
<!--
The following conventions apply to all J2EE deployment descriptor
elements unless indicated otherwise.
- In elements that contain PCDATA, leading and trailing whitespace
in the data may be ignored.
- In elements whose value is an "enumerated type", the value is
case sensitive.
- In elements that specify a pathname to a file within the same
JAR file, relative filenames (i.e., those not starting with "/")
are considered relative to the root of the JAR file's namespace.
Absolute filenames (i.e., those starting with "/") also specify
names in the root of the JAR file's namespace. In general, relative
names are preferred. The exception is .war files where absolute
names are preferred for consistency with the servlet API.
-->
<!--
The application element is the root element of a J2EE application
deployment descriptor.
-->
<!ELEMENT application (icon?, display-name, description?, module+,
security-role*)>
<!--
The alt-dd element specifies an optional URI to the post-assembly
version of the deployment descriptor file for a particular J2EEmodule.
The URI must specify the full pathname of the deployment descriptor
file relative to the application's root directory. If alt-dd is not
specified, the deployer must read the deployment descriptor from the
default location and file name required by the respective component
specification.
Used in: module
-->
<!ELEMENT alt-dd (#PCDATA)>
<!--
The connector element specifies the URI of a resource adapter archive
file, relative to the top level of the application package.
Used in: module
-->
<!ELEMENT connector (#PCDATA)>
<!--
The context-root element specifies the context root of a web
application.
Used in: web
-->
<!ELEMENT context-root (#PCDATA)>
<!--
The description element is used to provide text describing the parent
element. The description element should include any information that
the application ear file producer wants to provide to the consumer of
the application ear file (i.e., to the Deployer). Typically, the tools
used by the application ear file consumer will display the description
when processing the parent element that contains the description.
Used in: application, security-role
-->
<!ELEMENT description (#PCDATA)>
<!--
The display-name element contains a short name that is intended to be
displayed by tools. The display name need not be unique.
Used in: application
Example:
<display-name>Employee Self Service</display-name>
-->
<!ELEMENT display-name (#PCDATA)>
<!--
The ejb element specifies the URI of an ejb-jar, relative to the top
level of the application package.
Used in: module
-->
<!ELEMENT ejb (#PCDATA)>
<!--
The icon element contains small-icon and large-icon elements that
specify the file names for small and a large GIF or JPEG icon images
used to represent the parent element in a GUI tool.
Used in: application
-->
<!ELEMENT icon (small-icon?, large-icon?)>
<!--
The java element specifies the URI of a java application clientmodule,
relative to the top level of the application package.
Used in: module
-->
<!ELEMENT java (#PCDATA)>
<!--
The large-icon element contains the name of a file
containing a large (32 x 32) icon image. The file
name is a relative path within the application's
ear file.
The image may be either in the JPEG or GIF format.
The icon can be used by tools.
Used in: icon
Example:
<large-icon>employee-service-icon32x32.jpg</large-icon>
-->
<!ELEMENT large-icon (#PCDATA)>
<!--
The module element represents a single J2EE module and contains a
connector, ejb, java, or web element, which indicates the module type
and contains a path to the module file, and an optional alt-ddelement,
which specifies an optional URI to the post-assembly version of the
deployment descriptor.
The application deployment descriptor must have one module element for
each J2EE module in the application package.
Used in: application
-->
<!ELEMENT module ((connector | ejb | java | web), alt-dd?)>
<!--
The role-name element contains the name of a security role.
The name must conform to the lexical rules for an NMTOKEN.
Used in: security-role
-->
<!ELEMENT role-name (#PCDATA)>
<!--
The security-role element contains the definition of a security
role. The definition consists of an optional description of the
security role, and the security role name.
Used in: application
Example:
<security-role>
<description>
This role includes all employees who are authorized
to access the employee service application.
</description>
<role-name>employee</role-name>
</security-role>
-->
<!ELEMENT security-role (description?, role-name)>
<!--
The small-icon element contains the name of a file
containing a small (16 x 16) icon image. The file
name is a relative path within the application's
ear file.
The image may be either in the JPEG or GIF format.
The icon can be used by tools.
Used in: icon
Example:
<small-icon>employee-service-icon16x16.jpg</small-icon>
-->
<!ELEMENT small-icon (#PCDATA)>
<!--
The web element contains the web-uri and context-root of a web
application module.
Used in: module
-->
<!ELEMENT web (web-uri, context-root)>
<!--
The web-uri element specifies the URI of a web application file,
relative to the top level of the application package.
Used in: web
-->
<!ELEMENT web-uri (#PCDATA)>
<!--
The ID mechanism is to allow tools that produce additional deployment
information (i.e., information beyond the standard deployment
descriptor information) to store the non-standard information in a
separate file, and easily refer from these tool-specific files to the
information in the standard deployment descriptor.
Tools are not allowed to add the non-standard information into the
standard deployment descriptor.
-->
<!ATTLIST alt-dd id ID #IMPLIED>
<!ATTLIST application id ID #IMPLIED>
<!ATTLIST connector id ID #IMPLIED>
<!ATTLIST context-root id ID #IMPLIED>
<!ATTLIST description id ID #IMPLIED>
<!ATTLIST display-name id ID #IMPLIED>
<!ATTLIST ejb id ID #IMPLIED>
<!ATTLIST icon id ID #IMPLIED>
<!ATTLIST java id ID #IMPLIED>
<!ATTLIST large-icon id ID #IMPLIED>
<!ATTLIST module id ID #IMPLIED>
<!ATTLIST role-name id ID #IMPLIED>
<!ATTLIST security-role id ID #IMPLIED>
<!ATTLIST small-icon id ID #IMPLIED>
<!ATTLIST web id ID #IMPLIED>
<!ATTLIST web-uri id ID #IMPLIED> -
Oracle Database Express Edition 2 Day Plus Java Developer Guide??
I posted in the JDeveloper forum, as well as sending email via your feedback link found on the tutorial but I am a little disappointed by this:
The Oracle® Database Express Edition 2 Day Plus Java Developer Guide has some errors in it.
in Windows, I simply chose, start
-> programs -> Oracle Database Express Edition -> Go To Database Home Page -> click documentation from the link -> and run the Oracle® Database Express Edition 2 Day Plus Java Developer Guide tutorial.
the problem is there are mistake(s) in the tutorial, for example: section 4-19 is this:
"The complete code for the method should now be as follows:
public boolean authenticateUser(String userid, String password,
HttpSession session) throws SQLException { "
it needs to be this:
public boolean authenticateUser(String jdbcURL, String userid, String password,
HttpSession session) throws SQLException {
Also:
there is no mention that :
the port and SID must also be passed in the
ds.setURL(jdbcUrl) found in the authenticateUser() method, or an exception is thrown. This differs from value of the jdbcUrl string found in the getDBConnection() , which makes it hard to figure out
The tutorial is great even if it doesn't work out of the box, but I am disappointed that errata or completed code for this project is not available, especially when you explicitely point to it via the steps mentioned above.
Thanks,
PatrickThe tutorial seems to be using the old JDeveloper 10.1.2.
If you are aiming to learn JDeveloper then just use the tutorials linked from the JDeveloper home page.
http://www.oracle.com/technology/obe/obe1013jdev/index.htm -
File Upload Example in ADF Development Guide
I tried to upload a file using ADF as described in Development Guide. I have taken a <af:inputFile> component as described.
<af:inputFile label="#{res['srfileupload.uploadlabel']}"
valueChangeListener="#{backing_SRFileUpload.fileUploaded}"
binding="#{backing_SRFileUpload.srInputFile}"
columns="40"/>
[Page 620]
Now, what is the type of that variable "srInputFile" in the backing bean?
Is there any full written code for this ADF Development Guide example? Where from can I download that?All the needed code is on page 617 of the ADF Dev Guide 10.1.3
http://download.oracle.com/docs/pdf/B25947_01.pdf
It is also located in the SRDemo ADF Tutorial support files
http://download.oracle.com/otndocs/products/jdev/10131/ADF_tutorial_setup.zip -
2 Day Plus Application Express Developer Guide - error?
Good day !
In "Oracle Database Express Edition 2 Day Plus Application Express Developer Guide" chapter 8 "How to Upload and Download Files in an Application" at the topic "Store the Document in a Custom Table" ( page 8-10, 8-11) is recommended:
6. Under Source, replace the process with the following:
IF ( :P1_FILE_NAME is not null ) THEN
INSERT INTO file_subjects(id,NAME, SUBJECT, BLOB_CONTENT, MIME_TYPE)
SELECT ID,:P1_FILE_NAME,:P1_SUBJECT,blob_content,mime_type
FROM HTMLDB_APPLICATION_FILES WHERE name = :P1_FILE_NAME;
WHERE name = :P1_FILE_NAME;
DELETE from HTMLDB_APPLICATION_FILES WHERE name = :P1_FILE_NAME;
END IF;
7. Scroll up to the top of the page and click Apply Changes.
After this I receive Error Message:
ORA-06550: line 6, column 1: PLS-00103: Encountered the symbol "WHERE" when expecting one of the following: begin case declare else elsif end exit for goto if loop mod null pragma raise return select update while with << close current delete fetch lock insert open rollback savepoint set sql execute commit forall merge pipe
Now I can't find mistake. Please, help me ( if difficulties not so big )
WinniReplace by:IF ( :P1_FILE_NAME is not null ) THEN
INSERT INTO file_subjects(id,NAME, SUBJECT, BLOB_CONTENT, MIME_TYPE)
SELECT ID,:P1_FILE_NAME,:P1_SUBJECT,blob_content,mime_type
FROM HTMLDB_APPLICATION_FILES WHERE name = :P1_FILE_NAME;
DELETE from HTMLDB_APPLICATION_FILES WHERE name = :P1_FILE_NAME;
END IF;The second WHERE clause is superfluous.
Regards, Marc -
ORA-01403: no data found when calling a web service from HTMLDB
I am working through Section 6 How to Implement a Web Service of the HTML DB 2 Day Developer tutorial. I can get the first example to work but not the second one. I am able to add the web reference and create the form and report. However, when I run the page and click submit, I get ORA-01403: no data found.
When I test the service, this is what shows in the Message Request:
<?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Header><namesp1:Header xmlns:namesp1="http://www.xignite.com/services/"><namesp1:Username xsi:type="xsd:string"></namesp1:Username><namesp1:Password xsi:type="xsd:string"></namesp1:Password><namesp1:Tracer xsi:type="xsd:string"></namesp1:Tracer></namesp1:Header></SOAP-ENV:Header><SOAP-ENV:Body><namesp1:ListFuturesByExchange xmlns:namesp1="http://www.xignite.com/services/"><namesp1:Exchange xsi:type="xsd:string">NYMEX</namesp1:Exchange></namesp1:ListFuturesByExchange></SOAP-ENV:Body></SOAP-ENV:Envelope>
Nothing shows in the Message Response.
I have also tried to call a simple web service that I created in .NET. It exhibits the same behavior. I am able to add the reference and create the form. But when I click the submit button, I get ORA-01403: no data found.
Windows 2000
HTMLDB 2.0.0.00.49
Oracle9i 9.2.0.6.0
Any help will be greatly appreciated.I'm having a similar problem!, Although, distressing as it is to observe the lack of response this thread has had for 9 months, I'm still seeking help here!
I created a web service reference according to the following WSDL : "http://OgAppExpress:[email protected]:5555/invoke/OgAdminUtils.pub:WSDL_HLR" (operation name="getSubscriberInfoByMSISDN") and a form on that web service, all of which went very nicely. But! When I ran the form, inserted the value ("3546933599") into the parameter and pressed submit.... => "ORA-01403: no data found"
The debug action displays very limited information and sheds no light on the problem :( Multiple attempts, on recreating the project from scratch, have resulted in the same utter failure! Needless to say, this nulls the affect of my Prozac proscription....
Is there anybody out there who can help me and defend APEX's reputation? -
BLOBs Oauth2 in New RESTful svcs developer guide
Hi, All,
In case you are not aware, there is a new RESTful Services Developer Guide -- but it is in the download for the Listener 2.0.2!! Not sure it is posted also on the Apex 4.x documentation. It should be. It has a nice walk-through for creating an "Image Gallery Application" along with the RESTful services required to upload and download images--but it would have been much better if done differently (see comment below). I am needing to adapt this to just download images from an existing BLOB object. It also has a demo walk-through of OAuth2.0, however, I wish they would do a better job of explaining where the 'https://server:port/i/oauthdemo/gallery.html' comes from or is created.
My problem with the documentation is that it is a 'tutorial' but really should be broken down so that the user has a better UNDERSTANDING for the whole process. Why do an application that does a POST and GET at the same time. The tutorial idea is great, but break it down to 2 separate parts so you understand the PUT part for those who are needing to upload images and do a separate part for the GET for those like me who just needed to see how to do a GET with a header parameter ID and render the BLOB image.
The OAuth2.0 example has a similar issue but in this case it is too tied to the example tutorial and there is no explanation of where the "Redirect URI" 'https://server:port/i/oauthdemo/gallery.html' comes from. (maybe I am missing something?)
If anyone has success with these demos and applying them beyond the specific tutorial please share!!
PatThe alter move table with the LOB storeage clause will rebuild the table and the LOB segment storing the LOB column data inor out of line as specified in the command. Rebuilding the table is the only way to move the existing inline data to being out of line.
HTH -- Mark D Powell --
Edited by: Mark D Powell on Aug 31, 2011 8:24 AM -
Status of ADF BC / JSF Version of Developer Guide?
Can anyone provide an update on when this will be available (Developer guide based on ADF BC and JSF vs. Toplink)? I'm EAGERLY awaiting - this will be very helpful.
I was able to download the SRDemo app based on ADF BC / JSF - this is very helpful to see some real code examples. For example, I read topics related to programming View Objects and Application Modules, but viewing the actual code examples for how to call these methods was invaluable. Any other sources for ADF BC / JSF Technology scope code examples greatly appreciated.
ThanksHi,
I think this information is what you can already get from the SRDemoBc application. I remember from an internal training i delivered that the login is performed by a ViewObject that is acting as the root VO for all application VO. In addition, to store global values, a VO is created that doesn't use queries.
Note that I am not really a suppoter of applications that handle the login logic in itself. Its good for demos, but in praxis they should use either JAAS or J2EE authentication to fit into an overall enterprise security strategy.
Frank -
Resource Management and Solaris Zones Developer Guide
Solaris Information Products ("Pubs") is creating a
developer guide for resource management and Solaris Zones.
The department is seeking input on content from application
developers and ISVs.
We plan to discuss the different categories of applications
that can take advantage of Solaris resource management
features, and provide implementation examples that discuss
the particular RM features that can be used.
Although running in a zone poses no differences to most
applications, we will describe any possible limitations and
offer appropriate workarounds. We will also provide
information needed by the ISV, such as determining
the appropriate system calls to use in a non-global zone.
We plan to use case studies to document the zones material.
We would like to know the sorts of topics that you would
like to see covered. We want to be sure that we address
your specific development concerns with regard to these
features.
Thank you for your comments and suggestions.Hi there, i'm using solaris resource management in a
server with more thant 2thousand acounts.
Created profiles for users, defaul, staff, root and
services.Seeing the contents of your /etc/project file could be helpful.
But while using rctladm to enable syslog'ing, I set up
global flags of "deny" and "no-local-action" in almos
everything.The flags on the right hand side of the rctladm(1M) output are read-only:
they are telling you the characteristics of the resource control in question (what
operations the system will allow the resource control to take).
Now, many aplications don't work because they are
denied enough process.max-stack-size and
process.max-file-descriptor for them to work.
Applications such has prstat.If prstat(1) is failing due to the process.max-file-descriptor control value, that's
probably a bug. prstat(1) is more likely bumping into the limit to assess how many file
descriptors are available, and then carrying on--you're just seeing a log message since
prstat(1) tested the file descriptor limit, and you've enabled syslog for that control. Please
post the prstat(1) output, and we'll figure out if something's breaking.
I don't find a way to disable the global flags. You can't. I would disable the syslog action on the process.max-stack-size control first;
there is an outstanding bug on this control, in that it will report a false triggering event--
no actual effect to the process. (If you send me some mail, I will add you as a call record
on the bug.)
Can anyone tell me:
how to disable global flags?
how to disable and enable solaris resource management
all together?You could raise all of the control values, but the resource control facility (like the resource
limit facility it superseded) is always active. Let's figure out if you're hitting the bug I mentioned,
and then figure out how to proceed.
- Stephen
Stephen Hahn, PhD Solaris Kernel Development, Sun Microsystems
[email protected] -
2 Day Developer DrillDown confusion
This problem is the same as adam.coles brought up in the post on June 9th, but hasn't gotten any response.
I am doing the 2 day developer course that can be found on the following page (on the right under "Getting Started"
http://www.oracle.com/technology/products/database/htmldb/index.html
In the course there is a "How to Create a Drill Down Report" on page 3-5
under "Customizing the DEMO_ORDER_ITEMS Report" (which seems odd since the report uses the DEMO_ORDER_ITEMS table but is named ORDER_ITEMS)
Anyway, there is a task of "Add a Condition" which says to select "ORDER_ID [DEMO_ORDER_ITEMS]" but there is no columns to select from let alone this particular one.
I'm wondering what must be present to have columns listed in "query conditions" in the "Query Definition" for a particular region?
Basically; am I missing something or is something missing from the course?
I'm certainly not the first to have this problem.Hi Everyone,
I did essentially what dccase did. When I selected columns for the Order Item page, I added the necessary Product_ID columns and joined them. Then I went to the Report Attributes and turned off the check box in the "Show" column for the two product ID columns. The resulting report looked correct.
However, this isn't quite right. The excercise shows the table as the instructions meant, with all the "wrong" information because the original query intentionally lacked a join.
The goal of the exercise was to have the Order selected on Page 1 filter (by adding the condition that uses the hidden field) the items shown on Page 2.
Since one can not create the necessary condition (because there are no columns listed in the column selection field of the Condition page), I was wondering if anyone has actually implemented this desired functionality. How can one use a link from one page to drive a condition on another page?
Thanks,
Peter
PS
The information on this page: Missing Condition Columns seems to talk directly to the condition describe here. Unfortunately, while it is acknowledged that it may be a bug, no fix is mentioned.
Message was edited by:
Petie -
Detailed report from a past day at M Series
Hello All,
Anybody have any idea how to generate a report specific about System Capacity. I need for example to generate a report from one of my C series that of supposed to be responsible for delivery delays and to prove the it was not it I need a system capacity report from one day of last week (14/08), but the default MSeries reports I don't allow to generate it hour by hour from a past day.
Best regards,
KhalilHi Khalil,
If you have got complains about delays, you might better be checking the maillogs.
Ask your complaining users about examples (who send the mesage, @what time to whom) and check the logfiles for possible problems.
1) Logon to the Ironport command line
2) grep for the senders local part on the mail log that was active in the specified period
3) When you found the delayed message, note the MID and use that as input for the "findevent" command.
The info provided by Findevent will show you all related loglines, including the time the event was logged. This should clear up everything.
Another way of working:
Get a grip on the E-mail header of the delayed message. The recipient should normally be able to retrieve that when you guide him/her. The header shows a line for each mail relay the message has passed on it’s way to the recipient, including the current time on that device.
good luck! -
Calling stored procedure from Forms 6.0(developer)
Friends,
Thanks for your replies. I am really grateful for your help for my last query. But I still have one hitch. How do I call from Developer 2000 Forms 6.0 a stored procedure which I made in Oracle 8i ?
nullThis is an example from Forms on-line help "Invoking a stored program" topic:
DECLARE
ld DATE;
ln NUMBER;
lv VARCHAR2(30);
BEGIN
** Calling Database Procedure/Function
database_procedure_name(ld,ln,lv);
ld := database_function_name(ln,lv);
END;
Helena -
Can someone help me? I'm very new to HTMLDB and basically to Oracle. I need to create a simple package (which I know how to do) and call it from HTMLDB (which I DON'T know how to do). Essentially, I'd like to have a user select an item from a drop-down, and pass the value of what's been selected to a function in a package. The function would hopefully be able to return some values to create a tree, then.
I'd really REALLY appreciate any help and especially simple examples...
Thanks!
SteveSteve,
See: Calling a stored plsql procedure
or: execute stored procedure in html_db
Sergio
Maybe you are looking for
-
Problem while assigning Servlet to Execute queue
Hi, We implement a IMS S-CSCF on BEA container 2.2. A call for us may be several times reentrant. Meaning that for one call we have to handle at least three different dialogs but in major use cases, it will be 6 or 7 for our next deployment. We are c
-
Dear Sapgurus, I post one invoice through fb60, based on the payment terms system will shows open item value,when i am going to payment in f-53 i given posting date, company code and bank g/l account , amount value , choose vendor and select open ite
-
What are the Transaction codes available for Trail balance in SAP or how can we do the customisation. Format Should be like... GL Account Description Debit Amount Credit Amount Opening Balance Closing Balance
-
First off, I have only had the iPhone for a few weeks and I think it is the best phone I have ever seen. My primary concern is the yearly new iPhone release Apple puts out. If you are going to make a new iPhone yearly, I think Apple should allow thei
-
Beeing kicked out from remote desktop to a Windows 2008 R2 server
My server have 2 users, the Administrator and a user "sigma". When I use the user "sigma" with remote desktop I always get kicked out from the server after a couple of minutes. This does not happend with the user Administrator. I tried to set the RDP