Custom data service & bindings

Hi,
Let's assume I have two tables A and B.
I want to implement a custom data service method in table A on a row level (ViewRowImpl) which creates a new row in the table B. Right after the row creation I want to open up a dialog and edit the newly created row.
But, instead of editing the newly created row, my dialog opens up with the currently selected row from the jspx page.
I don't know how the inform my binding layer of a newly created row and to setup its currency to the new row.
I understand that I can not access the BindingContext from the custom data service (is this right?) but what would be the right solution?
Thanks,
Kresimir

Thank you Frank,
maybe I misunderstood the ADF model concept.
Namely I try to push the data logic as much as possible into ADF Model (ViewRowImpl or AM) layer and expose it through as custom data service methods to the application. But when doing it this way, I need to access the binding layer in order to propagate the changes from the model layer. So when I create a new row in my data service methods, I want to be able to navigate the ADF binding iterator to exactly that row and not to any other row which is currently selected. The operation like first(), next(), execute() which are defined on the model layer are doing exactly the same thing.
Of course I can write my data operations in the ViewController layer with help of beans and DataControl operation; is this the preferred way how to do it?
Kresimir
(btw. excellent book you wrote)

Similar Messages

  • Customer Data Services Pack - Execution

    Hi
    Right. I am seem to have made progress in installing the pack.
    Now when I map my input address data into the address verification box (orgname->organization,country->country, postcode->postcode) as a test and run it. I get av.accuracycode = -1 and blank for all others, for the entire input data set.
    When I expand the mapping by including address1, address2 fields I get blank for ALL av columns including the av.accuracycode.
    Not sure what I'm doing wrong here.
    Any help appreciated.
    Sarb

    Hi,
    This is the behavior if you do not have EDQ Address Verification (a separate product required for address cleaning) installed, or if you have it installed but not correctly linked into EDQ.
    See the EDQ AV Installation Guide on the OTN site:
    Oracle Enterprise Data Quality Documentation
    Regards,
    Mike

  • Would a BW functional developer be able to support data services?

    Hi gurus,
    Our company cannot justify having a full time data services functional developer to support our existing master data address cleanse / address validation process in data services.   There is light work for customizing data services jobs and occasional support work for address validation issues.   We have a full staff of SAP developers in most areas and are looking to train an existing employee to do two roles.  Not being well versed in what is involved with data services support, can you help with what skill set would be a good complement to also learn data services?  Would it be a BW functional developer? ABAP developer?  Basis?  Master Data functional developer?
    Warm Regards,
    CM

    Hello
    In general, the most effective Data Services developers have a 'proper' development background and understand set theory, relational databases, and SQL.
    You'll also need to find someone with an understanding of data quality theory.
    Michael

  • Developing Web Services with TeleAtlas + custom data.

    A client has some TeleAltas data + own data and would like to develop some Web Services. Initially some WMS and WFS, then Geocoding + Inverse and maybe some routing. I see 2 options:
    1. Try and get the data into the format required by the Oracle OpenLS GeoCoding + Routing Functions.
    2. Design a custom data model and develop all the functions from scratch.
    I'm inclined towards the second option.
    Any feedback will be gratefully received.

    In my experience, the Oracle Spatial Geocoder is very well done, and support for it is excellent.
    I do not know how easy/difficult it will be to convert TA data into a format consumable by the Oracle geocoder.
    I do know that NAVTEQ (the company I work for) ships data out-of-the-box for the Oracle Geocoder and Router (as well as mapping and analysis).
    Dan Abugov

  • Update custom IT0105 subtype via ESS change own data service

    I created a custom communication subtype in infotype 0105.  I would like to add this subtype to the Change Own Data service in ESS, service object name ChangeOwnDataApplication.  This service does not appear to allow for the addition of custom subtyhpes from IT0105.  Function module HRXSS_COD_SAVE_PERSONAL_DATA seems to limit the subtypes allowed from IT0105 to 0005, CELL, 0010, PAGR and 0020

    I Agree to suresh. This service is the most simplest in terms of functionality but has been ruinedbecause of hardcoding done in the function modules used.
    This service uses following RFCs
    HRXSS_COD_DEQUEUE_PERNR
    HRXSS_COD_ENQUEUE_PERNR
    HRXSS_COD_ERROR_HANDLING
    HRXSS_COD_GET_DETAILS
    HRXSS_COD_MODIFY
    HRXSS_COD_READ
    HRXSS_COD_SAVE
    HRXSS_COD_SAVE_PDATA
    HRXSS_COD_SAVE_PERSONAL_DATA
    HRXSS_COD_SAVE_PHOTO        
    In function HRXSS_COD_GET_DETAILS there is following hardcoding..
    LOOP AT wiw_detail_table INTO wa.
        IF wa-fieldname = 'GEBNR' OR wa-fieldname = 'ZIMNR'
           OR wa-fieldname = 'KFZKZ'.
          CONCATENATE p0032_prefix wa-fieldname INTO wa-fieldname.
          APPEND wa TO detail_table.
        ELSEIF wa-fieldname = 'TEL_EXT' OR wa-fieldname = 'TEL_NR'
           OR wa-fieldname = 'EMAIL'.
          CONCATENATE p0105_prefix wa-fieldname INTO wa-fieldname.
          APPEND wa TO detail_table.
        ELSEIF wa-fieldname = 'P0032-GEBNR' OR wa-fieldname = 'P0032-ZIMNR'
               OR wa-fieldname = 'P0032-KFZKZ'
               OR wa-fieldname = 'SYHR_A_P0105_AF_TEL_EXT'
               OR wa-fieldname = 'SYHR_A_P0105_AF_TEL_NR'
               OR wa-fieldname = 'SYHR_A_P0105_AF_EMAIL'
               OR wa-fieldname = 'SYHR_A_P0105_AF_CELL'
               OR wa-fieldname = 'SYHR_A_P0105_AF_FAX'
               OR wa-fieldname = 'SYHR_A_P0105_AF_PAGR'.
          APPEND wa TO detail_table.
        ENDIF.
      ENDLOOP.
    The above doesn't allow the function to read any custom value so if you require to add custom subtypes then you  need to deal with them differently.
    We have taken following approach.
    we made copy of HRXSS_COD_GET_DETAILS  and read the custom subtypes.
    We made sure that these fields are read and displyed on the standard webdynpro service by modifying it usign NWDI.
    For saving the data the standard application calls
    HRXSS_COD_MODIFY 
    HRXSS_COD_SAVE
    If you want to save the custom fields then you need to take following route
    create copy of above function modules and use instances xss_adapter for respective infotypes if you want to update only 105 or 0032 related fields.
    If you have custom fields from infotype 32 and 105 then you may not need to even copy the above function modules.
    All cod based RFC has DETAIL_TABLE as import or export parameter. Insert the respective vaules of custom fields(subtypes) that you get from copy of HRXSS_COD_GET_DETAILS.
    The above will resolve the issue of adding custom fields (0032) and custom subtypes (0105) to change own data service.
    The effort for adding fields is not too high but then unless you understand the details its not simple.
    THERE IS NO WAY THAT THIS FIELDS CAN BE ADDED ON SCREEN BY CONFIG WE COULD IDENTIFY. IF SOMEONE DOES THEN PLEASE SHARE.
    Edited by: Barin Desai on Nov 11, 2009 8:26 PM

  • Any one know how to use "custom" option present under the data access tab in XLS file format of Data Services

    Hi Experts,
            Any one know how to use or what is the purpose of "custom" option present under the data access tab in Excel workbook file format of Data Services
    Thanks in Advance,
    Rajesh.

    Rajesh, what is the Custom Protocol you are trying to use? It should be  something like PSFTP, etc.,
    Cheers
    Ganesh Sampath

  • Custom data types for Web Service services

    Instead of language primitives (int, double) or Strings, is it possible to define custom data types (i.e. classes) for use in a service method argument or as a service return type? For example, if I create a class called MyClass then could I use it as an argument n a service as follows: someServiceMethod( MyClass myClassInstance). A service returning the custom type might look like this: MyClass getTheClassServiceMethod(String someString). Are either of these ideas possible?

    Hi there,
    you can use your own classes as service method argument or return type. But you should not forget to do a type mapping on both the service and client side.
    I can tell you, how I am sending and receiving my own datatype called "FileBean" which is a simple JavaBean with getter() and setter() methods for the properties.
    I'm using axis for deployment and tomcat as the web server, where my service runs on (currently only local but in future this will be remote).
    Service class: "InstallationService.java"
    Bean class: "FileBean.java"
    Client class: "FileSaving.java"
    My deploy.wsdd file has the following entry:
    <beanMapping qname="myNS:FileBean"
      xmlns:myNS="http://packageDelarationBackwards"
      languageSpecificType="java:packageDeclaration.FileBean"/>
    ...The method header in my service:
    public FileBean storeAttachments(FileBean file)The important part of my Client:
    QName qnFileBean = new QName("http://packageDelcarationBackwards", "FileBean");
    call = (Call) service.createCall();
    call.setTargetEndpointAddress( new java.net.URL(endpointURL) );
    call.setOperationName(new QName("InstallationService","storeAttachments"));
    call.setReturnType(qnFileBean);
    call.registerTypeMapping(
                            FileBean.class,
                            qnFileBean,
                            new BeanSerializerFactory(FileBean.class, qnFileBean),
                            new BeanDeserializerFactory(FileBean.class, qnFileBean));
    ....After deploying the service and starting the server I can send my "FileBean", work with it and give it back.
    Hope this helped. If you need more information, just let me know.
    Steffi

  • Custom CAPI service - default value of varchar2 parameter

    I have a Custom CAPI Service function. That function has a varchar2 parameter (argument) and I wish to set a default value NULL for that parameter.
    I set Default=null, and when I generate CAPI package, my function in that package looks like this (notice the quotation marks around null):
    function cs_cjn_prod_cijena
    ( p_nacin_prodaje in varchar2 default 'null'
    return number
    is ...
    And it should look like this:
    function cs_cjn_prod_cijena
    ( p_nacin_prodaje in varchar2 default null
    return number
    is ...
    I tried setting Default Value Type to Literal, Database Function Call, Client Function Call, but it's always the same thing.
    If that parameter was number or date it would generate ok.
    It seems like the bug in "Generate CAPI Definition" Headstart Utility.
    I know that I can make my function's code to treat the string 'null' as a null default value, but I'd like to have a "real" null as a default value.
    Does anybody have a solution for this?
    Thanks!
    Dalibor

    Marcel,
    Thank you for your answer, but it didn't help. I have already tried using Database Function Call. This time I tried deleting the CAPI package from repository before generating it again, like you suggested, but it didn't help.
    I still get: p_nacin_prodaje in varchar2 default 'null'
    Which version of Create CAPI Definition utility do you have?
    My version is: HSU_CAPI, Revision: 6.5.2.0 ("Help/About This Utility" in Headstart Utilities application)
    Thanks again,
    Dalibor

  • Unable to create records in database using PHP Data Service

    Hello, I've been stuck on this for a few days and search up and down for this on the net, no response I've found has worked, so I come to you...
    Here are the steps I've taken, I think it's pretty standard
    1. I have a macbook pro running osx 10.7.3
    2. I installed MAMP all default (I've acually reinstalled this because someone suggested this might fix it)
    3. Thru phpMyAdmin I created a database called my_test
    4. In that database I created a table, this is the export of that table: (I've also tried this with InnoDB which is the default)
    CREATE TABLE `customer` (
      `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
      `name` varchar(50) NOT NULL,
      `email` varchar(150) NOT NULL,
      PRIMARY KEY (`id`),
      UNIQUE KEY `id` (`id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
    5. I created a new Flx Project (Running Flash Builder 4.5.1 Premium)
         Project Name: PHPTest
         Application Type: Desktop (Although I've done the same thing with Web and got the same results)
         >> Next
         Application Server Type: PHP
         Web Root: /Applications/MAMP/htdocs/
         URL Root: http://localhost:8888/
         Clicked 'Validate Configuration' and that worked
         Output Folder: /Applications/MAMP/htdocs/PHPService (default by Flash Builder)
         >> Finished
    6. On the Data/Services tab on the bottom I click 'Connect to Data/Service...'
         Select 'PHP'
         >> Next
         Select 'Click here to generate a sample'
         Select 'Generate from database' radio button
         Username: root
         Password: root (default for MAMP)
         Host name: localhost
         Server port: 8889 (default for MAMP MySQL port, the HTTP port default is 8888 which in both cases seem to work but every video I've seen that uses MAMP on youtube uses 8889)
         Database: my_test
         Click 'Test Connection' (works)
         Table: customer
         Primary Key: id (this field is greyed out and Flash Builder selects 'id' which it figures out from the SQL table)
         >> Click OK
    7. Then if I don't have the Zend Framework folder in my /Applications/MAMP/htdocs/ folder it tells me its going to create that and I say alright. Then Flash Builder says stuff about how this is really only for testing and not production server ready and I say alright.
    8. Then it takes me back to the Form from Step 6 when I get the chance to select 'Click here to generate a sample'
         These fields are now filled with this data automaticly:
         PHP Class: /Applications/MAMP/htdocs/PHPTest/services/CustomerService.php
         Service name: CustomerService
         Service package: services.customerservice
         Data type package: valueObjects
         >> Click Next (shows all the functions that will be now availible)
         >> Click Finished (End of the forms and it opens Dreamweaver to the php file it created CustomerService.php which I have no need to edit so I close that down)
    9. Back in Flash Builder I switch to design view and drag a datagrid onto the big white area in the middle, whatever that is called.
    10. Then below in Data/Services tab on the bottom I click drag the function 'GetAllCustomer' on top of the datagrid.
         I say yes to rebound and click ok and the view of the datagrid is updated with the colums from the 'customer' table in mySQL.
    (Now let me say that when I hit save and compile this, if I actually had records in this table that I insert thru phpMyAdmin, this does show in the datagrid. So for the whole CRUD thing I am able to get the R which is Read)
    11. Now going back to the design view in Flash Builder I will create a form to create records in the table... (I guess this isn't really a step)
    12. In the Data/Service tab on the bottom I select 'createCustomer' function and then there is an icon called 'Generate Form' that looks like a white piece of paper with a gear on the bottom of it.
    13. This opens up a new form and since I don't have a crazy bunch of fields in my table I just click Finished (If you click next you can specify which fields you want to exclude from the form but this time I don't need to)
    14. This actually creates 2 forms if you look at the code, the second just shows the return type from when you click 'CreateCustomer' button on the first form. Because they overlap in design view I drag the form out of the way so you can see the input form, the return form, and the datagrid
    15. Then I save and compile...
    (Also if your actually reading this I didn't remove the id form field, I get the same result either way, but if you do remove the form field in the code/design you also have to update the button function to not deal with the id before it gets sent off to the php page since in this case the MySQL table is set to auto_increment the id, sorry this doesn't make much sence but this little area doesn't matter much either way)
    16. Now fill in whatever data you want for name and email, try differnt numbers in the id field like 0, nothing, 1, 1000 and click 'CreateCustomer'
    (For me nothing happens, no return is put in the return field, no error pops up and the datagrid is not updated with the new record, also going over to phpMyAdmin and checking out the table browse doesn't show any changes either, I know the button is calling the function because if I add a state change in that function it changes, it would seem that the line:
    createCustomerResult.token = customerService.createCustomer(customer2); doesn't do anything)
    So any idea what is wrong here, I'm convenced it's something stupid easy simple I just can't see it.

    In case you need more info, here is a code dump on a mxml project that has this problem:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           xmlns:mx="library://ns.adobe.com/flex/mx"
                           xmlns:customerservice="services.customerservice.*"
                           xmlns:valueObjects="valueObjects.*"
                           currentState="State1">
        <fx:Script>
            <![CDATA[
                import mx.controls.Alert;
                import mx.events.FlexEvent;
                protected function dataGrid_creationCompleteHandler(event:FlexEvent):void
                    getAllCustomerResult.token = customerService.getAllCustomer();
                protected function button_clickHandler(event:MouseEvent):void
                    var customer2:Customer = new Customer();
                    customer2.id = parseInt(idTextInput.text);
                    customer2.name = nameTextInput.text;
                    customer2.email = emailTextInput.text;
                    currentState = "Test";
                    createCustomerResult.token = customerService.createCustomer(customer2);
            ]]>
        </fx:Script>
        <s:states>
            <s:State name="State1"/>
            <s:State name="Test"/>
        </s:states>
        <fx:Declarations>
            <s:CallResponder id="getAllCustomerResult"/>
            <customerservice:CustomerService id="customerService"
                                             fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)"
                                             showBusyCursor="true"/>
            <valueObjects:Customer id="customer"/>
            <s:CallResponder id="createCustomerResult"/>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <s:DataGrid id="dataGrid" includeIn="State1" x="330" y="10" width="392"
                    creationComplete="dataGrid_creationCompleteHandler(event)" requestedRowCount="4">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="id" headerText="id"></s:GridColumn>
                    <s:GridColumn dataField="name" headerText="name"></s:GridColumn>
                    <s:GridColumn dataField="email" headerText="email"></s:GridColumn>
                </s:ArrayList>
            </s:columns>
            <s:typicalItem>
                <fx:Object id="id1" email="email1" name="name1"></fx:Object>
            </s:typicalItem>
            <s:AsyncListView list="{getAllCustomerResult.lastResult}"/>
        </s:DataGrid>
        <s:Form includeIn="State1" defaultButton="{button}">
            <s:FormItem label="Id">
                <s:TextInput id="idTextInput" text="{customer.id}"/>
            </s:FormItem>
            <s:FormItem label="Name">
                <s:TextInput id="nameTextInput" text="{customer.name}"/>
            </s:FormItem>
            <s:FormItem label="Email">
                <s:TextInput id="emailTextInput" text="{customer.email}"/>
            </s:FormItem>
            <s:Button id="button" label="CreateCustomer" click="button_clickHandler(event)"/>
        </s:Form>
        <s:Form includeIn="State1" x="0" y="204">
            <s:FormItem label="CreateCustomer">
                <s:TextInput id="createCustomerTextInput" text="{createCustomerResult.lastResult as int}"/>
            </s:FormItem>
        </s:Form>
    </s:WindowedApplication>

  • Open letter to Verizon Wireless Management and Customer No-Services

    After more than 10 years as a customer of Verizon Wireless, I have recently encountered several situations that have caused me to begin the process of changing my service provider to another company. Verizon has "zero" loyalty or appreciation of its existing customers; they have poor, and in one particular case, rude customer no-service representatives and policies.
    I purchased a new smart phone for my college daughter. Of course, activation of this new phone required the purchase of a data plan, even though she doesn't need or intend to use data services. (That's fine; I was aware of  this cost even though I believe it to be over-priced). In addition, they also required a $30 fee for signing a new contract. Seriously? Are you kidding me? A fee for the "privilege" of signing a contract with the big, powerful, arrogant Verizon? I don't want a contract in the first place; it is Verizon that wants the contract. They should pay me for signing a contract. I could understand a fee for a new account setup (not really, but it makes a little sense) but a fee for an existing multi-line, long-time customer where the paperwork is nothing more than a mere mouse click of  the "I Agree" button?
    So, the daughter gets her new phone with 24 months of data (for the low, low price of 25 months.... yea right). We take her old phone, which she has had for several years, and decide to use it on another of the lines in our family plan because it has a qwerty keyboard. Now, I learn that I have to sign up for a data plan to use this old phone on a different line. This phone has been in service for several years with no data plan but now I have to have a data plan to use it?  What the **** ??? I only wanted to use the phone for voice calls and a few texts. I have no need for data. This phone, an ENV3, is not well suited for data services anyway. (No, I won't be using this old phone after all.)
    Companies such as yours dream up  junk fees; this one amounts to $1.25 per month additional revenue. They do this as a way of increasing revenue while advertising a lower price, ie advertise $30.00 per month but actually charge $31.25. I suppose they all pat themselves on the back and start counting all the new-found money. The management is so stupid and arrogant that they do not realize what the long-term impact could be. In this particular case, the end result shall be the net loss of $250.00 per month in revenue. I know that you don't care; that is painfully obvious and clear.
    Well Mr. Verizon, you may consider this to be my official letter of resignation. Consider me gone, done, history. I don't need you, your arrogance, or your over-priced services. I currently pay nearly $250/mo to your company for six phone lines, four of which are "very lightly" used for calls and and a few text only. Personally, on my line,  I do nothing but make and/or receive an average of  two  3-minute calls per week. I put up with a lot of crap making my money; I do not have to tolerate any when spending it. I WILL be taking ALL my business elsewhere. Four of my lines are currently month-to-month with no contract. I will be moving these to another provider in the coming week. The remaining ones will be moved upon expiration of their respective contracts.
    Cheers

    Verizon has no obligation to respect your "loyalty." They do, however, have an obligatory fiduciary duty to their investors, hence the "upgrade" fees, "line access" fees, "regulatory recovery" fees, data plan "repuirements", and data caps, none of which are intended to buy YOU anything. They are assessed primarily to provide profits to them and dividends to their investors, along with a source of capital expenditure for their network expansion whose sole purpose is to attract more customers to provide more revenue streams to meet their aforementioned fiduciary duty to serve their executives and investors ever greater profits and dividends. And in this country, that is ALL this wireless game is about. EVERYTHING else, be it customer service, value of service, loyalty or anything else, is secondary. 
    And you think other carriers are any different? Nope. They all are in this for the exact same game, however they choose to play it, plan for plan, fee for fee. Sure, details differ, some plans might look more appealing and for some, prudent shopping around might even net some nominal cost savings, but all in all, they pretty much charge the same fees and require the same data plans, because that's where the big bucks are, and one way or another you will pay them or you will do without (which might be a blessing in disguise).
    I personally don't like this any more than you do, and I would favor strong federal regulatory oversight much as they have in Europe Latin America and Asia, along with homogenized network infrastructure which stimulates competition by allowing easy interoperability of phones and devices irrespective of carrier, but I fear it will be a cold day in hell before we ever see the likes of that here. According Republican thinking, that's just not the "American Way."

  • How to Test SSRS Custom Data Extension in TSql

    Hi There,
    I have created a custom data extenstion for SSRS 2008 Reporting Service.
    I can test the CDE in the Report DataSet -> DataSet Properties -> Query Designer -> Run Query.
    In the Command Text I pass parameters to the invoked VB code which is of type "BaanstedeCds" then name of my custom data extension.
    I can even Attach the Visual Studio VB Code Project that is invoked by the Query Designer an debug the code.
    The custom data extension works perfectly in SSRS.
    However I have not found a way yet to run BaanstedeCds (with a parametertext) from within SSMS 2008 by using an T-SQL statement!!! Is there a way to use the SSRS Custom Data Extension in Sql Server Management Studio using the dataset type I used in
    SSRS 2008?
    Because I am leaving the path of using Custom Assemblies in SSMS, for deploying an testing that way is undoable for me.
    I is to complicated and in order to properly debug these routines the entire solution of multiple projects is deployed each time even the slightest change has been made to the VB code. Also if I want to deploy from Test to Production it is very hard. I have
    to detach the databases etc, ect.  Note my previous question about this subject that remained unanswered!!!
    Using the Custom Data Extension the problems are a lot less. However I how do I use a routine in the CDS in T-SQL, like I could invoke a routine in the Custom Code Assemblies?
     I "hate" CLR routines. I have extreme trouble managing these CLR's as I explained in my post and other posts in the past.
    You just cannot build a maagable system that way.
    I had to convert all the CLR's (I had a lot of them) to Custom Data Extension Functions, as they do not have all the drawbacks  of CLR's.
    And using the CDE with all the converted CLR's in it works much better for me in the Report Manager.
    However in order to test de CDE I must invoke the CDE in a Windows Form something like this:
    Private Sub cmdGetData_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdGetData.Click
    Dim CommandText As String = ""
    ' Get Parameters for CDE GetData
    CommandText = txtAdoCds.Text
    Dim Rdr As New BstCds.BaanstedeCdsReader(CommandText)
    ' Invoke GetData Function of CDE Rdr
    ' Input: CommandText: txtAdoCds.Text = TextBox on TestForm
    ' Output: DataTable: RdrDataTable
    Call Rdr.GetData(CommandText)
    If Not Rdr.RdrRetVal Then
    GoTo End_Method
    End If
    ' Show DataTable: RdrDataTable (in Excel)
    If Not BstOff.ToonTabel(DataTabel:=Rdr.RdrDataTable) Then
    Exit Sub
    End If
    End_Method:
    End Sub
    '=========================================================================
    ' File: BaanstedeCdsReader.vb
    ' Summary: Provides a means of reading one or more forward-only streams
    ' of result sets obtained by executing a command at a data source,
    ' and is implemented by Baanstede Data Processing Extensions
    ' that access BaanstedeIw3-routines.
    '=========================================================================
    Public Class BaanstedeCdsReader
    Implements IDataReader
    #Region "Public Variables"
    Public RdrRetVal As Boolean = False
    Public RdrSqlSel As String = ""
    Public RdrDataTable As DataTable = New DataTable
    #End Region
    #Region "Constructors"
    #End Region
    #Region "IDataReader Members"
    #End Region
    ' GetData '
    #Region "GetData Method"
    '==================================================================================================
    'We are executing the command using the connection string that connects to the Active Directory.
    'Hard coding of the connection string is because it is the same for all the ADs.
    'Once we read the data using a DataReader, we place the same in a DataTable so that can be used for
    'Other processings.
    ' Public Sub GetData(ByVal _CommandText As String)
    ' Output in Public RdrDataTable As DataTable
    '==================================================================================================
    Public Sub GetData(ByVal _CommandText As String)
    ' Ophalen Data in DataTabel '
    RdrRetVal = False
    ' Fills RdrDataTable Using _COmmandText
    RdrRetVal = True
    End Sub
    But can I invoke Report Manager Source Type BaanstdeCds's .BaanstedeCdsReader.GetData(CommandText) in TSQL any other way then using CLR ?
    Regards Jos
    It works, but it does not work (The program runs, but does not produce the desired result)

    Hi Josje,
    Thank you for your question.
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
    Thank you for your understanding and support.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Custom Identity Service configuration in SOA Suite 11g

    Has anyone been successfull in using custom identity service (available in 10.1.3.X) as a identity store in soa suite 11g human workflow component? If yes, please guide me.

    Can you make sure your helloworld is using adf bindings as mentioned in thread Re: Urgent :: 11g Invoking Composite from Java/From Webservice Proxy

  • Data Services 4.0 installation with MS SQL 2008

    hey guys,
    I am trying to install data services 4.0 on a windows server with MS SQL database as the repository database. So, my plan was to install MS SQL 2008 first, then IPS, then data services. But i am facing a problem in installation of MS SQL itself. I installed MS SQL with following features - database engine, client tools and management tools. The installation process was smooth and the sql server services (server and agent) both startup just fine. I installed a custom instance for the same.
    But problem is when I open the management studio and try to connect to the database engine, it does not connect, I choose database engine as the server type, local hostname as the server name and windows authentication as the authentican type but it fails with the following error:
    TITLE: Connect to Server
    Cannot connect to <myservername>.
    ADDITIONAL INFORMATION:
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)
    For help, click: http://go.microsoft.com/fwlink?ProdName=MicrosoftSQLServer&EvtSrc=MSSQLServer&EvtID=53&LinkId=20476
    BUTTONS:
    OK
    Any clues as to what is causing this ??? Or is it normal at this stage of installation ??  I am confused. I have already tried to reinstall the server, no good, nothing in the event logs either.
    Thanks,
    RS

    resolved via following:
    In the TCP/IP Properties dialog box, on the IP Addresses tab, several IP addresses appear in the format IP1, IP2, up to IPAll. One of these is for the IP address of the loopback adapter, 127.0.0.1. Additional IP addresses appear for each IP Address on the computer. Right-click each address, and then click Properties to identify the IP address that you want to configure.
    If the TCP Dynamic Ports dialog box contains 0, indicating the Database Engine is listening on dynamic ports, delete the 0.u201D
    Once I deleted those zeros and put in 1433 for TCP ports on each IP address, voila!

  • Web services Connection_Operations.Logon call fails on Data Services 4.0

    Hello,
    We recently installed Data Services 4.0.  We have a custom Java app which makes use of the web services interface.  We had previously used Axis to generate the java class.  With DS 4, it looks like the Logon method did change as it now requires the cms system and authentication.  We manually updated the java classes to includes these, which has been our general approach in the past for newer releases.  However DS 4 uses Axis2 and I'm not sure that this approach would work.
    My problem is that the "Logon" call fails with very little details.
    In viewing  both the webadmin.log  and WebService.log it only reports the following:
    11/02/2011 18:42:17 [  SEVERE ] Logon failed.  Error: null
    I understand that I can control the logging detail .  The Integrator Guide for DS 4.0, has the following instruction, yet there is no log4j.properties file on my system?
    "To control the level of detail in the webadmin.log file, you must edit the log4j.properties file.
    The properties file is located in:
    LINK_DIR\ext\webserver\webapps\acta_web_admin\WEB-INF
    To obtain a debug trace of events, change the log level from the default of INFO to DEBUG. For example,
    log4j.rootLogger=DEBUG, A"
    Any advise would be greatly appreciated
    Thanks

    Hello,
    Unfortunately, stdout.log below doesn't show anything possibly due to some mis-configuaration of log4j.properties.  In my previous post I requested info on which log4j.properties should be modified as the documentation in the DS 4.0 Integrator's guide mentions a none-existent path?
    log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).
    log4j:WARN Please initialize the log4j system properly.
    log4j:WARN No appenders could be found for logger (com.sun.faces.config.ConfigureListener).
    log4j:WARN Please initialize the log4j system properly.
    log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).
    log4j:WARN Please initialize the log4j system properly.
    log4j:WARN No appenders could be found for logger (com.sun.faces.config.ConfigureListener).
    log4j:WARN Please initialize the log4j system properly.
    com.businessobjects.webpath.rebean3ws.Activator
    log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).
    log4j:WARN Please initialize the log4j system properly.
    null

  • Custom Data Processing Extension, use in SSRS Report Properties - References

    I've built a Custom Data Processing Extension (CDPE) and registered it
    successfully (ie. it shows up in the new datasources dialog/drop-down and saves just fine, for VS2010-2014). It is intended to be a custom (XML-based) DataSource. However, based on the "nature of the beast", I also need to have a Custom Query
    Designer (CQD) for development  testing of the CDPE.
    Here are the errors I get for the CQD:
    Pulling a report up in "Report Preview", which is wired to the CDPE->CQD, I get:
    "An error occurred during local report processing. The definition of the report '/TestDS' is invalid. Error while loading code module: 'Microsoft.ReportingServices.Interfaces, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'. Details:
    Could not load file or assembly 'Microsoft.ReportingServices.Interfaces, Version=11.0.0.0, Culture=neutral, PublicKeyToken 89845dcd8080cc91' or one of it's dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception
    from HREULT: 0x80131040)"
    My CDPE directly includes Microsoft.ReportingServices.Interfaces.dll AND matches everything as far as version and key. It also includes Microsoft.ReportingServices.QueryDesigners.dll required for the CQD.
    I've written other WORKING CDPEs but not one with a CQD (Query Designer Custom replacement in Visual Studio). All the references from what I can tell are OK. I think CQDs are screwed up for XML datasources. The interfaces are not right.
    (will explain further on)
    From the "Data Sources", Dataset Properties, I click on the "Query Designer", I get:
    "An error occurred while loading the query designer 'DATASET' (which is the name of the CDPE). Query Designer: Object reference not set to an instance of an object."
    I "think" XML type CDPEs are trying to execute a web services call, versus working properly/CORRECTLY with a
    text-based query for XML. The reason I say this is that I've created both WinForm and WebForm test harnesses. They both come up with this error: "...Failed to prepare web request for the specified URL. (rsXmlDataProviderError), Invalid
    URI: The URI is empty." (which is nonsense, there is no request, the query is simply text/file-based stuff, and I read locally ALL of the XML data expected for testing without issue -> I'm ONLY making the CDPE XML-based because I have custom
    WCF calls which already work). (If you really want to understand overall architecture, please see my post: http://social.msdn.microsoft.com/Forums/en-US/d15d9206-95d7-473a-a7f9-a38b4279de8c/ssrs-extension-which-to-use?forum=sqlreportingservices&prof=required
    Other than "100 mile" overviews from Microsoft, this has got to be some of the worst documented stuff I've ever seen (
    http://msdn.microsoft.com/en-us/library/microsoft.reportingservices.interfaces.iquerydesigner.aspx ). Remote Debugging it doesn't work 95% of the time.
    My environment is VS2013 Ultimate with BI and SQL Server 2012 SP1.
    Thanks Rob
    Rob K

    Update:
    I can now see the Custom Query Designer and get anticipated results (after some fooling around with different combinations).
    Here's how things were broken by the MS SQL Server 2012 product/release team:
    1. they upgraded to .Net v4.x here (to support SharePoint, AX, MS Data Tools, etc.)
    C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\Microsoft.ReportingServices.QueryDesigners.dll
    C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\Microsoft.ReportingServices.Interfaces.dll
    2. they left c:\Program Files\Microsoft SQL Server\MSRS.11.MSSQLSERVER\Reporting Services\ReportServer\bin\Microsoft.ReportingServices.Interfaces.dll at .Net
    v2.x
    3. they don't support Custom Extensions (which use a Query Designer) with anything higher  than .Net v3.5
    In my case, I had to segregate:
    a. Report Definition Custom Extension to v4.5
    b. Custom Data Processing Extension to v3.5
    c. Custom Query Designer to v4.x
    d. my WCF/SSO to v4.5.1.
    #2 and #3 above, in my humble opinion are simply dead wrong as far as what you ever want to do in the release cycle (I can see there being an early/first release exception(s), but 2 years out and a successor product (2014) should have meant that this
    was rectified more than a year ago.)
    Whomever failed to get this communicated in the 2012 documentation created even more havoc than an average developer can decipher:
    http://msdn.microsoft.com/en-us/library/microsoft.reportingservices.interfaces.iquerydesigner(v=sql.110).aspx
    (I'm still working on how to get the remote debugger working consistently.)
    Rob

Maybe you are looking for