ORA-02263 when creating Report on Web Service Result

Hi,
I'm using Application Express 4.2.1.00.08 and I'm having problems creating a report on web service result.
This is the tutorial I'm using: http://docs.oracle.com/cd/E14373_01/appdev.32/e13363/web_serv.htm (yes, I realize it's intended primarily for APEX 3.2).
I am able to create the web service, but when creating a report on web service result, I get the following error in the last step:
ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.
I have tried creating a report on the same web service result on apex.oracle.com (Application Express 4.2.1.00.08) and I don't get the error, and I am able to create the report.
The same thing happens with another web service, so I'm puzzled.
What could be the problem?
Thank you.

I wasn't able to solve the original problem, but I was able to recreate the process manually, using APEX_WEB_SERVICE.PARSE_RESPONSE function, documented here:http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_web_service.htm#autoId10
Thanks again for your help!

Similar Messages

  • Getting the Error when creating the WSD(Web Service Defination)

    Hello,
    When I tried to create the WSD(Web Service Defination) through the Wizard or function module I am getting the error "Error during activation" and again it is giving the error "internal error ACTIVATE in WEBSERVICE Wizard;".
    What will be the probable cause of this error.
    Is I have to change some configuration
    Please Suggest.
    Thanks
    Vineet

    I have the same problem - error returned is
    Error during activation
    Message no. WS_TOOL085
    but no further information is provided
    But the Virtual Interface in the package does activate with no problem - so this is WSD specific!
    Some help would be appreciated...

  • Crystal Reports 2008 fails when called from e Web Service under 64bit OS

    I have discovered that Crystal Reports 2008 doesn't work when called from a Web Service running under 64bit Windows platforms (in my case Windows 2003 Server and Windows XP 64bit); practically no object is instantiated. I've tried several solutions without success.
    Before creating a wrapper component to use under COM+, is there anybody who has a better and cheaper solution than creating another component to wrap CR 2008 ?

    Hi Sergio,
    Before I mark this post as assumed answered I would just like to say and re-iterate that at this time there is no one answer and we fully understand your concerns. As you know in CR 6.0 it came in 16 and 32 bit versions because at the time 32 bit was relatively new but 16 bit was the norm. This is also true for 32 to 64 bit, 32 is the norm and 64 bit is relatively new. We know and are well aware 64 bit is the future and we are working as quickly as we can to move in that direction. Because of the complexity of the Product it's not simply a matter of re-compiling all of our dll's in 64 bit format. The core of our data connectivity with our database drivers which are dependant on third party clients must also need to support 64 bit modes. This as well as Printer drivers also need to be 64 compatable, there are a multitude of dependencies that we rely on that must add 64 bit support. As a programmer you are well aware of the issues around Thunking back and forth between 32 to 64 bits, it can cause delays and potentially loss of data which is a whole other issue. Not to mention also that we would have to ship both versions potentially doubling the size of the distribution packages or doubling the size of the dll's to have the ability to work in both modes. Relatively speaking of course, it would not be double the size but the variables would need to be able to allocate 32 or 64 memory blocks.
    The other option is to produce 2 separate versions, this alone is a massive project. Any issue would need to be fixed in separate code streams.
    So I'm sure you can see it's not simply a matter of saying yes we support 64 bit. It's a massive project that is going to take time to do and we have to wait for the third party drivers to commit also.
    Visual Studio .NET 2005 and 2008 is the only option if you want true 64 bit but you will be limited on what DB's you can support and export formats you can export to. They are the only drivers we did convert to 64 bit.
    Thank you for your understanding
    Don

  • Bug in APEX 4.0.2 when parsing web service results?

    Receiving ORA-19010: Cannot insert XML fragments error in APEX 4.0.2 when trying to create and run a "Form and Report on Web Service" on any Oracle SES 11.1.2 web service operation
    Steps to recreate this error:
    SES
    - Install Oracle SES 11.1.2
    - Create a file source against a directory containing files and then crawl
    - Verify via the built-in SES gui that you can search and retrieve results
    APEX
    - Install APEX 4.0.2
    - Create a new database application from scratch
    - Create a new web service reference:
    shared components ->
    web service references ->
    create ->
    based on wsdl ->
    UDDI search: no ->
    http://[sesip:port]/search/query/OracleSearch?wsdl ->
    create reference
    (That creates a web service to Oracle SES with the default name of OracleSearchService)
    - Test the new web service:
    shared components->
    web service references ->
    test ->
    getAllAttributes (or whatever you want to test) ->
    test ->
    You will see a valid & correct raw XML request and response
    - Create a new web service search form/results using the apex wizard in the following manner:
    create page ->
    form ->
    form and report on web service ->
    next ->
    web reference type: generated from wsdl ->
    next ->
    web service reference: OracleSearchService. Operation: getAllAttributes (....BUT YOU CAN PICK ANY OPERATION - THEY ALL WILL FAIL. See http://download.oracle.com/docs/cd/E14507_01/apirefs.1112/e14433/oracle/search/query/webservice/client/OracleSearchService.html for documentation for all the SES web service operations).
    next ->
    next ->
    result tree to report on: Attributes (or whatever appropriate for the operation you chose) ->
    next ->
    select all columns to display ->
    finish
    - Now run the page, entering nothing or "en" for locale (or whatever is appropriate for the operation you chose) and then Submit
    - No matter what operation is chosen, no matter what parameters are entered, always receive "ORA-19010: Cannot insert XML fragments" error!
    PS - We can (and have) created and used APEX 3.1.2.00.02 against SES 10.1.8.3.0's web services without issue.

    Damir,
    I've tried to replicate this on apex.oracle.com, and could not. I sent a JPG file to my Yahoo account using the name 'Report (2011.05.01).jpg', and didn't encounter any issues. The name of the file received on Yahoo was still 'Report (2011.05.01).jpg'.
    I reviewed the code in APEX_MAIL. There isn't anything in there that would modify the filename as you suggest.
    Is there a chance it's being changed in your SMTP server / relay?
    Joel

  • Jdeveloper 11g R2 problem when publishing PL\SQL Web Service

    Hi Guys,
    I have been banging my head against the wall for the past few days trying to publish pl\sql package as a web service on a weblogic 10.3 but I keep running into the same problem.
    PL\SQL Package Source below
    create type dept_type as object
    (deptno NUMBER,
    dname VARCHAR2(50),
    loc varchar2(13),
    cr_date date)
    create type dept_list_table is table of dept_type
    purge recyclebin;
    create or replace package ws_package as
    procedure test_dept_table (pout out dept_list_table);
    end ws_package;
    show errors;
    create or replace package body ws_package as
    procedure test_dept_table (pout out dept_list_table) is
    all_depts dept_list_table := dept_list_table();
    dRecType dept_type;
    i number := 0;
    begin
    -- iterate through all depts
    for r_list in (select * from dept) loop
    i := i + 1;
    dRecType := dept_type(null, null, null, null);
    dRecType.deptno := r_list.deptno;
    dRecType.dname := r_list.dname;
    dRecType.loc := r_list.loc_id;
    dRecType.cr_date := sysdate;
    pout.extend;
    pout(i) := dRecType;
    end loop;
    end test_dept_table;
    end ws_package;
    show errors;
    I go and create PL\SQL Web Service using default settings in Jdeveloper 11g R2 but when I try and test this page I get the following response:
    Failed to invoke end component servqa.MyWebService1User (POJO), operation=testDeptTable -> Failed to invoke method -> java.sql.SQLException: ORA-06550: line 1, column 13: PLS-00306: wrong number or types of arguments in call to 'TEST_DEPT_TABLE' ORA-06550: line 1, column 7: PL/SQL: Statement ignored
    Anyone have any idea what the problem may be? Your help would be much appreceated!
    Bojan

    Hi Frank,
    I think the problem is in any procedure that has a COMPLEX TYPE as OUT parameter. So even if you strip down the procedure to just do nothing I still get the error as described in my top post. Passing complex parameters as IN parameter work fine its only when I have procedure with complex out when it errors. I also tried function that returns object parameter and that works fine too so not sure why this doesnt?
    create or replace package body ws_package as
    procedure test_dept_table (pout out dept_list_table) is
    begin
    -- iterate through all depts
    for r_list in (select * from dept) loop
    i := i + 1;
    end loop;
    end test_dept_table;
    end ws_package;
    Not sure if I am meant to do anything extra before I generate Web Service using JDeveloper if my procedure has got PL\SQL types as OUT parameters but as far as I know JDeveloper should do all the type conversions for you??
    Thanks
    Bojan

  • SQL 2012 R2 - SSRS with the Report Server Web Service URL, can't access

    Hello:
    I am installing Dynamics CRM 2013.  When I am on RS Configuration manager; I am running into the SSRS (SQL 2012 on Server 2012)SQL issue, can't access the
    http://servername/:80/ReportsServer or
    http://servername/:Reports web pages
    The database server has SSRS native mode installed, it is using a domain account for the service credentials.  This account also has permission to log on a service in the GPO
    Account is a domain admin and is a local administrator
    SQL server is 2012 R2 on Windows Server 2012.  User base is less than 60 people and they have SharePoint 13 on the same SQL server.  Server more than enough resources.
    Any assistance would be appreciated.
    Thanks..Dan

    Hi DCas1,
    According to your description, you could not access
    http://servername/:80/ReportsServer or http://servername/:Reports web pages from Reporting Services configuration manager, SSRS in configured in native mode and the account you used is a local administrator.
    In Reporting Services, URLs are used to access the Report Server Web service and Report Manager. Before we can use either application, we need to configure at least one URL each for the Web service and Report Manager. If we are using the Reporting Services
    Configuration tool to create or modify the URLs, we can accept the default values for a URL or specify custom values. When we create a report server URL, we must specify the following parts: Host name, port and Virtual directory. In order to improve the efficiency
    of troubleshooting, I need to ask several questions:
    Since the default URL is http://<computername>/reportserver, did you type the URLs manually? or the URLs configured in Reporting Services configuration manager are
    http://servername/:80/ReportServer and
    http://servername/:Reports?
    Could you provide detailed information of error log(default location: %programfiles%\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\LogFiles)?
    For more information about Configuring a URL, please refer to the following documents:
    http://msdn.microsoft.com/en-us/library/ms159261(v=sql.110).aspx
    http://msdn.microsoft.com/en-us/library/bb630447(v=sql.110).aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • Apex 4.1 Form and Report on Web Service Report displays nothing

    Hello I created and tested a webservice using the test feature in Apex 4.1.
    I know the results is a string of 1 row.
    I created a Form and Report on Web Service. When I run the form there is nothing displayed in the Reports section its just blank.
    If I run the sql from the results region I get no data found.
    Is the problem the returned data is not stored in the collection?
    Edited by: Oracle Primavera on Oct 26, 2011 3:32 PM

    What would be the reason for the following.
    Testing the webservice in apex returns values.
    However when I run Form and Report on Web Service Report if I query the collection it is always empty?
    Does anyone have any experience on this issue? Is it a bug? Please some hints I have been trying for two weeks without success.

  • Report on web service

    APEX 4.0.2
    Created a RESTful web service with input and output parameters. Created a report region on the web service. It generates a SQL report with the following query
    select extractValue(value(t),'/*/op1') "op1"
         , extractValue(value(t),'/*/op2') "op2"
    from wwv_flow_collections c,
          table(xmlsequence(extract(c.xmltype001,'/path/to/output'))) t
    where c.collection_name = 'OUTPUT'1. How/when is the web service invoked to populate the collection?
    2. How are the input parameter(s) passed to the web service?
    Thanks

    Hello Vikas,
    >> I thought that's exactly what the wizard was supposed to do
    You are correct. The question is whether you used the correct wizard.
    As I understand it, before you are able to generate a report on your Web Services you need to define them. First you need to create a RESTful Web Service Reference - http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/advnc_web_services.htm#CHDDIHEA . Then you should go to the Forms wizard (and not the Report wizard, as I suspect you did) and choose the option of Create Form and Report on Web Service - http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/advnc_web_services.htm#BABDDBIB . This wizard allows you to take care of the necessary input items, and also to name the collection to be used for the results ( Temporary Result Set Name ).
    I’m no expert on Web Services. I only tried it once, long time ago, so from here on you're on your own :) .
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • Displaying Web Service Results in a Report

    have a web service registered with APEX (GET_DAY_OF_THE_WEEK).
    It tests fine from the Web Service References Panel.
    I am trying to follow the steps in the Oracle Database Application Express
    User's Guide [Release 2.2 Part Number B28550-01] under the Displaying Web
    Service Results in a Report topic.
    When I get to step 6 = "For Result Tree to Report On, select the portion of the
    resulting XML document that contains the information you want to include in the
    report." ... THERE IS NO PLACE TO -->"...select the portion of the resulting
    XML document that contains the information you want to include in the report".
    Is this a bug? Is there a workaround?
    Steve

    Hi,
    I'm having a similar problem - I have a work_date column and I want to use a date picker to select tasks performed between 2 dates.
    For example, on Page 3 I have a username,client_name and task fields. I have 2 date pickers, one for start date and one for end date, and a submit button.
    I want to be able to select '01-AUG-10' from the start_date, then '31-AUG-10' from the end_date, then redirect to a page (Page 41) when I click the button to run this:
    select username,client_name,task,work_date
    from replicon where
    username = :P3_USERNAME and
    work_date between to_date(:P3_START_DATE,'DD-MON-RR') and
    to_date(:P3_END_DATE,'DD-MON-RR')
    order by work_date
    but I'm getting this error:
    ORA-01858: a non-numeric character was found where a numeric was expected
    The date format is "DD-MON-RR', and the work_date column is a "DATE" data type.
    The button items are "P3_USERNAME","P3_START_DATE" and "P3_END_DATE" with the same values (&P3_USERNAME etc), and the button redirects to page 41.
    I can't see how I can pass the username, start_date and end_date from Page 3 to Page 41. Am I using the correct ITEMS, or is it the query?
    Help appreciated.

  • Creating PL/SQL web services from PL/SQL records

    Hello
    Jdeveloper does not allow to create web services from pl/sql packages that use PL/SQL records.to do this,we have to use the jpublisher ?without using the jpublisher,if we create a webservice then the following error is displayed in the web service xml output file.
    <faultstring>Internal Server Error (Caught exception while handling request: java.rmi.RemoteException: java.sql.SQLException: ORA-06550: line 1, column 49: PLS-00181: unsupported preprocessor directive '$WS_SP_EVEN' )</faultstring>
    </env:Fault>
    Could any one suggest me, how to solve the above issue..?
    Regards
    Malathi

    Thank you, with db adapter it was working and also
    pl/sql web-services working successfully with object types.If we want to send the web-services to the client, do we need to send the entire folder that is created in the web-services folder of the external oc4j..?
    Creating the client process:
    we are using the wsdl file that is generated in the web-services and adding to the partner link to Invoke the operations of web-services. Is there any other way to invoke the webservices?Could any one please suggest me?
    Thanking you
    Malathi

  • Creating PL/SQL web services from object types

    Hello
    Jdeveloper, pl/sql web-services working successfully with object types.If we want to send the web-services to the client, do we need to send the entire folder that is created in the web-services folder of the external oc4j..?
    Creating the client process:
    we are using the wsdl file that is generated in the web-services and adding to the partner link to Invoke the operations of web-services. Is there any other way to invoke the webservices?Could any one please suggest me?
    Thanking you
    Malathi

    Hello
    Accessing the pl/sql webservices from the application server:
    I have created pl/sql webservice using the nested tables. This will insert the object data into database tables.after deplying the webservice into external oc4j, when I test the webservice locally with url: http://localmachine:8888/PL_SQL_WS-Nest_Obj_Webservice-context-root/ObjWebserviceSoapHttpPort
    The above web-services working and I am able to insert into the database tables.
    Same when I want to access through the application server, I have changed the wsdl file soap address as
    <soap:address location="http://10.91.20.7:8888/PL_SQL_WS-Nest_Obj_Webservice-context-root/ObjWebserviceSoapHttpPort"/>
    When I access this url, I am able to give the input data
    http://10.91.20.7:8888/PL_SQL_WS-Nest_Obj_Webservice-context-root/ObjWebserviceSoapHttpPort
    but the out from the web-service is:
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <faultcode>env:Server</faultcode>
    <faultstring>Error creating target: DBConnImpMftest.ObjWebserviceUser</faultstring>
    <faultactor/>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    Err from the OC4j log:<PAYLOAD>
    <MSG_TEXT>An error occurred for port: {http://dbconnimpmftest/Nested_Webserv.wsdl}Nested_WebservSoapHttpPort: javax.xml.rpc.JAXRPCException: Error creating target: dbconnimpmftest.Nested_WebservUser.</MSG_TEXT>
    </PAYLOAD>
    Could any one help me to solve the above issue?
    Kind regards
    Malathi

  • Export with crystal reports as web service

    In order to create 3 tier architecture for security enhancments, I am using crystal feature to publish report as web service. As far displaying these reports on viewer is concerned, I have got that part working by setting the datasource to asmx and then using the viewer to set the parameters and logon information.
    However currently I also have export button on the UI which basically used the ReportDocument and wrote the excel to Http stream. And this is the part where I am now struggling with crystal as web service as it does not expose ReportDocument. I have scanned all forums and have been googling for a while but reaching nowhere.
    Please help if someone has already dealt with similar problem.
    Thank you.

    I don't think you will be able to do this from the button. Reason is that the web service only works with the viewer and there is are no exposed export API associated with the viewer. The only export APIs are based off of the report document object.
    Ludek
    Follow us on Twitter
    http://twitter.com/SAPCRNetSup

  • GenericServiceFactory initialization problem when trying to load Web servic

    Hi,
    I am making a Guided procedure that calls a webservice. I have created a new Destination Template and was able to load the webservice definition successfully, but when I test the callable object I created for that same webservice y get the error:
    GenericServiceFactory initialization problem when trying to load Web service model for WSDL.
    Somehow I think there is something wrong with the user authentication. The Destination template has a user and password but somehow I think the callable object test is not using this information at all.
    Can anyone help ?
    Thanks in advance

    Hi Hans,
    Have you verified if you can call any external web service calls from your J2EE engine?  Go into the SOA Management / Global settings (if you are on CE - if you're on 7.0 it's in manage WS desintations).
    Look at your proxy settings and set them like your web browser that enables external calls.  For example, in the SAP network I set my global proxy settings on my local J2EE engine to be:
    Proxy host:  proxy
    Proxy port: 8080
    Exclude list:  *.sap.corp
    Does that make sense - have you verified if your settings are correct for your company?
    Regards
    Ginger

  • Create an SAP Web Service Consumer (calling External Sharepoint Web Service from ABAP)

    hi all,
    i am trying to
    Create an SAP Web Service Consumer (calling sharepoint Web Service from ABAP) using blog given on following link
    Create an SAP Web Service Consumer (calling External Web Service from ABAP) 
    but when i am using my url at the end of step 3, i am getting error as follows:
    i dont want to use local file option. Can anyone help me in this??
    thanks in advance
    regards,
    SDS

    Hi SDS,
    you recieved a http 404 error when trying to access the Sharepoint Web service. Http 404 indicates that the resource is not reachable (cf. HTTP 404 - Wikipedia, the free encyclopedia). There could be different reasons for that. I'd suggest rubble checking the URL of the Web service first. Try to access it from a browser on you desktop. If the URL is correc. Most likely the SAP system is not able to connect to the URL. This could, for example, be due to some firewall restrictions. You should ask a SAP Basis colleague if they are able to access the URL of the Web service from the server on which the SAP system is running.
    Christian

  • Creating and consuming web service

    Hello Everyone,
    Please help me in creating a webservice which can be consumed in a button in Excel sheet i.e. I have to create a button in Excel sheet and on click of that button i have to consume a web service deployed in AS. Also I have to pass the data in Excel sheet to that web service.
    PS: This is just a business logic no other view or UI is required here.
    Thanks in advance.
    Regards
    Pranav

    Hi Pranav
    >2. I know I can download WSDL files from server using the test page. Downloaded zip file has these three wsdl files Config1_document.wsdl, Config1_TestVi_document.wsdl and main.wsdl. But which wsdl to use while consuming.
    Actually all the .wsdl files are part of single WSDL document which describes your Web service. Starting/root point here is main.wsdl which references two other .wsdl. You can access any time the root WSDL part by URL like
    "http://<host>:<port>/BcfRemoteCheck/Config1?wsdl&style=document&mode=standard".
    Hope you know where to see the WSDL URL (in Webservice Navigator or in Single Service Administration where you downloaded the ZIP).
    When you are consuming web-service you need all the parts. Usually when a Web-service is consumed the remote WSDL is used for generation of WS Client Proxy. But, the WSDL files can be also downloaded and used locally for generation of the WS Client Proxy.
    Sometimes the WSDL is not necessary at all for WS consuming on run-time. In the case it's used only on design-time just to know WS names, ports, operations, etc, for writing the code of WS Client.
    BR, Sergei

Maybe you are looking for

  • J2ee Web application exploded format in oracle 10g

    Hi, I am trying to develop a simple j2ee application in Exploded Format in oracle 10g AS. i have created a new OC4J instance called TestOC4j for this. A .war file works fine in this instance. I have placed the application under applications directory

  • Buying music from the iTunes store with Apple TV.

    Since changing to the new Apple TV I can't find a way to purchase Music directly from the iTunes store. I can rent and buy Movies, so IO'm sure there must be a way but I can't seem to work it out.

  • Since upgrading to Maverick Ical wont sync on ipad and iphone 4

    iCal (7.0) wont sync with iPad (7.1) or iPhone (7.1) since upgrading to Maverick (10.9.2). I noticed iTunes (11.1.5) no longer has the 'info' tab I used to go to for settings. How do I sync my Mac, iPad and iPhone with iCal and Address book?

  • Captivate 4 and SWF Previews

    Hi! Does anyone know if you are able to preview SWF's in Captivate 4? We lost that functionality when the latest version of Flash was introduced and I was wondering if the preview ability had been restored in Captivate 4. Thanks! Gary

  • How add EMPST for Credit memo with segment E1EDP01_IDOC

    Hi experts, Do you have any ideas for add data in EMPST for segment E1EDP01 (receiving point, in Shipping view) for credit memo ? I can add this data for standard order but not for credit memo.. My segment E1EDP01 (exemple of WE19) : If i try to crea