Data service (DB adapter) returns XML with missing collection's content

Hello.
I am facing problem with DB adapter connected to MySQL database.
When I use select from 1-2 tables (connected by master-detail relationship) adapter works fine.
When I use more than 2 tables adapter returns only master table and empty detail collections.
This is example of 2 tables (master-detail) response
<BasketItemCollection>
<BasketItem>
<basketItemId>234</basketItemId>
<loggedUserId>126</loggedUserId>
<itemTitle>itemTitle</itemTitle>
<itemPartNo/>
<itemPrice>301.26</itemPrice>
<itemVat>0.0</itemVat>
<itemQty>1</itemQty>
<itemNote/>
<dateInsert>2009-10-08T16:07:30.000+02:00</dateInsert>
<basketInvoiceId>44</basketInvoiceId>
<documents>
<docId>560</docId>
<dateCreated>2011-08-23T09:14:52.000+02:00</dateCreated>
<available>false</available>
<passwordProtected xsi:nil="true"/>
</documents>
</BasketItem>
</BasketItemCollection>
This is example of response after adding 1 master table
<BasketInvoiceCollection>
<BasketInvoice>
<basketInvoiceId>44</basketInvoiceId>
<browserId>371</browserId>
<loggedUserId>126</loggedUserId>
<createDate>2009-10-08T16:08:17.000+02:00</createDate>
<statusId>7</statusId>
<deliveryCompany xsi:nil="true"/>
<deliveryName>Alena Molnarova</deliveryName>
<deliveryStreet>fgh</deliveryStreet>
<deliveryCity>fgh</deliveryCity>
<deliveryZip>9054</deliveryZip>
<deliveryCountry>fghfgh</deliveryCountry>
<internalInvoiceId xsi:nil="true"/>
<userNote>fghfgh</userNote>
<userLng>sk</userLng>
<paymentMethod>cash_on_delivery</paymentMethod>
<deliveryMethod>Prevzatie tovaru osobne</deliveryMethod>
<htmlCode xsi:nil="true"/>
<currency>skk</currency>
<basketItemCollection/>
</BasketInvoice>
</BasketInvoiceCollection>
basketItemCollection is here empty.
Where can be a problem hidden?
Thanks in advance for any help

Hi.
JDeveloper use aliase names for tables by default so aliases t0, t1, t3 are used for tables basketinvoice, basketitem, documents.
I think there is some connection to table. Collection of basketinvoicepayments table is missing when 3 tables select and 2 tables select too.
Table basketinvoicepayments is child table and it's element is missing even when relationship is 1:M or 1:1 (Foreign Key on Child table).

Similar Messages

  • Data Service Auto-Detect Return Type Error

    Hello,
      I am not sure if I am posting in the correct area, as this is my first post in a long time.  I have an error when trying to Auto-Detect Return Type for my Web Service Data Service.  The error is 'Data type "Table_type" cannot be merged with the existing one in package "valueObjects" because the property "ContentID" does not match in case.'  I have configured other return types the exact same way and have tried looking in the documentation for this error as well as searching on the internet.  Any help would be welcomed, Thank You.
    MSP

    Nevermind, I figured it out.  If anyone else has this similar error, it means you have another variable with the exact same name only capitilized in the same return type.

  • Is Data Services XI 4.0 compatible with BW 7.01

    Hi,
    The documentation of Data Services XI 4.0 says the following:
    The SAP BusinessObjects Data Services XI 4.0 (version 14.0.0 and above) Open Hub feature is
    supported in SAP BW 7.01 patch level 003 and above.
    Does this mean that Data Services XI 4.0 is only compatible with open hub feature of BW 7.01 and not compatible with the full version of BW 7.01
    Thanks

    Hi,
      As far as I know, Data Services XI 5.0 supports complete SAP Bw connectivity.
    That is, it supports both SAP BW as a source (open hub) asd target (datasource).
    Regards,
    Balajee

  • Data Services IDOC Errors when working with a newl Basic Type

    Hello,
    Just wondering if anyone else has encountered an issue similar to the one I am dealing with. We are trying to create business partners in SAP CRM from Data Services via IDOC. We are not using the standard IDOC, but instead we are using a new IDOC type.
    This IDOC type is generated by SAP CRM automatically through a transaction BDFG. This transaction creates a new basic type for an standard IDOC with the additional fields that we have added through the easy enhancement workbench (EEWB).
    The issue that we are having is that when we import the IDOC type into data services and we look at the schema many fields and sub-structures of the IDOC are duplicated. This means that we receive hundreds of errors when we try to validate our data flow. I can delete the duplicated sub structures in my query transformation but then the query transformation and the output schema and the idoc input schema are no longer identical.
    I have searched all over oss and different web forums for a solution but no one else it seems has even encountered this error. If anyone else has had a similar issue and can offer help it would be greatly appreciated.
    Bill

    Issue is resolved.
    After importing the meta data for the IDOC into data services I then proceeded to edit out all of the duplicate structures and fields from the IDOC.
    After making the IDOC structure in data services identical to the structure of the IDOC  in SAP I then proceeded to test this IDOC and it executed successfully.

  • JSP returning XML with one slight flaw....

    I have created a web service using JAXB 2.0 which queries a database and returns the queried data as KML (Keyhole Markup Language) for use in Google Earth. The service works great, and is returning the KML just as intended, however, the service is being called by a JSP, which in turn returns the KML by whatever client runs the JSP. I am re-learning JSP after having dabbled in it two years ago, and somewhere along the line the JSP is placing a "\n" (blank line) in the first line, which causes most XML parsers to get very angry at you. The JSP is very simple, and I just dont see where this blank line is coming from:
    <%@ page contentType="application/vnd.google-earth.kml+xml; charset=UTF-8" %>
    <% try {
    com.xxx.kmlpages.KMLWebServiceImplService service = new com.xxx.kmlpages.KMLWebServiceImplService();
    com.xxx.kmlpages.KMLWebServiceImpl port = service.getKMLWebServiceImplPort();
    java.lang.String result = port.processKML();
    out.print(result);
    } catch (Exception ex) {
    } %>
    Normally the xml parser wants to see:
    <?xml version="1.0" encoding="UTF-8" ?>
    as the first line, but instead the JSP returns that as the second line with a blank line first.
    Any idea what in my JSP is causing this blank line?
    Message was edited by:
    Smiler
    I just ran through the debugger, and the "result" which is to be out.print'ed, is exactly as it is supposed to be. There is nothing in the result creating a blank line. So SOMEHOW this very simple JSP is printing a blank line before printing the returned result.

    Smiler wrote:
    Quite the helpful forum...
    After digging around, I came across this webpage:
    http://www-128.ibm.com/developerworks/java/library/j-dynxml.html
    In it, is described:
    "It's important to note that the JSP page compiler will remove only the characters making up the tag and its contents. If you place a JSP tag on a new line, the page compiler will remove everything but the new line (because that is not part of the tag). For example, suppose we add the content type tag to our new JSP page like so:
    <%@ page contentType="text/xml;charset=ISO-8859-1" %>
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <Flights>
    <AirCarrier>AA</AirCarrier>
    <FlightNumber>700</FlightNumber>
    <FlightSegment>
    In this case, the page compiler will remove the page directive on the first line, leaving a blank line before the <?xml...?> version tag. In XML documents, the XML version tag must be on the first line, so this example would cause an error in an XML parser."
    Well, it seems the simple solution to my problem then is to change my page declarative to:
    <%@ page contentType="application/vnd.google-earth.kml+xml" %><%--
    --%><% try {
    Notice the difference?Hi. I have a similar problem in our program. We are putting the xml in a session and forwarding to jsp where we print it. This is creating a blank first line which causes an error on safari, firefox except ie.
    How do you suggest i correct this? Any help /direction in this regard would be appreciated. Thanks!
    Rohan

  • XMLElement not returning XML with xsql:query

    I am trying to use a select statement containing XMLElement, XMLAgg and XMLForest functions from a xsql servlet.
    <page xmlns:xsql="urn:oracle-xsql" connection="HOM_WISP">
    <xsql:query row-element=""     rowset-element="STATEMENT">
    SELECT
    XMLElement("GROUP", XMLAttributes(gst_group AS GSTGroup,
    display_group AS DisplayGroup),
    XMLAgg(
    XMLElement("PAYMENTDETAIL",
    XMLForest(phase_type,
    contract_num,
    mark_block,
    cut_permit,
    destination,
    stratum_code,
    species_code,
    sort_code,
    truck,
    back_haul,
    uom_desc,
    uom_code,
    gst_exempt_flag,
    pay_deduct_desc,
    actual_rate,
    gst_registrant_num,
    load_count,
    quantity,
    volume,
    earnings)))).getClobVal() as PAYMENTITEM
    FROM ws_cntr_statement_vw
    GROUP BY gst_group, display_group
    </xsql:query>
    </page>
    When XML is returned only the out most XML as follows the inner elements are text. I truncated the output but you can see that GROUP and PAYMENTDETAIL are not elements but text. I want them all to be elements.
    <page>
    <STATEMENT><PAYMENTITEM>&lt;GROUP GSTGROUP="1_GST" DISPLAYGROUP="2_RETRO">&lt;PAYMENTDETAIL>&lt;PHASE_TYPE>Purchasing&lt;/PHASE_TYPE>&lt;CONTRACT_NUM>3346&lt;/CONTRACT_NUM>&lt;MARK_BLOCK>GA500B-0001&lt;/MARK_BLOCK>&lt;DESTINATION>LC&lt;/DESTINATION>&lt;STRATUM_CODE>18&lt;/STRATUM_CODE>&lt;SPECIES_CODE>SP&lt;/SPECIES_CODE>&lt;UOM_DESC>tonne&lt;/UOM_DESC>&lt;UOM_CODE>MT&lt;/UOM_CODE>&lt;GST_EXEMPT_FLAG>0&lt;/GST_EXEMPT_FLAG>&lt;ACTUAL_RATE>-9.32&lt;/ACTUAL_RATE>&lt;GST_REGISTRANT_NUM>R102090347&lt;/GST_REGISTRANT_NUM>&lt;LOAD_COUNT>1&lt;/LOAD_COUNT>&lt;QUANTITY>28440&lt;/QUANTITY>&lt;VOLUME>36.68&lt;/VOLUME>&lt;EARNINGS>-265.06&lt;/EARNINGS>&lt;/PAYMENTDETAIL>&lt;/GROUP></PAYMENTITEM><PAYMENTITEM>&lt;GROUP GSTGROUP="1_GST" DISPLAYGROUP="4_CNTRPAY">&lt;PAYMENTDETAIL>&lt;PHASE_TYPE>ADV/REC NO CONTRACT&lt;/PHASE_TYPE>&lt;UOM_DESC>flat&lt;/UOM_DESC>&lt;UOM_CODE>FL&lt;/UOM_CODE>&lt;GST_EXEMPT_FLAG>0&lt;/GST_EXEMPT_FLAG>&lt;PAY_DEDUCT_DESC>PAY 12 ADVANCE RECOVERY ES4922&lt;/PAY_DEDUCT_DESC>&lt;ACTUAL_RATE>32644.87&lt;/ACTUAL_RATE>&lt;GST_REGISTRANT_NUM>R123330532&lt;/GST_REGISTRANT_NUM>&lt;EARNINGS>-32644.87&lt;/EARNINGS>&lt;/PAYMENTDETAIL>&lt;PAYMENTDETAIL>&lt;PHASE_TYPE>FIREWOOD/STUMPAGE ALL BLOCKS&lt;/PHASE_TYPE>&lt;UOM_DESC>flat&lt;/UOM_DESC>&lt;UOM_CODE>FL&lt;/UOM_CODE>&lt;GST_EXEMPT_FLAG>0&lt;/GST_EXEMPT_FLAG>&lt;PAY_DEDUCT_DESC>FIREWOOD LOAD # 151819&lt;/PAY_DEDUCT_DESC>&lt;ACTUAL_RATE>25&lt;/ACTUAL_RATE>&lt;GST_REGISTRANT_NUM>R123083735&lt;/GST_REGISTRANT_NUM>&lt;EARNINGS>-25&lt;/EARNINGS>&lt;/PAYMENTDETAIL>&lt;PAYMENTDETAIL>&lt;PHASE_TYPE>SB#2 PAY RD USE&lt;/PHASE_TYPE>&lt;UOM_DESC>flat&lt;/UOM_DESC>&lt;UOM_CODE>FL&lt;/UOM_CODE>&lt;GST_EXEMPT_FLAG>1&lt;/GST_EXEMPT_FLAG>&lt;PAY_DEDUCT_DESC>ROAD USE ES4208 BLOCK 9&lt;/PAY_DEDUCT_DESC>&lt;ACTUAL_RATE>898.1&lt;/ACTUAL_RATE>&lt;EARNINGS>898.1&lt;/EARNINGS>&lt;/PAYMENTDETAIL>&lt;/GROUP></PAYMENTITEM><PAYMENTITEM>&lt;GROUP GSTGROUP="1_GST" DISPLAYGROUP="1_ORIGINAL">&lt;PAYMENTDETAIL>&lt;PHASE_TYPE>Logging&lt;/PHASE_TYPE>&lt;CONTRACT_NUM>2731&lt;/CONTRACT_NUM>&lt;MARK_BLOCK>ES4334-0026&lt;/MARK_BLOCK>&lt;CUT_PERMIT>334&lt;/CUT_PERMIT>&lt;DESTINATION>FED&lt;/DESTINATION>&lt;STRATUM_CODE>01&lt;/STRATUM_CODE>&lt;SPECIES_CODE>FI&lt;/SPECIES_CODE>&lt;UOM_DESC>tonne&lt;/UOM_DESC>&lt;UOM_CODE>MT&lt;/UOM_CODE>&lt;GST_EXEMPT_FLAG>0&lt;/GST_EXEMPT_FLAG>&lt;ACTUAL_RATE>19.5&lt;/ACTUAL_RATE>&lt;GST_REGISTRANT_NUM>R104985114&lt;/GST_REGISTRANT_NUM>&lt;LOAD_COUNT>14&lt;/LOAD_COUNT>&lt;QUANTITY>498300&lt;/QUANTITY>&lt;VOLUME>579.54&lt;/VOLUME>&lt;EARNINGS>9716.85&lt;/EARNINGS>&lt;/PAYMENTDETAIL>&lt;PAYMENTDETAIL>&lt;PHASE_TYPE>Logging&lt;/PHASE_TYPE>&lt;CONTRACT_NUM>2731&lt;/CONTRACT_NUM>&lt;MARK_BLOCK>ES4334-0026&lt;/MARK_BLOCK>&lt;CUT_PERMIT>334&lt;/CUT_PERMIT>&lt;DESTINATION>LC&lt;/DESTINATION>&lt;STRATUM_CODE>06&lt;/STRATUM_CODE>&lt;SPECIES_CODE>FI&lt;/SPECIES_CODE>&lt;UOM_DESC>tonne&lt;/UOM_DESC>&lt;UOM_CODE>MT&lt;/UOM_CODE>&lt;GST_EXEMPT_FLAG>0&lt;/GST_EXEMPT_FLAG>&lt;ACTUAL_RATE>19.5&lt;/ACTUAL_RATE>&lt;GST_REGISTRANT_NUM>R104985114&lt;/GST_REGISTRANT_NUM>&lt;LOAD_COUNT>33&lt;/LOAD_COUNT>&lt;QUANTITY>1096770&lt;/QUANTITY>&lt;VOLUME>1300.24&lt;/VOLUME>&lt;EARNINGS>21387.07&lt;/EARNINGS>&lt;/PAYMENTDETAIL>&lt;PAYMENTDETAIL>&lt;PHASE_TYPE>Logging&lt;/PHASE_TYPE>&lt;CONTRACT_NUM>2731&lt;/CONTRACT_NUM>&lt;MARK_BLOCK>ES4334-0026&lt;/MARK_BLOCK>&lt;CUT_PERMIT>334&lt;/CUT_PERMIT>&lt;DESTINATION>LC&lt;/DESTINATION>&lt;STRATUM_CODE>13&lt;/STRATUM_CODE>&lt;SPECIES_CODE>LO&lt;/SPECIES_CODE>&lt;UOM_DESC>tonne&lt;/UOM_DESC>&lt;UOM_CODE>MT&lt;/UOM_CODE>&lt;GST_EXEMPT_FLAG>0&lt;/GST_EXEMPT_FLAG>&lt;ACTUAL_RATE>19.5&lt;/ACTUAL_RATE>&lt;GST_REGISTRANT_NUM>R104985114&lt;/GST_REGISTRANT_NUM>&lt;LOAD_COUNT>84&lt;/LOAD_COUNT>&lt;QUANTITY>3219510&lt;/QUANTITY>&lt;VOLUME>3990.95&lt;/VOLUME>&lt;EARNINGS>62780.68&lt;/EARNINGS>&lt;/PAYMENTDETAIL>&lt;PAYMENTDETAIL>&lt;PHASE_TYPE>Logging&lt;/PHASE_TYPE>&lt;CONTRACT_NUM>2731&lt;/CONTRACT_NUM>&lt;MARK_BLOCK>ES4334-0026&lt;/MARK_BLOCK>&lt;CUT_PERMIT>334&lt;/CUT_PERMIT>&lt;DESTINATION>LC&lt;/DESTINATION>&lt;STRATUM_CODE>21&lt;/STRATUM_CODE>&lt;SPECIES_CODE>MX&lt;/SPECIES_CODE>&lt;UOM_DESC>tonne&lt;/UOM_DESC>&lt;UOM_CODE>MT&lt;/UOM_CODE>&lt;GST_EXEMPT_FLAG>0&lt;/GST_EXEMPT_FLAG>&lt;ACTUAL_RATE>19.5&lt;/ACTUAL_RATE>&lt;GST_REGISTRANT_NUM>R104985114&lt;/GST_REGISTRANT_NUM>&lt;LOAD_COUNT>2&lt;/LOAD_COUNT>&lt;QUANTITY>71030&lt;/QUANTITY>&lt;VOLUME>91.4&lt;/VOLUME>&lt;EARNINGS>1385.09&lt;/EARNINGS>&lt;/PAYMENTDETAIL>&lt;PAYMENTDETAIL>&lt;PHASE_TYPE>Logging&lt;/PHASE_TYPE>&lt;CONTRACT_NUM>2731&lt;/CONTRACT_NUM>&lt;MARK_BLOCK>ES4334-0026&lt;/MARK_BLOCK>&lt;CUT_PERMIT>334&lt;/CUT_PERMIT>&lt;DESTINATION>PUL&lt;/DESTINATION>&lt;STRATUM_CODE>16&lt;/STRATUM_CODE>&lt;SPECIES_CODE>LO&lt;/SPECIES_CODE>&lt;UOM_DESC>tonne&lt;/UOM_DESC>&lt;UOM_CODE>MT&lt;/UOM_CODE>&lt;GST_EXEMPT_FLAG>0&lt;/GST_EXEMPT_FLAG>&lt;ACTUAL_RATE>18&lt;/ACTUAL_RATE>&lt;GST_REGISTRANT_NUM>R104985114&lt;/GST_REGISTRANT_NUM>&lt;LOAD_COUNT>3&lt;/LOAD_COUNT>&lt;QUANTITY>104980&lt;/QUANTITY>&lt;VOLUME>173.46&lt;/VOLUME>&lt;EARNINGS>1889.64&lt;/EARNINGS>&lt;/PAYMENTDETAIL>&lt;PAYMENTDETAIL>&lt;PHASE_TYPE>Logging&lt;/PHASE_TYPE>&lt;CONTRACT_NUM>2731&lt;/CONTRACT_NUM>&lt;MARK_BLOCK>ES4334-0030&lt;/MARK_BLOCK>&lt;CUT_PERMIT>334&lt;/CUT_PERMIT>&lt;DESTINATION>LC&lt;/DESTINATION>&lt;STRATUM_CODE>06&lt;/STRATUM_CODE>&lt;SPECIES_CODE>FI&lt;/SPECIES_CODE>&lt;UOM_DESC>tonne&lt;/UOM_DESC>&lt;UOM_CODE>MT&lt;/UOM_CODE>&lt;GST_EXEMPT_FLAG>0&lt;/GST_EXEMPT_FLAG>&lt;ACTUAL_RATE>19.5&lt;/ACTUAL_RATE>&lt;GST_REGISTRANT_NUM>R104985114&lt;/GST_REGISTRANT_NUM>&lt;LOAD_COUNT>15&lt;/LOAD_COUNT>&lt;QUANTITY>514800&lt;/QUANTITY>&lt;VOLUME>610.27&lt;/VOLUME>&lt;EARNINGS>10038.64&lt;/EARNINGS>&lt;/PAYMENTDETAIL>&lt;PAYMENTDETAIL>&lt;PHASE_TYPE>Logging&lt;/PHASE_TYPE>&lt;CONTRACT_NUM>2731&lt;/CONTRACT_NUM>&lt;MARK_BLOCK>ES4334-0030&lt;/MARK_BLOCK>&lt;CUT_PERMIT>334&lt;/CUT_PERMIT>&lt;DESTINATION>LC&lt;/DESTINATION>&lt;STRATUM_CODE>18&lt;/STRATUM_CODE>&lt;SPECIES_CODE>SP&lt;/SPECIES_CODE>&lt;UOM_DESC>tonne&lt;/UOM_DESC>&lt;UOM_CODE>MT&lt;/UOM_CODE>&lt;GST_EXEMPT_FLAG>0&lt;/GST_EXEMPT_FLAG>&lt;ACTUAL_RATE>19.5&lt;/ACTUAL_RATE>&lt;GST_REGISTRANT_NUM>R104985114&lt;/GST_REGISTRANT_NUM>&lt;LOAD_COUNT>1&lt;/LOAD_COUNT>&lt;QUANTITY>35740&lt;/QUANTITY>&lt;VOLUME>46.43&lt;/VOLUME>&lt;EARNINGS>696.93&lt;/EARNINGS>&lt;/PAYMENTDETAIL>&lt;PAYMENTDETAIL>&lt;PHASE_TYPE>Logging&lt;/PHASE_TYPE>&lt;CONTRACT_NUM>2731&lt;/CONTRACT_NUM>&lt;MARK_BLOCK>ES4334-0030&lt;/MARK_BLOCK>&lt;CUT_PERMIT>334&lt;/CUT_PERMIT>&lt;DESTINATION>PUL&lt;/DESTINATION>&lt;STRATUM_CODE>16&lt;/STRATUM_CODE>&lt;SPECIES_CODE>LO&lt;/SPECIES_CODE>&lt;UOM_DESC>tonne&lt;/UOM_DESC>&lt;UOM_CODE>MT&lt;/UOM_CODE>&lt;GST_EXEMPT_FLAG>0&lt;/GST_EXEMPT_FLAG>&lt;ACTUAL_RATE>18&lt;/ACTUAL_RATE>&lt;GST_REGISTRANT_NUM>R104985114&lt;/GST_REGISTRANT_NUM>&lt;LOAD_COUNT>3&lt;/LOAD_COUNT>&lt;QUANTITY>100280&lt;/QUANTITY>&lt;VOLUME>165.68&lt;/VOLUME>&lt;EARNINGS>1805.04&lt;/EARNINGS>&lt;/PAYMENTDETAIL>&lt;PAYMENTDETAIL>&lt;PHASE_TYPE>Logging&lt;/PHASE_TYPE>&lt;CONTRACT_NUM>3350&lt;/CONTRACT_NUM>&lt;MARK_BLOCK>ES4922-0026&lt;/MARK_BLOCK>&lt;CUT_PERMIT>922&lt;/CUT_PERMIT>&lt;DESTINATION>LC&lt;/DESTINATION>&lt;STRATUM_CODE>06&lt;/STRATUM_CODE>&lt;SPECIES_CODE>FI&lt;/SPECIES_CODE>&lt;UOM_DESC>tonne&lt;/UOM_DESC>&lt;UOM_CODE>MT&lt;/UOM_CODE>&lt;GST_EXEMPT_FLAG>0&lt;/GST_EXEMPT_FLAG>&lt;ACTUAL_RATE>37&lt;/ACTUAL_RATE>&lt;GST_REGISTRANT_NUM>R123330532&lt;/GST_REGISTRANT_NUM>&lt;LOAD_COUNT>5&lt;/LOAD_COUNT>&lt;QUANTITY>197320&lt;/QUANTITY>&lt;VOLUME>233.92&lt;/VOLUME>&lt;EARNINGS>7300.84&lt;/EARNINGS>&lt;/PAYMENTDETAIL>&lt;PAYMENTDETAIL>&lt;PHASE_TYPE>Logging&lt;/PHASE_TYPE>&lt;CONTRACT_NUM>3350&lt;/CONTRACT_NUM>&lt;MARK_BLOCK>ES4922-0027&lt;/MARK_BLOCK>&lt;CUT_PERMIT>922&lt;/CUT_PERMIT>&lt;DESTINATION>LC&lt;/DESTINATION>&lt;STRATUM_CODE>21&lt;/STRATUM_CODE>&lt;SPECIES_CODE>MX&lt;/SPECIES_CODE>&lt;UOM_DESC>tonne&lt;/UOM_DESC>&lt;UOM_CODE>MT&lt;/UOM_CODE>&lt;GST_EXEMPT_FLAG>0&lt;/GST_EXEMPT_FLAG>&lt;ACTUAL_RATE>37&lt;/ACTUAL_RATE>&lt;GST_REGISTRANT_NUM>R123330532&lt;/GST_REGISTRANT_NUM>&lt;LOAD_COUNT>1&lt;/LOAD_COUNT>&lt;QUANTITY>38920&lt;/QUANTITY>&lt;VOLUME>50.08&lt;/VOLUME>&lt;EARNINGS>1440.04&lt;/EARNINGS>&lt;/PAYMENTDETAIL>&lt;

    Sorry I guess I haven't explained very well. When I am issuing the SELECT statement which uses XMLElement I have to convert output to string in order to have a column alais PAYMENTITEM. It is then not reconnized as XML in the
    xsql:query call
    If I do not assign a alias to query I get following error
    oracle.xml.sql.OracleXMLSQLException: Character ',' is not allowed in an XML tag
    If I assign without using getClobVal() I get this error
    oracle.xml.sql.OracleXMLSQLException: Conversion to String failed
    If I then use the getClobVal() to assign column alias it appears as if entire result set is now a string then <> tag delimiters are now show with "&lt" signs instead.

  • BO Data Services 3.2-Job fails with 'TNS:No appropriate service handler err

    Hello all -
    One of our DS jobs has started failing intermittently showing the following error in its log:
    Data flow DataFlow_1 - OCI call <OCIServerAttach> for connection <abc> failed: <ORA-12519: TNS:no appropriate service handler found>.
    This  has started happening recently after we've upgraded the repository database form Oracle 10g to Oracle 11g (11.1.0.6).  The source   and target are also 11g.    
    If anyone has encountered this error before, please can you provide some pointers on how to troubleshoot/resolve this.
    TIA.
    Regards,
    Tarun.

    I have found this thread which talks nearly same about your issue.
    TNS:listener could not find available handler witht matching protocol stack
    The session count has to be decreased, that is the crux that comes out from this thread.
    Listener some how have a count of the incoming connection request. If that number tries to go beyond process parameter value,this error is reported.Now I amnot sure that why this is happening in your case as the parameter value is already higher than the incoming connections.
    And voilla!You are using XE I believe so its a bug in it. Read this thread,
    Re: Intermittent ORA-12519 error on 10g XE
    HTH
    Aman....

  • List Manager based on LOV returning values with missing spaces

    I am using a list manager based on a pop up lov, in this case it is a list of supplier names. When the pop-up list is shown the values are displayed as expected, with all spaces intact. When I click the supplier name, and then click Add to add to the list manager, all spaces in the supplier name are lost.
    The field I'm pulling is a varchar2 in the db. Here's the sql behind the lov:
    select '(All Suppliers)' d, '(All Suppliers)' r from rep_gy_spend
    union
    select distinct supplier_name d, supplier_name r
    from rep_gy_spend
    order by 1
    Any ideas on why the spaces are lost?

    DJ - There is a javascript function on the page that does that. View page source and you'll see it. You could override it with your own and change that behavior and you could prevent it from upper-casing the returned values as well by using different onclick javascript on the add button.
    Scott

  • Data Services Designer - Function returns value, but doesnt always populate

    Within my Query Transform I call a function that I pass a old Vendor code to a sql statement and it does a few lookups and cross references it returns a new value. My issue is sometime it doesnt put the value in the field. I know it has returned a value as I had the funtion print it out for me, so I can see the value that was passed and the returning value, but when I look in my table there is no value.
    I have added the function call for you to see it is very simple takes one parameter, I have also added the print out from my function, does anyone have any ideas??
    (This is under the field Vendor Code)
    P2CMM05_Look_UP_Vendor_Code(Query.LIFNR)
    6088     4800     PRINTFN     6/28/2011 9:27:48 AM     @@@@@@@@@@@ Ret_Vendor_code @@@@@@@@@@@   MCI_719
    6088     4800     PRINTFN     6/28/2011 9:27:48 AM     @@@@@@@@@@@ $Vendor_code @@@@@@@@@@@    MUR_51

    Within my Query Transform I call a function that I pass a old Vendor code to a sql statement and it does a few lookups and cross references it returns a new value. My issue is sometime it doesnt put the value in the field. I know it has returned a value as I had the funtion print it out for me, so I can see the value that was passed and the returning value, but when I look in my table there is no value.
    I have added the function call for you to see it is very simple takes one parameter, I have also added the print out from my function, does anyone have any ideas??
    (This is under the field Vendor Code)
    P2CMM05_Look_UP_Vendor_Code(Query.LIFNR)
    6088     4800     PRINTFN     6/28/2011 9:27:48 AM     @@@@@@@@@@@ $Vendor_code @@@@@@@@@@@    MUR_51
    6088     4800     PRINTFN     6/28/2011 9:27:48 AM     @@@@@@@@@@@ Ret_Vendor_code @@@@@@@@@@@   MCI_719

  • Data Service Wizard - How can I reconfigure return type field as XML (E4X) value

    The HTTP Data Service wizard - "Reconfigure Return Type" - does not allow XML (E4X) to be selected as a data type for a field.  For example , If my example XML payload looks like this (see below), I would like to set the datatype for "settings" field to be XML (E4X) and have the service decode the "string" value into an XML (E4X) value.
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <ListOfUsers version="1.0.0">
        <User>
            <id>3</id>
            <subType>INTERNAL</subType>
            <authName>internal</authName>
            <name>Internal User</name>
            <settings>&lt;?xml version="1.0" encoding="utf-8" ?&gt;&lt;Settings&gt;&lt;Profile&gt;&lt;Region&gt;emea&lt;/Region&gt;&lt;Language&gt;en.g b&lt;/Language&gt;&lt;/Profile&gt;&lt;/Settings&gt;</settings>
        </User>
    </ListOfUsers>

    I find a (reasonably) elegant workaround which is to add a transient property in the "public" sub class of the value type - see below - I havent tested it much so not sure if it will work adequateky in all circumstances
    package services.listeningpost
    public class User_type extends _Super_User_type
    public function get xmlSettings():XML
    return new XML(settings);
    public function set xmlSettings(object:XML):void
    settings = object.toXMLString();

  • Can we install Business Objects Data Services XI 3.2 with BOE 3.1 SP2

    Hi,
    I want to install SAP Data Services XI 3.2 and BW 7.1 and BOE 3.1 SP2 are already in place. I want to know befor installation of Data Services that it is compatible with BOE 3.1 SP2. The documentation for Data services tell only about the compatibility of BW and not about BOE. If anybody has installed Data Services XI 3.2 with BOE 3.1 or knows about version compatibility, please shed some light.

    Yes,
    I have tried install BOE 3.1 SP2 and DS 3.2 SP2 together on 1 machine Windows 2003 64 bit before.
    They works fine together.
    Just make sure you deploy Tomcat correctly for DS Management Console.
    Hope this helps,
    Henry Le

  • Error while executing logical data service:XP0006

    Hi,
    <br><br>
    I have one physical dataservice which is caps.ds based on oracle database. I created one method in caps.ds by name gatCap(String param). basically this method will fetch the data from the database based on input parameter. This method is working fine in physical data service.<br>. Now I created one logical dataservice named as Test.ds from this physical dataservice. I added one method getCaps(string param) method in Test.ds. Noe if i try to test this method in workshop I am getting the following error.<br><br>.System error
    weblogic.xml.query.exceptions.XQueryTypeException: ld:NewDSProj/Test.ds, line 26, column 5: {err}XP0006: "element {ld:NewDSProj/Caps}Caps { {http://www.w3.org/2001/XMLSchema}anyType }": bad value for type element {ld:NewDSProj/Test}Test { {http://www.w3.org/2001/XMLSchema}anyType }*<br><br>
    Even in Query Plan also it is showing TypeError in red color.
    <br><br>
    I am attaching the capa.ds, Test.ds and required .xsd file and server log file for your reference.
    <br>Any suggestiins please...
    <br><br>
    Regards,
    Suresh Varma.

    Hi<br>I changed the return type in Test.ds to caps.xsd. It is working fine. Thank you.<br><br>
    Now I have the following data services.<br>
    1.MRM_RESPONSE.ds--which is created from java method.This java method will read the data from xml.<br>
    2.Caps.ds--which is created for Oracle data base.<br>
    Now I created one logical data service named as Test.ds with function newFunction(String param).My intention is i want consolidated output from both physical data services based on join condition. I have the state field in both physical data services. So the output of newFunction() in Test.ds should be combination of caps and MRM_RESPONSE.<br> In Query plan for newFunction() I am not getting any error. But if I try to test I am getting the following error.<br>System error
    weblogic.xml.query.exceptions.XQueryTypeException: {bea-err}TYPE003 [{bea-err}TYPE003a]: Runtime Type Mismatch: got an xdt:untypedAtomic value<br>.
    I am attaching latest code and server log file for your reference. In the attached zip file NewSchemas is the schemain schemas project.JavaClient contains java method.
    <br>
    Thanks& Regards,
    Suresh Varma.

  • Using Data/Services to connect to NY Times API

    I'm new to flex and have been trying to use the NY Times API to import xml data.  After clicking the Data/Services tab and selecting "xml" I click the "path" button and insert my path
    http://api.nytimes.com/svc/books/v2/lists/BooksPaperback.xml?&api-key={my api key here}
    After clicking invoke I get a results set and Service Details so I know I am getting a response from the API.  However... I get this error at the top 'Parameter names can only contain letters, number and "_".'  .  I guess it doesn't like the use of 'api-key' but I'm not sure how that has an effect on the information being returned and why it matters?  Either way, I cannot click "finish" to use this data.  Is there anything I can do?  Thanks in advance to any help I receive
    NY Times API docs here: http://developer.nytimes.com/docs/best_sellers_api#h3-example-request

    Hi,
    Please refer http://forums.adobe.com/message/2837493#2837493
    hyphen('-') in parameter or return type is not supported yet because they map to AS3 variables.
    -Radhakrishna

  • Flex Data Services tutorial error

    In the "Before You Begin" section of the Flex Data Services
    tutorial in "Getting Started with Flex", the first bullet is
    incorrect. It text should be:
    "Ensure that you have installed the Flex Data Services Beta 3
    release and that you can run the applications in the samples web
    application."
    The installation instructions are located here:
    http://www.adobe.com/go/flex2_installation
    The tutorial zip file is located here:
    http://www.macromedia.com/go/flex2beta1_quickstart_tutorial_zip
    - Mike Peterson
    Adobe Flex documentation team

    Hi, I found some more "issues" with these data services
    tutorial.
    First of working with the notes example at first I couldn't
    get the two browsers to talk to eachother until I found this
    comment by funk_sf on the livedocs:
    quote:
    after some searching, I located a link to the tutorial.zip
    here:
    http://www.macromedia.com/go/flex2beta1_quickstart_tutorial_zip.
    i unzip'd the contents into my samples directory so that I had the
    following path: C:\fds2\jrun4\servers\default\samples\tutorials
    the xml file in WEB-INF for the standalone flexbuilder 2b3 is
    located at C:\fds2\resources\config as mentioned in the comments on
    the previous page (
    http://livedocs.macromedia.com/labs/1/flex20beta3/00000129.html)
    as for creating the tutorial1.mxml file, i created a new Flex
    project with the following settings (this is from memory, so
    hopefully i recall all the steps right):
    File->New Flex Project
    How will you flex application access data? -> Flex Data
    Services -> Compile application locally in Flex Builder
    root folder: C:\fds2\jrun4\servers\default\samples
    root url:
    http://localhost:8700/samples/
    I left the build paths to their defaults (ie. blank)
    named the main application file: tutorial1.mxml
    output folder: tutorial
    output folder url: [blank]
    So I followed his advice, deleted my project and made it in
    the samples directory and the notes application started to work, so
    all appeared good.
    Until I was making the Java example and I'm now faced with
    the following errors:
    Severity Description Resource In Folder Location Creation
    Time Id
    2 Definition samples.contact:Contact could not be found.
    tutorial2.mxml Tutorials line 8 6 juni 2006 16:36:25 20
    Severity Description Resource In Folder Location Creation
    Time Id
    2 Type was not found or was not a compile-time constant:
    Contact. tutorial2.mxml Tutorials line 13 6 juni 2006 16:36:25 21
    I'm not sure what is happening, I think it can't find the
    data service files but I don't know how to make it so that it does
    find those files, the manual is still a bit vague on that and when
    I try to run this application it just shows a blue (flex) screen.
    The code I'm using is straight from the example documentation after
    tinkering around for 2 days to get this to work I thought using
    original code is the best way to go.
    My application tries to run from
    http://localhost:8700/samples/bin/tutorial2.html
    The documentation states:
    Open the following URL in two browser windows:
    [L=http://localhost:port/samples/tutorials/tutorial2.mxml
    The screenshots in the documentation show:
    Window1: /tutorial/tutorial1.mxml
    Window2: /dataservice/contact/tutorial_step4.mxml
    Now I'm just confused, tutorial1.mxml is my notes application
    which was the previous tutorial and there was no mention of a
    tutorial_step4.mxml file ?
    Someone help me please with where to place these files and
    why so I can understand what is happening here.
    Thanks :)

  • Result set not visible in Test View for Physical data service

    I have configured a MS SQL server stored procedure as a data service. It returns a resultset. I am calling this data service (physical) from a logical data service. I am able to see the returned result set in the test view (workshop) of the logical data service but not in the test view of the physical data service? Is this a problem within the workshop?
    Any help is appreciated.

    Never heard of this before. Can you turn on Auditing of XQuery parameters and results and then show me the audit information so I can see you are calling both the logical and the physical data service with the same arguments?
    It would also help to see both the logical and physical ds and their schemas. Just zip and post the whole dsp project if possible.

Maybe you are looking for

  • Acrobat X Unable to Uninstall

    I have been having an entirely consistent issue with Adobe Acrobat X. Every time it opens, not only can I not quit the application, but I also can't close any windows that are open in the application, nor can I force quit. Last night it opened up a f

  • The debugger agent is not enabled on server....

    We have to weblogic instances and IDM is deployed in both these instances. When I am trying to start the debugger on server1 I do get this error: +'The debugger agent is not enable on server2: To enable, please set the SystemConfiguration property se

  • Help needed when dynamically creating new stage sprites

    Morning folks, I'm feeling very rusty when asking this question! It feels like I should know the answer but simply unable to comprehend where I'm going wrong at the moment!! I'm in the process of creating a Director piece that involves the user havin

  • Serious problems after Mavericks installation with External Drive Lacie P9220.

    Experiencing serious problems after Mavericks installation with External Drive Lacie P9220 1TB. Mac Finder totally locked! I had to format the External hard drive with a Windows PC (fat32), then format again with my IMac (mac Journal.) and hopefully

  • Brand new ipod cracked. no damage to case...

    So what gives here, I've owned several ipods, starting at the beginning with the 5g, a couple of weeks after they came out. So my wife buys me a black 60g G5 ipod, engraved, for our anniversary, and I pick it up after having it at work with me for th