Can't Export/Archive Web Services for Migration

We have several web services that I'd like to copy from one
server to another. I tried creating a ColdFusion Archive but the
web services that I selected are not included in the CAR file. Is
this a known issue?
Is there any other way to migrate web services from one
server to another? Are the entries stored in an XML file?
Thanks for any help,
Glenn

Bill:
Welcome to the Apple Discussions. Try the following:download and run BatChmod on the iPhoto Library folder with the settings shown here, putting your administrator login name, long or short, in the owner and group sections. You can either type in the path to the folder or just drag the folder into that field. See if this will help.
Next, log into another account or boot into Safe Mode and see if you can export to a web page. If so then there's something amiss with your account. If not, then a reinstall of iPhoto seems appropriate.
Do you Twango?
TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

Similar Messages

  • JDev: Generating Web Services for Streaming Attachments

    Hi,
    I am a newbie in this field. I am trying to generate web service code using JDev (10.1.3.3). I have an interface class and the implementation class. When I am trying to generate J2EE Web Service for the implementation class, I am getting the following error:
    "The selected class doesn't contain any public method publishable in a web service".
    Following is my code:
    Interface:
    package testing;
    import oracle.webservices.attachments.Attachments;
    public interface ImageStore extends java.rmi.Remote {
    public void storeImage (String name, String desc, Attachments attachments) throws java.rmi.RemoteException;
    Impl:
    package testing;
    import java.io.InputStream;
    import javax.activation.DataHandler;
    import oracle.webservices.attachments.Attachment;
    import oracle.webservices.attachments.Attachments;
    import oracle.webservices.attachments.IncomingAttachments;
    public class ImageStoreImpl {
    public static String storeImage(String name, String desc, Attachments attachments) throws Exception {
    IncomingAttachments incomingAtts = attachments.getIncomingAttachments();
    if (incomingAtts == null || !incomingAtts.hasNextAttachment())
    throw new Exception("Expected request attachments");
    Attachment imageAtt = incomingAtts.nextAttachment();
    String id = imageAtt.getId();
    DataHandler dataHandler = imageAtt.getDataHandler();
    InputStream imageStream = dataHandler.getInputStream();
    //-- Store image metadata and stream image bytes
    if (incomingAtts.hasNextAttachment())
    throw new Exception("Expected only one attachment");
    return "success";
    Can someone please let me know how can I generate the web service for this code using JDev.
    Thanks,
    J

    Hi J,
    Why is the concrete class not implementing the ImageStore interface? Anyways, I believe the ImageStoreImpl#storeImage method cannot be static if you want to generate a WS.
    Furthermore, you should consider posting your question in the JDev 10G (JDeveloper and ADF forum as this one is for 11G.
    Olivier

  • JDev: Generating Web Services for Streaming Attachment

    Hi,
    I am a newbie in this field. I am trying to generate web service code using JDev (10.1.3.3). I have an interface class and the implementation class. When I am trying to generate J2EE Web Service for the implementation class, I am getting the following error:
    "The selected class doesn't contain any public method publishable in a web service".
    Following is my code:
    Interface:
    package testing;
    import oracle.webservices.attachments.Attachments;
    public interface ImageStore extends java.rmi.Remote {
    public void storeImage (String name, String desc, Attachments attachments) throws java.rmi.RemoteException;
    Impl:
    package testing;
    import java.io.InputStream;
    import javax.activation.DataHandler;
    import oracle.webservices.attachments.Attachment;
    import oracle.webservices.attachments.Attachments;
    import oracle.webservices.attachments.IncomingAttachments;
    public class ImageStoreImpl {
    public static String storeImage(String name, String desc, Attachments attachments) throws Exception {
    IncomingAttachments incomingAtts = attachments.getIncomingAttachments();
    if (incomingAtts == null || !incomingAtts.hasNextAttachment())
    throw new Exception("Expected request attachments");
    Attachment imageAtt = incomingAtts.nextAttachment();
    String id = imageAtt.getId();
    DataHandler dataHandler = imageAtt.getDataHandler();
    InputStream imageStream = dataHandler.getInputStream();
    //-- Store image metadata and stream image bytes
    if (incomingAtts.hasNextAttachment())
    throw new Exception("Expected only one attachment");
    return "success";
    Can someone please let me know how can I generate the web service for this code using JDev.
    Thanks,
    J

    Can anyone please help me -- I am really stuck.
    Thanks,
    J

  • Can't enable web services for groups (wiki) in WGM

    I'm having trouble creating a wiki on my server. More specifically, in WGM, I cannot enable web services for a group. The pull-down menu is accessible, but the only option is "(None)."
    I have users and groups set up in OD (they are not local).
    I have a working default web page.
    I have web services enabled in Server Admin.
    I can create and access user blogs.
    My user and group folders are on a raid drive instead of the main drive - I'm wondering at this point if there's a problem with a folder name or permissions. WGM just doesn't seem to recognize that there's a site on my server.

    OK - wikid is failing to start.
    2/5/09 1:36:17 PM com.apple.wikid[37723] Removing stale pidfile /var/run/wikid.pid
    2/5/09 1:36:17 PM com.apple.launchd[1] (com.apple.wikid[37723]) Exited with exit code: 1
    2/5/09 1:36:17 PM com.apple.launchd[1] (com.apple.wikid) Throttling respawn: Will start in 9 seconds
    From the wikid error log:
    2009-02-05 13:36:17-0600 [-] Log opened.
    2009-02-05 13:36:17-0600 [-] twistd 2.5.0 (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/ Contents/MacOS/Python 2.5.1) starting up
    2009-02-05 13:36:17-0600 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
    2009-02-05 13:36:17-0600 [-] twisted.web.server.Site starting on 8086
    2009-02-05 13:36:17-0600 [-] Starting factory <twisted.web.server.Site instance at 0x2eb19e0>
    2009-02-05 13:36:17-0600 [-] twisted.web2.channel.http.HTTPFactory starting on 8087
    2009-02-05 13:36:17-0600 [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0x2eb1648>
    2009-02-05 13:36:17-0600 [-] set uid/gid 94/94
    2009-02-05 13:36:17-0600 [-] Traceback (most recent call last):
    2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/bin/twistd", line 21, in <module>
    2009-02-05 13:36:17-0600 [-] run()
    2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 27, in run
    2009-02-05 13:36:17-0600 [-] app.run(runApp, ServerOptions)
    2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 379, in run
    2009-02-05 13:36:17-0600 [-] runApp(config)
    2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 23, in runApp
    2009-02-05 13:36:17-0600 [-] _SomeApplicationRunner(config).run()
    2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 158, in run
    2009-02-05 13:36:17-0600 [-] self.postApplication()
    2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/scripts/twistdunix.py", line 213, in postApplication
    2009-02-05 13:36:17-0600 [-] startApplication(self.config, self.application)
    2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/scripts/twistdunix.py", line 183, in startApplication
    2009-02-05 13:36:17-0600 [-] app.startApplication(application, not config['no_save'])
    2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 400, in startApplication
    2009-02-05 13:36:17-0600 [-] service.IService(application).startService()
    2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/application/service.py", line 233, in startService
    2009-02-05 13:36:17-0600 [-] service.startService()
    2009-02-05 13:36:17-0600 [-] File "/usr/share/wikid/lib/python/apple_utilities/service.py", line 62, in startService
    2009-02-05 13:36:17-0600 [-] SettingsManager.globalSettings.rebuildIndex())
    2009-02-05 13:36:17-0600 [-] File "/usr/share/wikid/lib/python/apple_utilities/SearchManager.py", line 424, in buildAllIndexes
    2009-02-05 13:36:17-0600 [-] buildSearchIndex(aPath, doRebuild)
    2009-02-05 13:36:17-0600 [-] File "/usr/share/wikid/lib/python/apple_utilities/SearchManager.py", line 406, in buildSearchIndex
    2009-02-05 13:36:17-0600 [-] GroupSqliteIndex.buildSearchIndex(whichPath, forceRebuild)
    2009-02-05 13:36:17-0600 [-] File "/usr/share/wikid/lib/python/apple_utilities/GroupSqliteIndex.py", line 551, in buildSearchIndex
    2009-02-05 13:36:17-0600 [-] con = sqlite.connect(indexDBPath, isolation_level=None)
    2009-02-05 13:36:17-0600 [-] sqlite3.OperationalError: unable to open database file
    I would like to fix this without reinstalling. If there's a way to restore this specific database file or any part of the wiki, I would prefer to do that. Does anyone have an idea what files I should check/restore?

  • Can't create web service for other servers

    I am trying to create EJB web service for JBoss 4.0 but getting error in "build-impl.xml " file on the following line
    "<taskdef name="wscompile" classname="com.sun.xml.rpc.tools.ant.Wscompile">"
    Is there any way to create an web service for another servers.
    OR
    Is there any way to configure "wscompile" tool to generate the web service for other servers
    It would be of greate help if any-body responds
    thanks in advance
    parag

    Hi,
    The following article
    http://developers.sun.com/prodtech/javatools/jsenterprise/reference/docs/jse7/jse7_jboss_plugin.html
    describes how to configure the JSE IDE to develop and deploy a J2EE application on a JBoss Application Server by using the JBoss plug-in.
    Hope this helps.
    Radhika

  • Can not set up Web Service datastore using HTTPS WSDL DS 4.1

    I have been trying to configure a Web services data store to connect to an HTTPS Wsdl file
    Here is some background.
    DS Version: 14.1.1.210
    Job Server Windows 2008
    if i configure the datastore and leave the field for Keystore path empty, i get the following error:
    Error loading [https://stgbbaaviation.taleo.net/enterprise/soap?ServiceName=CorporateRecruitmentSourceService&wsdl]:
    org.apache.xmlbeans.XmlException: java.io.IOException: Server returned HTTP response code: 401 for URL: https://stgbbaaviation.taleo.net/enterprise/soap?ServiceName=CorporateRecruitmentSourceService&wsdl
    If i put the path C:\Program Files (x86)\SAP BusinessObjects\Data Services\ssl\mds\DSJavaKeyStore.keystore for the keystone path,
    I get the following different error:
    An error ocurred while importing metadata: WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at 'https://stgbbaaviation.taleo.net/enterprise/soap?ServiceName=CandidateService&wsdl':javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building faild: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target (BODI-1111469) (BODI-1112446)
    I have recreated the DSJavaKeyStore.keystore and added in additional certificates but nothing seems to work.
    As a workaround i saved the wsdl file down to the local machine (I'm currently running designer on the job server machine)
    i can then save the web service datastore and import the wsdl function.  but at runtime I get the following error:
    There is no response for the web service <getMessageByIdentifier>. Ensure that the network, web server, and service are running
    properly. Also ensure that the service client call time out is set properly.
    I have edited the
    C:\Program Files (x86)\SAP BusinessObjects\Data Services\ext\webservice-c\axis2.xml file as follows for the sections that are listed in the documentation:
        <transportReceiver name="https" class="axis2_http_receiver">
            <parameter name="port" locked="false">6060</parameter>
            <parameter name="exposeHeaders" locked="true">false</parameter>
        </transportReceiver>
    <!-- Uncomment the following with appropriate parameters to enable the SSL transport sender.
             Also make sure that the appropriate transport receiver is enabled above.-->
        <transportSender name="https" class="axis2_http_sender">
            <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
            <parameter name="xml-declaration" insert="false"/>
        </transportSender>
        <parameter name="SERVER_CERT">C:\Program Files (x86)\SAP BusinessObjects\Data Services\ssl\server\DS_server_cert.crt</parameter>
        <parameter name="KEY_FILE">C:\Program Files (x86)\SAP BusinessObjects\Data Services\ssl\server\DS_server_privatekey.pem</parameter>
        <parameter name="SSL_PASSPHRASE">C:\Program Files (x86)\SAP BusinessObjects\Data Services\ssl\server\DS_server_privatekey_password.txt</parameter>
    I'm not sure what i'm doing wrong.  Not much detail in the documentation on what to enter for the Keystore path in the Datastore config.
    also it is unclear if i don't have the correct certifications added to the keystore.
    Please help

    Hi Prashant,
    Please refer the below KBA related to BODI-1111469 issue in SAP Data Services 4.1 Support Pack 1 Patch 1 (Version 14.1.1.284).
    ADAPT01664699
    An importing operation from a WSDL that has a recursive import of a schema would fail with the error:  "An error occurred while importing metadata: Unknown JNI error... (BODI-1111469)”. This issue has been fixed in this release.
    1804623 - Release Notes for SAP BusinessObjects Data Services 4.1 Support Pack 1 Patch 1 (Version 14.1.1.284)
    https://service.sap.com/sap/support/notes/1804623
    Thanks,
    Daya

  • Test web service for a function module

    Hello,
    I have created web service for a functiona module. I can see the same service in SE80 in Enterprise Services.
    How do I test this service?
    I can see the URL in WSDL tab but when I try to execute it give me following error,
    What has happened?
    URL http://emhbssap15.domain.local:8027/sap/bc/srt/wsdl/sdef_service_name/wsdl11/ws_policy/document call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system BDV with error code 403 and for the reason Forbidden.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:EMHBSSAP15_BDV_27-v:0-s:403-r:Forbidden
    HTTP 403 - Forbidden
    Your SAP Internet Communication Framework Team
    The URL I am trying is
    http://emhbssap15.domainname:8027/sap/bc/srt/wsdl/sdef_servicename/wsdl11/ws_policy/document?sap-client=400
    Can anyone help me?
    Regards,,,
    Sunil Joyous
    Edited by: Sunil Joyous on Dec 2, 2009 1:52 PM

    Thanks Venu for your input.
    Unfortunetly we do not have Java stack on our development system. You said we can test it by SOAP UI tool. Where do I see the WSDL file for the service?
    I used WSDL from SE80 --> Service --> WSDL tab, but SOAP UI does not accept this format ?
    What are the other ways I can test this web service? I think about SAP PI, importing RFC & creating web service or creating ABAP proxies... Which is the best way to go forward in case you do not have Java stck.
    Regards,,,
    Sunil Joyous

  • Can't setup ePrint / Web Services on a new HP 8600 Pro Plus Wireless Printer

    I just purchased a new HP Officejet Pro 8600 Plus All in one printer. I setup the printer on my home wireless network and it prints great. I am now trying to setup ePrint and when I go through the option to setup the Web Services /ePrint function on the Printer or via the web application for the printer I get the following error:
    "Cannot connect to the server.
    Check the Internet connection and try again. Or contact your system administrator or the person who set up the printer. If your network requires a proxy server address to connect to Internet, click Enter Proxy or check your browser settings."
    My primary PC is running Windows 7 Home Premium with Svc Pac 1, 64 bit
    My home network is set for DHCP and I do not have a Proxy Server setup but the Web Services setup page is asking for a Proxy Server an Port.
    I have already established a ePrint ID but cannot complete the process until I can get the Printer Web Services setup process to complete.
    Any suggestions?
    This question was solved.
    View Solution.

    HI Adrianf; 
    Hope you are doing well,welcome to the community,  
    I wil take several steps to make sure they are not causing the issue, 
     Try this tool Click here
    I will also set an static ipaddress for my printer and change the DNS servers provided by your ISP to Google DNS servers 
    How to set an static IP address 
    Follow these steps to assign an unchanging static IP address to the product through the Embedded Web Server (EWS).
    Open a new Web browser window.
    Type the IP address located on the Network Configuration Page in the address bar of the Web browser, using http:// to begin the address e.g. http://192.168.0.1  Then press Enter .  The EWS home page for the product opens.
    In the EWS screen, click the Network tab.
    Click Wired (802.3) , and then click the IPv4 Configuration or the IPv6 Configuration tab.
    Click Manual IP . The Manual IP Address box opens.
    In the Manual IP Address box, type an IP address with the same values in the first three sets of digits (subnet values) as the product's IP address (listed on the Network Configuration Page), and a higher value (between 1 and 254) in the fourth set of digits. This creates a static IP address on the same subnet, but outside the Dynamic Host Configuration Protocol (DHCP) range.
    For example, if the product's original IP address is 192.168.0.1 , assign the static IP address to 192.168.0.200 .
    NOTE:
    Do not type the static IP address use as the example. Enter a static IP address based on the IP address for your product. This can be found on network configuration page.
    Enter the Subnet Mask and the Default Gateway settings as they appear on the Network Configuration Page.
    Click OK to save the new settings, and then click Exit or close the browser to exit the EWS.
    While you are here in the IPV4  you can set the DNS servers of google instead of the DNS servers provided by your ISP  just change the option of automaticly select DNS server and use this;
    DNS servers of google are 8.8.8.8 and alternative DNS 8.8.4.4
    Make sure that the operating system is updated, that the routers firware is the lastest. 
    Hope it helps and best of luck; 
    RobertoR
    You can say THANKS by clicking the KUDOS STAR. If my suggestion resolves your issue Mark as a "SOLUTION" this way others can benefit Thanks in Advance!

  • Standard web services for Goods receipt and purchase order

    Hi,
    Can you please tell me the std web services for creating the Purchase order and Goods receipt?
    Is there a link where i can get the information on this implementation?
    Thanks
    Srini

    Hi,
    Please reffer ES workplace.
    [Order to Cash|http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=9B0DDD8CCC484FA79EBBBA7F78B57DA7]
    Thanks
    Farooq

  • Issue in creating web service for a ABAP Function Module

    Hi,
    now i'm learning how to create web service for a ABAP Function Module. I used the following steps.
    1. select the Function Module, named "zws_test".
    2. in the context menu, select "create->proxy object". so we enter into wizard.
    3. in the wizard, press the radio button "Service Provider".
    4. in the next page, press the radio button "Existing ABAP Objects(Inside Out)".
    5. In the next page, Enter the "zws_test_prvider" as Service Definition and select "Function Module" as Endpoint Type.
    6. in the next page, enter "zws_test" as Function Module and mark the "Mapping der Namen" button
    7. in the next page,select "PRF_DT_IF_SEC_LOW" as Profile and mark "Deploy Service".
    8. Save in the local package.
    9. then it will pop up a window with title "WSDL Source". i selected "URL/HTTP Destination" and press "OK".
    10.in the next page, i enter the URL as "http://hostname:portnumber/", and press "OK".
    11. then it will pop up a window with title "Display logs". A record with error message "HTTP error(return code 404, message "Not found")" appears.
    12. i press "ok" and a service provider with name "zws_test_prvider" appears in my local package.
    13. i use "zws_test_prvider"'s URL to create a service consumer "ZCO_WS_TEST_CONSUMER" and logic portal "LP1".
    14. But when i test my service consumer "ZCO_WS_TEST_CONSUMER", it will throw an exception "cx_ai_system_fault" with errortext "SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/".
    15. I use t-code SM59 to test connection  and get the following info.
          Status HTTP Response     200
          Status Text                      OK
          Duration Test Call             328 ms.
    who can give me the reasons about item 11 and 14, and explain me how to create service provider and service consumer for a Function Module.
    Thanks in advance
    Johnney

    have you seen this weblog
    /people/thomas.jung3/blog/2004/11/15/bsp-150-a-developer146s-journal-part-xiii-developing-abap-webservices

  • How can I invoke the web service manually in websphere?

    Hi
    I've developed a webservice application using Rational Application Developer (RAD). I deployed it in a websphere 6.1 application server, using the administration console to import the war file that I had previously exported with RAD.
    My webservice application is listed in the "Enterprise Applications" section of websphere's administration console as started.
    My question is: how can I invoke the web service manually? Is there some kind of websphere generated webpage that I can use to call it manually?
    I tried http://<server:port>/<contextroot> and http://<server:port>/<contextroot>/<servicename> in a webbrowser, but it doesn't work. Is it possible to invoke the web service manually, or do I need to develop a client?
    Thanks in advance
    Pedro

    Hi Bo Wang,
        Go to the Portal -> System Administration -> System Configuration
                               -> Portal Content folder
                               -> Open Visual Composer folder
        There you can see the Webservice Systems you have created through VC.
    You can delete the unwanted system here.
    Regards,
    Shemim

  • How can i use the web services

    i have a web service ,but what is need that can i use the web services?
    is only then oc4j,or anything?

    You need to write a client that will access the Web service and invoke it.
    You can write the client in Java for example - and JDeveloper provides wizards for this.
    There is a sample in the JDeveloper Reviewer guide here:
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/reviewer/reviewerguide.html

  • Create a Web Service for Exchange with form based authentication ?

    I want to create a Web Service in Apex that can create appointments in my exchange calendar. Exchange is offering web services for that.
    When i try to create the web service reference in Apex i provide the URL and my Exchange login, but it is failing.
    The exchange guys told me, that there is a ISA Server running where i need to authenticate through a form.
    Does anyone know, how i can implement a webservice in Apex, when the access to the wsdl url needs login through a form ?
    Or : what other types of authentication does Apex know ? What possibilities do i have ?
    Thanks for answers.
    Bernd

    Hi
    Presume you've already found this information, but in case not ....
    Exchange 2007 provides out of the box web services, see
    http://msdn.microsoft.com/en-us/library/bb408417.aspx
    As a disclaimer - neither myself of the team I work with have tried to use these web services within APEX.
    Regards
    Chris

  • Creating Web service for PL/SQL Procedure with Complex Data Types

    I need to created web service for PL/SQL Procedure with Complex Data types like table of records as parameters, how do we map the pl/sql table type parameters with web service, how to go about these?

    Hello,
    When you are creating a service from a Stored Procedure, the OracleAS WS tools will create necessary Java and PL wrapper code to handle the complex types (table of record) properly and make them compatible with XML format for SOAP messages.
    So what you should do is to use JDeveloper or WSA command line, to create a service from your store procedure and you will see that most of the work will be done for you.
    You can find more information in the:
    - Developing Web Services that Expose Database Resources
    chapter of the Web Service Developer's guide.
    Regards
    Tugdual Grall

  • Creating RESTful Web Service for BLOB retrieval

    Hi,
    Just got RESTful web services working in Apex 4.2.1 with new Listener 2.1.
    I have now been asked to create a RESTful web service by which photos in BLOB column can be retrieved upon providing the ID for that photo. Can this be done using the Creating RESTful Service Module of Apex 4.2.1? Looking at the Apex 4.2 documentation, I would assume this can be done, but has anyone used this with BLOB data?
    Thanks,
    Pat

    Hi Pat,
    Yes this can be done using RESTful Services - you just need to ensure the query used is in the required format. To obtain a BLOB for a given ID, you would need create a Resource template and handler with the following settings:
    Resource Template Settings:
    URI template: emppic/{id}
    Resource Handler Settings:
    Source query: select mimetype, product_image from demo_product_info where product_id = :id..where the format of the SQL query is SELECT 'content_type', blob_column FROM . . ., as mentioned in Rick Greenwald's Cloud White paper "RESTful Web Services for the Oracle Database Cloud", under the "SQL Source Type" section (see www.oracle.com/technetwork/database/database-cloud/public/restful-wp-1844130.pdf ):
    where 'content_type' is a string passed to the browser to be used to identify the incoming data, and the column to identify the source of the data being sent back. This data is sent back untouched by the Oracle Database Cloud Service. The Media Resource Source Type is typically used for media objects, such as images, where the data will be directly handled by the recipient making the call.The MIMETYPE column in the sample query above holds the necessary setting for the 'content_type' i.e. 'image/jpeg'. The value of ID is then passed in as a parameter when calling the service e.g. emppic/1234. The item level help text would be more helpful if it included additional information, and this is something we intend on addressing in a future release.
    I hope this example helps.
    Regards,
    Hilary

Maybe you are looking for

  • Error (-600) drive with Logic files no longer mounting.

    Greetings fellow sufferers. A brief history pre my latest disaster. PSU and logic board died on me last week after 6 years of constant continuous faithful service. Bought a second hand power mac took out hard drives and RAM and replaced them with min

  • Payment Method for a FREE app declined

    I have had my Ipod Touch since christmas 2011 and yeah i love it and everything but just now when i got to buy a FREE app it says i have to view my billing info then brings me to this page with all my credit card details that i filled in saying my pa

  • Suppress the unit of measure (EA) from appearing on each line of a query.

    Hello and Happy new year. How can you suppress the unit of measure (e.g. EA for a material) from appearing on each line of a query output? Many thanks.

  • How to use CHANGEDOCU functions for audit trail?

    Hi, I have a report screen that requires audit trails on the changes made to the data dic fields on the screen. Which CHANGEDOCU functions should I use for audit trail? And where should I implement the functions? In the 'save' subrountine that I crea

  • Scrollpane to applet size urgent!!!

    Hi, I have 2 issues in my project. 1. I want JScrollPane container in my applet to take the size of applet. 2. I want applet to take the size of browser. Applet might be run on different computers with different resolutions. So, I want the applet to