Transporting objects with embedded XML

Hi all,
I am using XFire (http://xfire.codehaus.org/) for exposing my web services. I ran across an issue while transporting an object that contains an XML document embedded in it.
As an example, here is the domain model:
public class Book {
     Integer id; 
     String name;
     XMLStreamReader document;
    //Setters and getters follow...
public class BookService {
     Book  getBook( Integer id) {
        //Construct a Book instance and return it...
}When I call BookService, I get an exception saying "could not write xml". I guess this has got to do with the fact that I am using XMLStreamReader, the same implementation that XFire uses to convert objects.
I tired information provided on this link: http://xfire.codehaus.org/Message+Binding but now I get something like "There must be a method name element."
Any ideas how I get this running? Any help would be appreciated.
Thanks a lot.

Hi all,
I am using XFire (http://xfire.codehaus.org/) for exposing my web services. I ran across an issue while transporting an object that contains an XML document embedded in it.
As an example, here is the domain model:
public class Book {
     Integer id; 
     String name;
     XMLStreamReader document;
    //Setters and getters follow...
public class BookService {
     Book  getBook( Integer id) {
        //Construct a Book instance and return it...
}When I call BookService, I get an exception saying "could not write xml". I guess this has got to do with the fact that I am using XMLStreamReader, the same implementation that XFire uses to convert objects.
I tired information provided on this link: http://xfire.codehaus.org/Message+Binding but now I get something like "There must be a method name element."
Any ideas how I get this running? Any help would be appreciated.
Thanks a lot.

Similar Messages

  • Help with embedding XML / Flash Banner Rotator?!?

    Hey guys, please help me; I'm having some trouble embedding this flash/xml banner rotator into this page, I can see that the file has been uploaded, however when I try to place it into the page, it just doesn't work. I even get error reports from IE, the code was all place by dreamweaver.
    The first set of code below is the entire page, the second set is the part that isn't working for me (the part I'm too dumb to fix).
    The code that is highlighted in red is the code with the <embed> tag.
    Whole page:
    <!--
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Bognogginz - from the mind of Jim Jenkins</title>
    <meta name="description" content="Bognogginz - from the mind of Jim Jenkins, professional sculptor for hire."/>
    <meta name="keywords" content="Bognogginz, Jim Jenkins, Jenkins, Jim, sculpting, sculptor, professional, for hire, hire, hire sculpting, sculptor for hire, professional sculptor, art, artist, artist for hire, artisan, sculptings"/>
    <style type="text/css">
    <!--
    body {
         background-image: url();
         background-repeat: no-repeat;
         background-position:center;
         background-position:top;
         margin-top: 0px;
         margin-bottom: 0px;
         background-color: #26231C;
    .style3 {
         font-size: 23px;
         letter-spacing: -1px;
         color: #FFFFFF;
         font-family: Geneva, Arial, Helvetica, sans-serif;
    .style7  {
         font-size: 12px;
         font-family: Geneva, Arial, Helvetica, sans-serif;
         color: #f2d2a6;
    .style9 {
         font-size: 11px;
         font-family: Geneva, Arial, Helvetica, sans-serif;
         color: #FFFFFF;
    .style10 {font-size: 4px}
    .style11 {
         letter-spacing: 0px;
         color: #FFFFFF;
         font-family: Geneva, Arial, Helvetica, sans-serif;
         font-size: 17px;
    a:link  {
         text-decoration: none;
         color: #FFFFFF;
    a:visited  {
         text-decoration: none;
         color: #FFFFFF;
    a:hover  {
         text-decoration: underline;
         color: #FE38AF;
    a:active  {
         text-decoration: none;
         color: #FFFFFF;
    body,td,th {
         font-family: Geneva, Arial, Helvetica, sans-serif;
    .style13 {color: #26231C}
    .style16 {
         letter-spacing: -1px;
         font-size: 20px;
         font-weight: normal;
         font-family: Geneva, Arial, Helvetica, sans-serif;
         font-style: normal;
         font-variant: normal;
         color: #000000;
    .style18 {
         color: #FFFFFF;
         font-size: 11px;
    .style20 {
         font-size: 8px;
         color: #DAC375;
    .style21 {
         font-size: 20px;
         font-family: Geneva, Arial, Helvetica, sans-serif;
         font-style: italic;
         font-variant: normal;
         color: #000000;
         letter-spacing: -1px;
    -->
    </style>
    <script type="text/javascript">
    <!--
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    function MM_goToURL() { //v3.0
      var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
      for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
    //-->
    </script>
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <script src="Scripts/AC_ActiveX.js" type="text/javascript"></script>
    </head>
    <body>
    <table width="1024" border="0" align="center" cellpadding="0" cellspacing="0" background="bognogginz_site_pageBG_rev.jpg">
      <tr>
        <td height="1050" align="center" valign="top"><table width="1000" border="0">
          <tr>
            <td height="277" align="center"><table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="316" height="44" align="left" valign="top"> </td>
                <td width="274" align="left" valign="top"> </td>
                <td width="46" align="center" valign="middle"><a href="http://www.milkm.com/bog/index.html" target="_self"><img src="http://www.milkm.com/bog/buttons/home_on.png" alt="Home" width="46" height="16" border="0" longdesc="http://www.milkm.com/bog/index.html" /></a></td>
                <td width="19" align="left" valign="top"> </td>
                <td width="63" align="center" valign="middle"><a href="/gallery/gallery.html" target="_self" onmouseover="MM_swapImage('Gallery','','http://www.milkm.com/bog/buttons/gallery_on.png',1)" onmouseout="MM_swapImgRestore()"><img src="http://www.milkm.com/bog/buttons/gallery_off.png" alt="Click here to view my gallery." name="Gallery" width="63" height="16" border="0" id="Gallery" /></a></td>
                <td width="19" align="left" valign="top"> </td>
                <td width="146" align="center" valign="middle"><a href="/contact.html" target="_self" onmouseover="MM_swapImage('Contact','','http://www.milkm.com/bog/buttons/contact_on.png',1)" onmouseout="MM_swapImgRestore()"><img src="http://www.milkm.com/bog/buttons/contact_off.png" alt="Click here to contact the artist." name="Contact" width="146" height="16" border="0" id="Contact" /></a></td>
                <td width="19" align="left" valign="top"> </td>
                <td width="45" align="center" valign="middle"><a href="/more.html" target="_self" onmouseover="MM_swapImage('More','','http://www.milkm.com/bog/buttons/more_on.png',1)" onmouseout="MM_swapImgRestore()"><img src="http://www.milkm.com/bog/buttons/more_off.png" alt="Click here to learn more." name="More" width="45" height="16" border="0" id="More" /></a></td>
                <td width="20" align="center" valign="middle"> </td>
                <td width="45" align="center" valign="middle"><a href="http://bognogginz.blogspot.com" target="_blank" onmouseover="MM_swapImage('Blog','','http://www.milkm.com/bog/buttons/blog_on.png',1)" onmouseout="MM_swapImgRestore()"><img src="http://www.milkm.com/bog/buttons/blog_off.png" alt="Click here to read my blog!" name="Blog" width="43" height="16" border="0" id="Blog" /></a></td>
              </tr>
              <tr>
                <td height="48" colspan="11"> </td>
              </tr>
              <tr>
                <td height="143" colspan="11" align="center" valign="middle"><table width="920" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td height="102" align="left" valign="top" class="style3">Welcome to Bognogginz.com, the online gallery for the works of Jim Jenkins. <a href="/contact.html" class=".class1">You can contact Jim for a current list of items available for purchase.</a></td>
                  </tr>
                </table>
                  <br /></td>
              </tr>
            </table></td>
          </tr>
        </table>
        <br />
        <table width="1000" border="0" align="center">
          <tr>
            <td height="504" align="center" valign="top"><table width="952" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="952" height="460" align="center" valign="bottom"><script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','952','height','445','src','rotator','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','rotator' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="952" height="445">
                  <param name="movie" value="rotator.swf" />
                  <param name="quality" value="high" />
                  <embed src="rotator.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="952" height="445"></embed>
                </object></noscript></td>
              </tr>
            </table>
            <table width="950" border="0" align="center" cellpadding="0" cellspacing="0" onclick="MM_goToURL('parent','/gallery/gallery.html');return document.MM_returnValue">
                <tr>
                  <td width="940" height="39" align="left" valign="middle" class="b" onclick="MM_goToURL('parent','/gallery/gallery.html');return document.MM_returnValue" td><span class="style16">featured Bognogginz © creations...</span><span class="style21"> more</span></td>
                </tr>
              </table>
              <br /></td>
          </tr>
        </table>
        <br />
        <table width="1000" border="0">
          <tr>
            <td height="192"><table width="950" border="0" align="center">
              <tr>
                <td height="115" align="left" valign="top" class="style11"><div align="left">This website features images of original works of art created by Jim. Everything you see on this website is a one of a kind creation from the imagination of Jim Jenkins. No molds or mass production methods are used to create these collector pieces.</div></td>
              </tr>
            </table>
              <br />
              <table width="950" border="0" align="center">
                <tr>
                  <td width="559" align="left" valign="middle"><span class="style9"><a href="htp://www.milkm.com/bog/index.html" target="_self">home</a> | <a href="/gallery.html" target="_self">gallery</a> | <a href="/contact.html" target="_self">contact the artist</a> | <a href="/more.html" target="_self">more</a> | <a href="http://bognogginz.blogspot.com" target="_blank">blog</a></span></td>
                  <td width="375" align="right" valign="middle" class="style7 style18">all information and images copyright © 2009 by Jim Jenkins</td>
                </tr>
              </table></td>
          </tr>
        </table></td>
      </tr>
    </table>
    <table width="1024" border="0" align="center" cellpadding="5" cellspacing="0">
      <tr>
        <td width="1014" align="right" valign="top" class="style13"><a href="http://www.milkm.com/" target="_blank"><img src="http://www.milkm.com/stampOnDark.png" alt="This website by Milk!" width="81" height="18" border="0" /></a></td>
      </tr>
    </table>
    </body>
    </html>
    -->
    problem here :
    Really, all of you thank you so much for your help, it is appreciated more than you know! Thank you!

    Hi
    All I am seeing is your actual page layout, no code.
    But as you say it is an xml file (swf), it is more than likely that you have placed the swf and xml files in incompatible places. So without seeing your code, all I can suggest is to check the file placement of all items.
    PZ
    Can see the code now, for some reason it was rendering the code, not displaying it until I refreshed the page.
    Message was edited by: pziecina

  • Matching JS XML object with Indd XML elements

    Hello Scripters,
    I need help ...
    I have some XML from a file read into a Javascript XML object.
    The object has the name "myXml", and contains:
        <book id="bk101">
            <author>Gambardella, Matthew</author>
            <title>XML Developer's Guide</title>
            <genre>Computer</genre>
            <imagecontainer href="C:\33415677.JPG"></imagecontainer>
            <price>44.95</price>
            <publish_date>2000-10-01</publish_date>
            <description><test>Sublevel</test>An in-depth look at creating applications with XML.</description>
        </book>
        ... and several other books
    I also have some XML in Indesign, wich in my JS is known as "myTplXmlRoot".
    myTplXmlRoot is defined as myTplXmlRoot = mySelection.associatedXMLElement;
    What would be the best approach for matching elements of the same name in the two xml structures, and where there is a match* replace the Indesign content**, with that from the object "myXml"?
    *) Match if same name, dont worry about place in hirachy
    **) content might be an image

    I've figured out the solution to my problem. For anyone
    interested, see me code below (the xml element names are different,
    but the concept is the same).

  • SCREEN VARIANTS" and "MAINTANANCE AND TRANSPORT OBJECTS"

    Hello Guru's,
    am in upgradation now in the stage of working with "SPAU"
    I want to do compare  "SCREEN VARIANTS" and "MAINTANANCE AND TRANSPORT OBJECTS"
    with old to new versions
    can we do that with SPAU or any other will required?
    help me on the above
    points will be rewarded>>>(**)
    Thanks in advance.......

    Hello Guru's,
    am in upgradation now in the stage of working with "SPAU"
    I want to do compare  "SCREEN VARIANTS" and "MAINTANANCE AND TRANSPORT OBJECTS"
    with old to new versions
    can we do that with SPAU or any other will required?
    help me on the above
    points will be rewarded>>>(**)
    Thanks in advance.......

  • Problem with embedded OLE objects

    I am using Outlook as client.
    I sent mail with Excel table as embeddet object.
    Outlook can after what read and show this mail.
    But if I read this mail with SOAP I get a message body without Excel table.
    I thought it should be in attachment.
    hasAttachments-filed in mail object is true, but attachments-filed is empty (not null!): attachments=AttachmentItemInfo[0].
    I am reading mail with getItemRequest and view = "default attachments attachment message attachments".
    We are using Groupwise 8.0.1 HP1.
    What is hier wrong? How can I read OLE object with SOAP?

    The complete response was not included.
    If you are trying to save an embedded OLE attachment,
    there is no logic to do that on the POA, the attachment
    will be dropped.
    Preston
    >>> On Wednesday, April 07, 2010 at 5:56 AM, d
    shvedov<[email protected]> wrote:
    > Hi Preston,
    > thank you for your answer.
    >
    > I am trying to use a stubbing feature. Before to stub a mail I need to
    > read and archive all parts of the mail.
    > So, I send an email with embeded objects in RTF format with Outlook and
    > try to read all part of the email with SOAP.
    > I can read message body but I can't get attachments: in response I see
    > hasAttachments=true, but attachments field is empty.
    >
    > If I send mails with attachents without embedded objects I can read
    > message body and attachments without any problems.
    >
    > SOAP trace is:
    >
    > <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s
    > :Header><h:gwTrace xmlns:h="http://schemas.novell.com/2005/01/Grou
    > pWise/types" xmlns="http://schemas.novell.com/2005/01/GroupWise/ty
    > pes">true</h:gwTrace><h:session xmlns:h="http://schemas.novell.com
    > /2005/01/GroupWise/types" xmlns="http://schemas.novell.com/2005/01
    > /GroupWise/types">yr4stT3y9bKPJXex</h:session></s:Header><s:Body x
    > mlns:xsi="http://www.w3.org/2001/XMLSchema‑instance" xmlns:xsd="ht
    > tp://www.w3.org/2001/XMLSchema"><getItemRequest xmlns="http://sche
    > mas.novell.com/2005/01/GroupWise/methods"><id>4BBC895E.EXDEV‑GW‑SU
    > B DOMÄNE.Postämt 2.100.1723135.1.B2.1@1:7.EXDEV‑GW‑SUB
    DOMÄNE.P
    > ostämt 2.100.0.1.0.1@16</id><view>default attachments attachment
    > message stubbed members</view></getItemRequest></s:Body></s:Envelo
    > pe>
    >
    > <?xml version="1.0" encoding="UTF‑8"?><s:Envelope xmlns:s="http://
    > schemas.xmlsoap.org/soap/envelope/"><s:Header/><s:Body xmlns:xsd="
    > http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/200
    > 1/XMLSchema‑instance"><getItemResponse xmlns:gwt="http://schemas.n
    > ovell.com/2005/01/GroupWise/types" xmlns="http://schemas.novell.co
    > m/2005/01/GroupWise/methods"><item xmlns:xsi="http://www.w3.org/20
    > 01/XMLSchema‑instance" xsi:type="gwt:Mail"><gwt:id>4BBC895E.EXDEV‑
    > GW‑SUB DOMÄNE.Postämt 2.100.1723135.1.B2.1@1:7.EXDEV‑GW‑SUB
    DOMÃ
    > „NE.Postämt 2.100.0.1.0.1@16</gwt:id><gwt:sid>178</gwt:sid><gwt:v
    > ersion>3</gwt:version><gwt:modified>2010‑04‑07T11:32:20Z </gwt:modi
    > fied><gwt:container>7.EXDEV‑GW‑SUB DOMÄNE.Postämt
    2.100.0.1.0.1@
    > 16</gwt:container><gwt:created>2010‑04‑07T11:32:14 Z</gwt:created><
    > gwt:status><gwt:opened>1</gwt:opened><gwt:read>1</gwt:read></gwt:s
    > tatus><gwt:msgId>4BBC895E.EXDEV‑GW‑SUB DOMÄNE.Postämt
    2.200.2000
    > 0A8.1.D.1</gwt:msgId><gwt:clientMessageId>4BBC6D3E.955 : 168 : 475
    > 56</gwt:clientMessageId><gwt:source>received</gwt:source><gwt:deli
    > vered>2010‑04‑07T11:32:14Z</gwt:delivered><gwt:security>Normal</gw
    > t:security><gwt:subject>Diagramm6</gwt:subject><gwt:distribution><
    > gwt:from><gwt:displayName>Mouse (Micky)</gwt:displayName><gwt:emai
    > l>[email protected]‑exdev.local</gwt:email><gwt:uuid>A6547C30‑037D‑0000
    > ‑A7CB‑D4A471119EEE</gwt:uuid></gwt:from><gwt:to>Mouse (Micky)</gwt
    > :to><gwt:sendoptions><gwt:statusTracking>None</gwt:statusTracking>
    >
    > Do you have any idea?
    > Thank you!

  • Word 2010 Document with embedded pdf objects

    Is it possible to convert a word 2010 document with embedded pdf object into a PDF without loosing the functiuonality of double clicking on the Acrobat icon and opening the (embedded) document?
    Thank you for your help.

    Pretty sure that the PDF will contain exactly what you'd get if you printed the Word document. There is no promise or expectation that objects will be "live".

  • Xml file with embedded xsl reports unknow error: An unknown error has occurred (805303f4)

    Hi,
    I have an xml file with embedded xsl link like below :
    XML :
    <pre><nowiki><?xml version="1.0" encoding="ISO-8859-1"?>
    <?xml-stylesheet type="text/xsl" href="http://abc.com/x.xsl"?>
    <catalog>
    <cd>
    <title>Empire Burlesque</title>
    <artist>Bob Dylan</artist>
    <country>USA</country>
    <company>Columbia</company>
    <price>10.90</price>
    <year>1985</year>
    </cd>
    </catalog></nowiki></pre>
    When opening xml file on IE, opera, safary ... it works ok. But when opening it on FireFox, i have an error like :
    Error loading stylesheet: An unknown error has occurred (805303f4)
    http://abc.com/x.xsl
    How could i solve this problem ?

    A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
    The helpers at that forum are more knowledgeable about web development issues.
    You need to register at the mozillaZine forum site in order to post at that forum.
    See http://forums.mozillazine.org/viewforum.php?f=25

  • Merge swatches should be allowed with embedded raster objects

    For clarity:
    Open a new document. Import two PMS swatches of your choice. Draw a box. Fix the box with one of the PMS colors. Rasterize the box at 300 ppi. Now, suddenly, you realize that you want the box colored the second PMS swatch. However, after you try to simply merge the swatches, Illustrator refuses to do so.
    Obviously I gave a watered down example, but you get the idea. I can understand you can't merge swatches with a linked image, but I don't understand why the code can't be written to allow merging of swatches with embedded raster objects.

    For clarity:
    Open a new document. Import two PMS swatches of your choice. Draw a box. Fix the box with one of the PMS colors. Rasterize the box at 300 ppi. Now, suddenly, you realize that you want the box colored the second PMS swatch. However, after you try to simply merge the swatches, Illustrator refuses to do so.
    Obviously I gave a watered down example, but you get the idea. I can understand you can't merge swatches with a linked image, but I don't understand why the code can't be written to allow merging of swatches with embedded raster objects.

  • Transportation probelms with objects

    Hi
    most of objects we installed bsuiness content, and migrated to 7.0 and amde some enhancements and moving quality each time request is getting failed like some objects are inactive for each module.  its defficult to check each object ( char and its contain attributes are active ior not)
    is theer any process i can check while collecting what are objects are inactive?
    2nd probelm is
    i replicated all datasource from ecc quality to BI quality
    then i am sending migration an dactive version of datasource to BI quality
    i am collecting all flow. why while transportating again data source is going source system for replication process?
    any setting we need to adjust, bec its taking long time
    ple let em know

    Hi,
    1. First you check all master data InfoObjects are Active or not?. Eg: take 0MATERIAL and check all Objects with in that i.e. Attributes, NaviGational...are active or not?. In this way you collect all InfoObejcts Information in one Excel sheet and then Transport all Ativated InfoOBjects to BI Qty.Then you send all Cubes/DSO's and so on....
    2. First you Transport the datasources from ECC Dev to ECC Qty and then Replicate all DS'S in BI Qty system and then You transport the Transfer/Update/Tranformations/DTPS from BI Dev to BI Qty.
    Thanks
    Reddy

  • Problem with embedded objects

    Hi,
    I have problem with embedded objects which contained embedded objects.
    When I create an Object in the persistent memory and commit this object I get the following error:
    ORA-22805: cannot insert NULL object into object tables or nested tables
    In the constructor of my persisten object I create the embedded members in the transient memory:
    ATestPersObj::ATestPersObj() : m_count(0), m_lang(NULL), m_cost(NULL) {
      m_lang = new AEnumLanguage_OraType();
      m_cost = new AAmount_OraType();
    }Or when I dereference a reference I get this error:
    ORA-00600: internal error code, arguments: [kokeicadd2], [16], [5], [], [], [], [], []
    Can somebody give me a hint?
    I've defined the following Type:
    CREATE OR REPLACE TYPE AENUM_ORATYPE AS OBJECT (
                             VALUE  NUMBER(10,0)
                           ) NOT FINAL ;
    CREATE OR REPLACE TYPE AENUMLANGUAGE_ORATYPE UNDER AENUM_ORATYPE (
                           ) FINAL " );
    CREATE OR REPLACE TYPE ACURRENCY_ORATYPE AS OBJECT (
                             ISONR          NUMBER(5,0)
                           ) FINAL ;
    CREATE OR REPLACE TYPE AAMOUNT_ORATYPE AS OBJECT (
                             CCY        ACURRENCY_ORATYPE,
                             LO32BITS   NUMBER(10,0),
                             HI32BITS   NUMBER(10,0)
                           ) NOT FINAL ;
    CREATE OR REPLACE TYPE ATESTPERSOBJ AS OBJECT (
                             COUNT    NUMBER(4),
                             LANG     AENUMLANGUAGE_ORATYPE,
                             COST     AAMOUNT_ORATYPE   
                           ) FINAL ;
    oracle::occi::Ref<ATestPersObj> pObjR = new(c.getConnPtr(), "TTESTPERSOBJ") ATestPersObj();
    pObjR->setCount(i+2001);
    pObjR->setLang(AEnumLanguage(i+1));
    pObjR->setCost(AAmount(ACurrency(), 2.5));
    c.commit();
    c.execQueryRefs("SELECT REF(a) FROM TTESTPERSOBJ a", persObjListR);
    len = persObjListR.size();
    {for (int i = 0; i < len; i++) {  
      oracle::occi::Ref<ATestPersObj> pObjR = persObjListR;
    pObjR->getCount();
    pObjR->getLang();
    c.commit();
    With kind regards
    Daniel
    Message was edited by:
    DanielF
    Message was edited by:
    DanielF

    Hi,
    I have problem with embedded objects which contained embedded objects.
    When I create an Object in the persistent memory and commit this object I get the following error:
    ORA-22805: cannot insert NULL object into object tables or nested tables
    In the constructor of my persisten object I create the embedded members in the transient memory:
    ATestPersObj::ATestPersObj() : m_count(0), m_lang(NULL), m_cost(NULL) {
      m_lang = new AEnumLanguage_OraType();
      m_cost = new AAmount_OraType();
    }Or when I dereference a reference I get this error:
    ORA-00600: internal error code, arguments: [kokeicadd2], [16], [5], [], [], [], [], []
    Can somebody give me a hint?
    I've defined the following Type:
    CREATE OR REPLACE TYPE AENUM_ORATYPE AS OBJECT (
                             VALUE  NUMBER(10,0)
                           ) NOT FINAL ;
    CREATE OR REPLACE TYPE AENUMLANGUAGE_ORATYPE UNDER AENUM_ORATYPE (
                           ) FINAL " );
    CREATE OR REPLACE TYPE ACURRENCY_ORATYPE AS OBJECT (
                             ISONR          NUMBER(5,0)
                           ) FINAL ;
    CREATE OR REPLACE TYPE AAMOUNT_ORATYPE AS OBJECT (
                             CCY        ACURRENCY_ORATYPE,
                             LO32BITS   NUMBER(10,0),
                             HI32BITS   NUMBER(10,0)
                           ) NOT FINAL ;
    CREATE OR REPLACE TYPE ATESTPERSOBJ AS OBJECT (
                             COUNT    NUMBER(4),
                             LANG     AENUMLANGUAGE_ORATYPE,
                             COST     AAMOUNT_ORATYPE   
                           ) FINAL ;
    oracle::occi::Ref<ATestPersObj> pObjR = new(c.getConnPtr(), "TTESTPERSOBJ") ATestPersObj();
    pObjR->setCount(i+2001);
    pObjR->setLang(AEnumLanguage(i+1));
    pObjR->setCost(AAmount(ACurrency(), 2.5));
    c.commit();
    c.execQueryRefs("SELECT REF(a) FROM TTESTPERSOBJ a", persObjListR);
    len = persObjListR.size();
    {for (int i = 0; i < len; i++) {  
      oracle::occi::Ref<ATestPersObj> pObjR = persObjListR;
    pObjR->getCount();
    pObjR->getLang();
    c.commit();
    With kind regards
    Daniel
    Message was edited by:
    DanielF
    Message was edited by:
    DanielF

  • Broadcasting scheduling settings not transported along with object BRSE

    Hi ,
    I transported object BRSE (broadcasting object) with the Transport Connection (RSA1 transaction) from development system to the test one. I also transported previously the object TMPL (the Web Template in which I customized the broadcasting).
    The transportation was succesfull, everything was transported Ok except from the broadcasting schedulling settings. I really don't know why?
    I'll appreciate any help on this issue.
    Best regards,

    Hi Alex and thank you for your answer.
    The transport log shows this warning:
    Event ZSICO_LDM (DC) does not exist; registration of setting Z_ENVIO_QUERY_RECONC_RC deleted
    Broadcast setting Z_ENVIO_QUERY_RECONC_RC activated successfully
    We don't created any event manually, so we think that ZSICO_LDM is an event that was automatically created.
    Z_ENVIO_QUERY_RECONC_RC is our Broadcasting scheduling that sends a query by e-mail.
    Now we can see Z_ENVIO_QUERY_RECONC_RC on RSA1 -> Metadata Repository finding the query, but when we open the broadcast settings for this query, it does not appears.
    Do you know why?
    Thanks a lot.
    B.R.

  • XMLAGG giving ORA-19011 when creating CDATA with large embedded XML

    What I'm trying to achieve is to embed XML (XMLTYPE return type) inside a CDATA block. However, I'm receiving "ORA-19011: Character string buffer too small" when generating large amounts of information within the CDATA block using XMLCDATA within an XMLAGG function.
    Allow me to give a step by step explanation through the thought process.
    h4. Creating the inner XML element
    For example, suppose I have the subquery below
    select
        XMLELEMENT("InnerElement",DUMMY) as RESULT
    from dual
    ;I would get the following.
    RESULT                           
    <InnerElement>X</InnerElement>h4. Creating outer XML element, embedding inner XML element in CDATA
    Now, if I my desire were to embed XML inside a CDATA block, that's within another XML element, I can achieve it by doing so
    select
        XMLELEMENT("OuterElement",
            XMLCDATA(XML_RESULT)
        ) XML_IN_CDATA_RESULT
    FROM
    (select
        XMLELEMENT("InnerElement",DUMMY) as XML_RESULT
    from dual)
    ;This gets exactly what I want, embedding XML into CDATA block, and CDATA block is in an XML element.
    XML_IN_CDATA_RESULT                                                       
    <OuterElement><![CDATA[<InnerElement>X</InnerElement>]]></OuterElement>    So far so good. But the real-world dataset naturally isn't that tiny. We'd have more than one record. For reporting, I'd like to put all the <OuterElement> under a XML root.
    h4. Now, I want to put that data in XML root element called <Root>, and aggregate all the <OuterElement> under it.
    select
        XMLELEMENT("Root",
            XMLAGG(
                XMLELEMENT("OuterElement",
                    XMLCDATA(INNER_XML_RESULT)
    FROM
        (select
             XMLELEMENT("InnerElement",DUMMY) as INNER_XML_RESULT
         from dual)
    ;And to my excitement, I get what I want..
    <Root>
        <OuterElement><![CDATA[<InnerElement>X</InnerElement>]]></OuterElement>
        <OuterElement><![CDATA[<InnerElement>Y</InnerElement>]]></OuterElement>
        <OuterElement><![CDATA[<InnerElement>Z</InnerElement>]]></OuterElement>
    </Root>  But... like the real world again... the content of <InnerElement> isn't always so small and simple.
    h4. The problem comes when <InnerElement> contains lots and lots of data.
    When attempting to generate large XML, XMLAGG complains the following:
    ORA-19011: Character string buffer too smallThe challenge is to keep the XML formatting of <InnerElement> within CDATA. A particular testing tool I'm using parses XML out of a CDATA block. I'm hoping to use [Oracle] SQL to generate a test suite to be imported to the testing tool.
    I would appreciate any help and insight I could receive, and hopefully overcome this roadblock.
    Edited by: user6068303 on Jan 11, 2013 12:33 PM
    Edited by: user6068303 on Jan 11, 2013 12:34 PM

    That's an expected error.
    XMLCDATA takes a string as input, but you're passing it an XMLType instance, therefore an implicit conversion occurs from XMLType to VARCHAR2 which is, as you know, limited to 4000 bytes.
    This indeed gives an error :
    SQL> select xmlelement("OuterElement", xmlcdata(inner_xml))
      2  from (
      3    select xmlelement("InnerElement", rpad(to_clob('X'),8000,'X')) as inner_xml
      4    from dual
      5  ) ;
    ERROR:
    ORA-19011: Character string buffer too small
    no rows selectedThe solution is to serialize the XMLType to CLOB before passing it to XMLCDATA :
    SQL> select xmlelement("OuterElement",
      2           xmlcdata(xmlserialize(document inner_xml))
      3         )
      4  from (
      5    select xmlelement("InnerElement", rpad(to_clob('X'),8000,'X')) as inner_xml
      6    from dual
      7  ) ;
    XMLELEMENT("OUTERELEMENT",XMLCDATA(XMLSERIALIZE(DOCUMENTINNER_XML)))
    <OuterElement><![CDATA[<InnerElement>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX(use getClobVal method if your version doesn't support XMLSerialize)

  • Transporting object of IR&ID to PRD with CMS.

    hi.
    my PRD environment consists of CI and DI.
    how to transport object to PRD.
    need i to transport object respectively both CI and DI?
    if so,how to config this about CMS and other something?

    if so,how to config this about CMS and *other something* ?
    If you are looking for some other option also then you can make use of CTS+ (for SAP PI7.0 SP14 and above):
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00246ec1-dec5-2a10-58b9-e111c091c00b&overridelayout=true
    Check page 4 of the above document.....your configuration will be also somewhat similar....instaed of Acceptance system it will be CI/ DI for you.
    Regards,
    Abhishek.

  • Interacting with embedded object

    I'm using a bit of software called 3Dvia composer which is used to create 3D technical documentation.  The software is capable of exporting the 3D content to a PDF.  The content is then viewed in the PDF via an embedded activex player which has it's own API.
    I have one such PDF with embedded 3Dvia content which I would like to add some text boxes to and some JavaScript to extract information from the embedded content and put it in the text boxes.  I have successfully done this before in an HTML page using VBScript.
    Unfortunately I know next to nothing about JavaScript!  Can anybody give me some idea of how I could identify the embedded player in the PDF using JavaScript, so that I can use it's methods?
    Any advice would be much appreciated!

    I can't really help you with learning JavaScript, but once you do, you can take a look at the JavaScript for Acrobat 3D Annotations API Reference located at the URL below.
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_3D_Intro.90.1.html
    J-

  • Extract embedded xml from PDF/A-3b (also creation)

    Hello there,
    in the context of a research project, we are currently trying to extract embedded xml from a PDF/A-3b document via code.
    The project deals with establishing a new invoicing standard (Zugferd: ferd-net.de, only german). Invoices are expressed via xml, which is embedded in PDF/A.
    What we are trying to archive is extraction of the xml via java code. For testing purposes, we are currently using an third party skd to extract the invoice-xml, by calling a .EXE file and then picking up the results in java.
    I currently have only one valid example file that can be processed via this sdk. To get more data, i used the test version of acrobat pro to alter the embedded xml file. To be more specific, i deleted the embedded file, added a new xml file, and used preflight to make the PDF conform to /A-3b. Although the file seems to have the same properties as the original, it can no more be processed via the extraction sdk. Since messing around with acrobat does not seem to get me anywhere, i am now looking into extracting data from the pdf my self.
    Is there any present implementation/library/solution for extracting data in a java context? The few third party tools i found are all based of a .net/windows native environment. I have heard rumors about Adobe giving out tools to extract embedded data from PDF/A?
    How is it the other way around? Is it possible to embedd xml into a PDF via Java? Given there allready is PDF file which we can attach to.
    I really appreciate reading and thanks for any help or input!
    Greetings,
    Florian

    Hi Florian,
    I would look for general purpose PDF libraries that can open a PDF and access data objects in it.
    All in all it is not too difficult to get to the embedded XML, once you have a library that can access and read data structures/data objects inside a PDF file. Some understanding of the inner workings of PDF data structures will help you get the job done (e.g. read the section about embedded files in the PDF standard / ISO 32000-1, as well as the chapter about PDF syntax).
    Olaf
    Am 19 Aug 2013 um 13:19 schrieb xfrapp <[email protected]>:
    Extract embedded xml from PDF/A-3b (also creation)
    created by xfrapp in PDF Language and Specifications - View the full discussion
    Hello there,
    in the context of a research project, we are currently trying to extract embedded xml from a PDF/A-3b document via code.
    The project deals with establishing a new invoicing standard (Zugferd: ferd-net.de, only german). Invoices are expressed via xml, which is embedded in PDF/A.
    What we are trying to archive is extraction of the xml via java code. For testing purposes, we are currently using an third party skd to extract the invoice-xml, by calling a .EXE file and then picking up the results in java.
    I currently have only one valid example file that can be processed via this sdk. To get more data, i used the test version of acrobat pro to alter the embedded xml file. To be more specific, i deleted the embedded file, added a new xml file, and used preflight to make the PDF conform to /A-3b. Although the file seems to have the same properties as the original, it can no more be processed via the extraction sdk. Since messing around with acrobat does not seem to get me anywhere, i am now looking into extracting data from the pdf my self.
    Is there any present implementation/library/solution for extracting data in a java context? The few third party tools i found are all based of a .net/windows native environment. I have heard rumors about Adobe giving out tools to extract embedded data from PDF/A?
    How is it the other way around? Is it possible to embedd xml into a PDF via Java? Given there allready is PDF file which we can attach to.
    I really appreciate reading and thanks for any help or input!
    Greetings,
    Florian
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5606424#5606424
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5606424#5606424
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5606424#5606424. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in PDF Language and Specifications by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.
    Olaf Druemmer | Managing Director | callas software GmbH | Schoenhauser Allee 6/7 | 10119 Berlin
    Tel +49.30.4439031-0 | Fax +49.30.4416402 | [email protected] | www.callassoftware.com
    Amtsgericht Charlottenburg, HRB 59615 | Geschäftsführung: Olaf Drümmer, Ulrich Frotscher

Maybe you are looking for

  • Lost quality in photo gallery

    Suddenly, the quality of the photos in my photo gallery went from great to really bad. Does anyone know why?

  • Regarding Keyfigures

    Hi,    How are you experts., for keyfigures to segregate what are the data types., the few i know is   amount, unit, currency and if any others please let me know on it., As i have to design datamodels based on reporting requirements where for infocu

  • Improvement need to be done bios 1.55

    moving from bios 1.4 to 1.55 beta is good, but I found one thing that this bios is need to be work at and that is the stability on 1T. My kingston hyperX 4000 is design at 3-4-4-8-1T @ ddr 500 to take full advantage of the memory but the system wont

  • I'm running CS4 and use a Canon T3i to shoot RAW. Which camera raw patch do I need?

    I'm running CS4 and use a Canon T3i to shoot RAW. Which camera raw patch do I need? I get his error when trying to install the latest patch: "Adobe Application Manager is needed to resolve this problem, however it is missing or damaged. Download a ne

  • Creating Audiobooks with Chapter Divisions from MP3 files.

    I can create a plain old audiobook file from mp3's using this program... http://www.freeipodsoftware.com/ I have several unabridged books that have one 15-20 min mp3 file per chapter. I have heard that i want to keep audiobook file sizes below 320MB