Processing Instructions are not allowed in SOAP documents

Hi, there. I am trying to integrate WS-Security into our server using the api-sample in JWSDP 1.6 as it is the one that fits into our current architecture in place.
I have the following code:
DOMSource domSource = new DOMSource( indoc );
SOAPPart soapPart = msg.getSOAPPart();
soapPart.setContent( domSource );
ProcessingContext context = new ProcessingContext();
context.setSOAPMessage( msg );
where indoc is an org.w3c.dom.Document object.
The last line throws an exception that is ultimately caused by:
java.lang.UnsupportedOperationException: Processing Instructions are not allowed in SOAP documents
at com.sun.xml.messaging.saaj.soap.SOAPDocumentImpl.createProcessingInstruction(SOAPDocumentImpl.java:109)
(Please find the complete (partially edited) stack trace at the end of this message.)
The exception is thrown even when the following very simple (unsigned) SOAP message is submitted:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><requestMessage xmlns="urn:schemas-company-com:transaction-data-1.17"><merchantID>ever03</merchantID><ccAuthService run="true"/></requestMessage></soap:Body></soap:Envelope>
As you can see, the only processing instruction is the XML processing instruction, which I don't believe is disallowed in SOAP documents, right? So, I'm not sure why it's complaining about processing instructions. I'm guessing during the transformation into whatever form ProcessingContext wants the document to be in, certain processing instructions are erroneously being inserted.
I would appreciate any inputs. Below is the stack trace, partially edited to show only the relevant lines.
Thanks,
Ever
com.sun.xml.wss.XWSSecurityException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
at com.sun.xml.wss.SecurableSoapMessage.getEnvelope(SecurableSoapMessage.java:109)
at com.sun.xml.wss.SecurableSoapMessage.init(SecurableSoapMessage.java:89)
at com.sun.xml.wss.SecurableSoapMessage.setSOAPMessage(SecurableSoapMessage.java:400)
at com.sun.xml.wss.ProcessingContext.setSOAPMessage(ProcessingContext.java:199)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:111)
at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:39)
at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:98)
at com.sun.xml.wss.SecurableSoapMessage.getEnvelope(SecurableSoapMessage.java:107)
... 32 more
Caused by: javax.xml.transform.TransformerException: java.lang.UnsupportedOperationException: Processing Instructions are not allowed in SOAP documents
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:647)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279)
at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:97)
... 35 more
Caused by: java.lang.UnsupportedOperationException: Processing Instructions are not allowed in SOAP documents
at com.sun.xml.messaging.saaj.soap.SOAPDocumentImpl.createProcessingInstruction(SOAPDocumentImpl.java:109)
at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.createProcessingInstruction(SOAPPartImpl.java:368)
at com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.processingInstruction(SAX2DOM.java:177)
at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.processingInstruction(ToXMLSAXHandler.java:583)
at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:224)
at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:121)
at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:85)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:592)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:638)
... 37 more

Me again... I just realized my second post sounded like I had figured out the problem. No, I still have the problem. I just added the one line that I forgot to include in my original post.
I would sincerely appreciate any help.
Ever

Similar Messages

  • Help on BPM Steps (Lookups are not allowed, so only BPM)

    Hi Experts,
    Please help me to design the BPM for the following process (A mandatory rule is Lookups are not allowed so I must finish this with out using lookups.)
    Step1. We get a file from FTP, Once we get  the file, We need to get the next unique identification number from a webservice(a sync call, As per our rule, u201CNot to use  lookupsu201D).By the way there is no relation between the data fields for the FTP file and this SOAP call, i.e. the SOAP request is having constants as inpput.,but once I receive the file then only I need to make a call to get the next unique identification number.
    Step2. Once we receive the unique identification number from the SOAP call, I need to merge this identification number with the file (I have received from the FTP in STEP1) and then needs to send to a RFC which is a sync call again and it returns a logical number.After getting this logical number then only go the next step(The returned logical number means a confirmation for us,i.e after getting the number just go to next step)
    Step3. After getting the logical number from RFC, I need to send the obtained unique identification number( Of Step1, Webservices Unique identification) to another FTP as asynch.
    This one is easy when we use lookups, but we have a condition u201Cnot to use lookups!u201D  so please suggest me the steps(BPM) to do, which donu2019t let the BPM down.
    Thanks in advance.
    Regards,
    Rahul.

    Your complete BPM design will be:
    Receuve(FILE_ABS_Async)->Transformation(ToPutConstantsInTheSOAPReq)->SyncSend(SOAP_ABS_Sync)->Transformation(Needed, format will be 2:1; will have FileMSG_&_SOAPResp as source MSGs and RFCReq as target MSG)->SyncSend(RFC_ABS_Sync)->Switch(To Check if the RFC Logical Number does not exist...if it does not exist then in the condition branch of the Switch put a Control Step (action as Cancel Process)->If RFC Logical Number present then otherwise branch will be executed( nothing to be placed in this otherwise branch)-->Transformation(SOAPRespMSG of SOAP Sync step into FILE message format)-> Send(FILE_ABS_Async)......
    Wherever you have sync send steps put them in a block and insert an exception branch in that Block....in the exception branch put some logic which will be executed when there is an error in the Sync Call.....so your BPM wont fail even if the Sync Send fails.....
    Regards,
    Abhishek.

  • The latest version of Pages does not allow a Pages document to become a 'stationery pad'!  Is there a way to do this this other than through the 'Get Info' window?

    The latest version of Mavericks does not allow a Pages document to become a 'stationery pad'!  Is there a way to do this this other than through the 'Get Info' window?  As Pages templates cannot be ordered in folders, my many templates are effectively unusable now and I need to find another way to order and access them.

    Are you aware of that you can still use Pages 09 on Mavericks? You don't have to go thru the grieves of using the crippled Pages 5. Pages 09 should bi in Applications/iWork 09 folder.

  • F0282 payment method(s) are not allowed to this program*

    Hi.......... every one
    after running app i select systems in menu bar>out put control>press enter and clicked on execute button,then i selected the log and click on the display contents button but the system is giving the error message that
    f0282 payment method(s) are not allowed to this program

    HI,
    The error message F0282 that you are receiving, is not an error but the
    normal system functionality. This would be due to your customising so
    please check the detailed error description provided in detail in this
    reference.
    For example, the detailed error description would be as below
    =====================================================================
       Message no. F0 282
       Diagnosis
       In order to avoid incorrect payment media being able to be created
       with a program specified incorrectly, exactly one program is assigned
       to each payment method.
       System Response
       The list of payment methods(T) may only be processed by other payment
       medium programs. Therefore these payment methods are not processed by
       program RFFOM100.
       Procedure
       Check the payment medium programs allowed in the country IN payment
       method specifications.
    =====================================================================
    In customizing trans. FBZP, you have select the report that you are
    going to use for the payment method. Therefore, for example if you are
    using the RFFOUS_T in customising and afterwards try to use RFFOM100
    separately, you will get this message so you will have to change your
    customizing accordingly..
    xSo please check your customising in FBZP under Payment Method/country
    settings.Hope this info helps you to resolve this issue.
    Regard
    Madhu M

  • You are not allowed to enter a tax jurisdiction code for country US

    Hi All,
    We are having this message popping up "You are not allowed to enter a tax jurisdiction code for country US" when we try to add an item to a shopping cart. SRM 4.0 Classic scenario.
    Also when i process the shopping cart and create a PO out of it, our R/3 4.6C dosnot let me release the PO and error message is :"no tax jurisdiction code found"
    I have looked at some of the earlier threads but i could not find a definite solution. Has anybody faced similar problems? Please let me know !
    Thanks
    Sundeep

    Hi Sudeep,
    How did it work? Do you have to implement any BADI's or SRM or R/3 side? As we are getting same error while creating Shopping Cart in SRM.
    I have checked the plant data in R/3 and Jurisdiction code has been maintained there.
    Please advise
    Thank you
    Ritesh

  • Com.sap.aii.adapter.file.ftp.FTPEx: 550 You are not allowed to issue this

    hi All,
    We are getting below error while connecting to an FTP location through File Adapter:
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server XYZ. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 You are not allowed to issue this command'. For details, contact your FTP server vendor.
    Also when we tried to connect to this FTP location through PI server we able to connect, but when we connect to it through channel we are getting above error.
    Please Help!
    Thanks,
    Mayank

    hi All,
    The usedid we are using to connect to FTP location has appropriate access to write(we have an receiver file adapter) the files, when we connected to FTP location from PI server using same useid(as used in channel) we are able to connect to FTP location and also able to write the file there.
    Now error soming is:
    An error occurred while connecting to the FTP server XYZ. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 Operation is not supported under Connect:Enterprise FTP server.'. For details, contact your FTP server vendor.
    Thanks,
    Mayank

  • Non-whitespace characters are not allowed ...

    I'm trying to parse the following XML fragment into a DOM Document object:
    <CNetSpecs><section name="General
    "><spec name="Printer Type
    ">Personal printer - ink-jet - colour
    </spec><spec name="Weight
    ">6.4 kg
    </spec></section><section name="Printer
    "><spec name="Print Speed
    ">Up to 15 ppm - black draft ? Up to 15 ppm - colour draft ? Up to 0.65 min/page - photo best - 101.6 x 152.4 mm ? Up to 1.28 min/page - photo best - 203 x 254 mm
    </spec><spec name="Built-in Devices
    ">Preview screen
    </spec><spec name="Max Resolution ( B&W )
    ">5760 dpi x 1440 dpi
    </spec><spec name="Max Resolution ( Colour )
    ">5760 dpi x 1440 dpi
    </spec></section><section name="Software / System Requirements
    "><spec name="OS Required
    ">Microsoft Windows 98 Second Edition / Windows ME, Apple MacOS X 10.1, Apple MacOS X 10.2, Microsoft Windows 2000 / XP, Apple MacOS 8.6 - 9.2
    </spec></section></CNetSpecs>The fragment is pulled out of a text field in a database.
    The code I'm using to do the parseing is:
    // Parse the CNet XML into a proper doc.
    DOMParser parser = new DOMParser();
    parser.parse(new InputSource(new StringReader(cnetSpecs)));
    org.w3c.dom.Document cnetXml = parser.getDocument();
    xmlUtil.toFile(cnetXml, "/tmp/cnetxml.xml");
    NodeList cnetRoot = cnetXml.getElementsByTagName("CNetSpecs");
    Node CNetStatsNode = xml.importNode(cnetRoot.item(0), true);
    root.appendChild(CNetStatsNode);and I get the following errors:
    [Error] :1:107: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Personal printer - ink-jet - colour'.
    [Error] :1:150: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '6.4 kg'.
    [Error] :1:391: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Up to 15 ppm - black draft ? Up to 15 ppm - colour draft ? Up to 0.65 min/page - photo best - 101.6 x 152.4 mm ? Up to 1.28 min/page - photo best - 203 x 254 mm'.
    [Error] :1:452: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Preview screen'.
    [Error] :1:528: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '5760 dpi x 1440 dpi'.
    [Error] :1:603: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '5760 dpi x 1440 dpi'.
    [Error] :1:847: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Microsoft Windows 98 Second Edition / Windows ME, Apple MacOS X 10.1, Apple MacOS X 10.2, Microsoft Windows 2000 / XP, Apple MacOS 8.6 - 9.2'.Can anyone point me in the right direction? I've been scratching my head all day.

    I dont think so that it is because of un-escaped "&" character or breaking line sequences.
    As in mine case it is giving for XML as below:
    <?xml version="1.0" encoding="UTF-8"?>
    <publicationManifest date="03/13/2007 14:06:25">
    <contentItem action="add" expireDate="" releaseDate="" revision="1">
    <content>This would go under webstore</content>
    <metadata>This would go for Database</metadata>
    </contentItem>
    </publicationManifest>
    and console output at java IDE is
    [Error] item-manifest_Test.xml:4:46: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'This would go under webstore'.
    [Error] item-manifest_Test.xml:5:45: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'This would go for Database'.
    Therefore , if anyone had found the root cause of this discrepancy please update this topic.

  • Sale Based Rent- You are not allowed to change sales-based rents

    Hi everybody,
    While processing a sale based rent using T-code : RESRSE, I got the problem as below:
    At the Log Display Screen:
    Step Processing of Sales-Based Rents performed on 19.12.2011 at 17:00:02
    Status of step: You are not allowed to change sales-based rents.
    Runtime for step: 00:00:00.
    Does anyone experience this issue? Please give me a hint to solve it?
    Thank you very much.
    Regards,
    TienLQ.

    Hi Franz,
    "I guess that the parameter 'Change Direct.' in the details is set that a change is allowed." You're totally right.
    I missed it. After I did the changes for this, the process for Sale Based Rent is good but I couldn't posting the result.
    I saw that EhP4 has introduced a new feature whereby we can post sales based settlemnet using periodic posting feature. For this, a checkbox is introduced in the system which we have to check in the contract and is named as 'Post using periodic posting'. I dont see this indicator in my system even though I am on Ehp5.
    Could you please advise?
    Regards,
    TienLQ

  • You are not allowed to have zero line only  massages no. m8278

    Hi all,
    At the time of MIRO Reversal we are facing error massage.
    You are not allowed to have zero line only  massages no. m8278
    Because of wrongly 0.00 amount posted in MIRO posting.
    What we do please help me it is production system error.
    Thanks & Regards,
    Juhi
    Edited by: juhis022 on Nov 8, 2011 1:43 PM

    this is because for the document which you posting MRIS is not covered with invoicing plan settlement.
    Please create a invoicing plan and settle through MRIS.

  • In Sales Order Users are not allowed to change price for any material

    Dear all,
    Please give me the solution :
    In Sales Order va02 Users are not allowed to change price for any material .

    Hi Amit
    If you  want that in VA01 manual as well as other pricing condiion entry and cahnges to be allowed and only in va02 users should be restricted ,then  you have following alternative.
    Go to  T.Code SHD0
    Select Transaction VA02.
    Create a new variant ,give suitable name.
    select option change with processing.
    So u can run a va02 transaction and for every screen u can create screen variant and control data entry whether required  , dispaly or hide.
    in this for  LV69a pricing  screen disable update button .
    so system wont change anything updated or cahnged in pricing.
    further you can create the variant transactions  from this transaction variant and assign to different users as per control requirements.
    I think this will help you
    Regards
    mandar

  • Performance Point: Code blocks are not allowed in this file.

    Hi All,
    I'm trying to use Performance Point 2010 in Sharepoint 2010...
    I have start the application in centrel admin
    I have created a site collection based on the Bisuness Intelligence Center template
    I can surf the new Site Collection but when I try to open the "Start using PerformancePoint Services" link I get the following error:
    "An error occurred during the processing of /PerformancePoint/Pages/ppssample.aspx. Code blocks are not allowed in this file."
    is there any way to fix it???
    is there any good source to understand and deploy Performance Point 2010??
    thanks All
    Vit

    I have tried the above PageParserPath settings, however none seem to fix this problem for me.  Does anyone have another solution to this issue?
    I've tried...
    <PageParserPath VirtualPath="/Pages/ppssample.aspx"
    CompilationMode="Always" AllowServerSideScript="true" />
    <PageParserPath VirtualPath="/PerformancePoint/ppssample.aspx"
    CompilationMode="Always" AllowServerSideScript="true" />
    <PageParserPath VirtualPath="/mysitecollection/ppssample.aspx"
    CompilationMode="Always" AllowServerSideScript="true" />
    Help Please!!!

  • Java.lang.IllegalArgumentException: References to entities are not allowed

    Hi,
    I am using Berkely DB(native edition) 5.0.21 version. I have a couple classes as defined below:
    Class - 1:
    package bdb.test;
    import java.util.List;
    import com.sleepycat.persist.model.Entity;
    import com.sleepycat.persist.model.PrimaryKey;
    @Entity
    public class Employee {
         @PrimaryKey
         private String id ;
         private String name;
         private List<Employee> reportingManagers ;
         public String getId() {
              return id;
         public void setId(String id) {
              this.id = id;
         public String getName() {
              return name;
         public void setName(String name) {
              this.name = name;
         public List<Employee> getReportingManagers() {
              return reportingManagers;
         public void setReportingManagers(List<Employee> managers) {
              this.reportingManagers = managers;
    Class - 2 :
    package bdb.test;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.util.ArrayList;
    import java.util.List;
    import com.sleepycat.db.DatabaseException;
    import com.sleepycat.db.Environment;
    import com.sleepycat.db.EnvironmentConfig;
    import com.sleepycat.persist.EntityStore;
    import com.sleepycat.persist.PrimaryIndex;
    import com.sleepycat.persist.StoreConfig;
         public class BDBTest{
              public static void main(String agrs[]){
                   Environment myEnv;
                   EntityStore store;
                   try {
                        EnvironmentConfig myEnvConfig = new EnvironmentConfig();
                        myEnvConfig.setCacheSize(30000);
                        StoreConfig storeConfig = new StoreConfig();
                        myEnvConfig.setAllowCreate(true);
                        myEnvConfig.setInitializeCache(true);
                        storeConfig.setAllowCreate(true);
                        try {
                        // Open the environment and entity store
                        myEnv = new Environment(new File("c:\\BDBTEST\\"), myEnvConfig);
                        store = new EntityStore(myEnv, "MyStore", storeConfig);
                        PrimaryIndex<String, Employee> primaryIndex = store.getPrimaryIndex(String.class, Employee.class);
                        // write Employee
                        Employee employee = buildEmployee("E1", "EMP1");
                        primaryIndex.putNoReturn(employee);
                   } catch (FileNotFoundException fnfe) {
                        System.err.println(fnfe.toString());
                        System.exit(-1);
                   } catch(DatabaseException dbe) {
                        System.err.println("Error opening environment and store: " +
                        dbe.toString());
                        System.exit(-1);
              public static Employee buildEmployee(String id,String name){
                   Employee employee = new Employee();
                   employee.setId(id);
                   employee.setName(name);
                   employee.setManagers(buildManager());
                   return employee;
              public static List<Employee> buildManager(){
                   List <Employee> managers = new ArrayList<Employee>();
                   Employee manager1 = new Employee();
                   manager1.setId("M111");
                   manager1.setName("Manager1");
                   Employee manager2 = new Employee();
                   manager2.setId("M222");
                   manager2.setName("Manager2");
                   managers.add(manager2);
                   return managers;
    While running the Class 2, I am getting the following exception :
    Exception in thread "main" java.lang.IllegalArgumentException: References to entities are not allowed: bdb.test.Employee
         at com.sleepycat.persist.impl.RecordOutput.writeObject(RecordOutput.java:94)
         at com.sleepycat.persist.impl.ObjectArrayFormat.writeObject(ObjectArrayFormat.java:137)
         at com.sleepycat.persist.impl.RecordOutput.writeObject(RecordOutput.java:114)
         at com.sleepycat.persist.impl.ReflectionAccessor$ObjectAccess.write(ReflectionAccessor.java:398)
         at com.sleepycat.persist.impl.ReflectionAccessor.writeNonKeyFields(ReflectionAccessor.java:258)
         at com.sleepycat.persist.impl.ReflectionAccessor.writeNonKeyFields(ReflectionAccessor.java:255)
         at com.sleepycat.persist.impl.ComplexFormat.writeObject(ComplexFormat.java:528)
         at com.sleepycat.persist.impl.ProxiedFormat.writeObject(ProxiedFormat.java:116)
         at com.sleepycat.persist.impl.RecordOutput.writeObject(RecordOutput.java:114)
         at com.sleepycat.persist.impl.ReflectionAccessor$ObjectAccess.write(ReflectionAccessor.java:398)
         at com.sleepycat.persist.impl.ReflectionAccessor.writeNonKeyFields(ReflectionAccessor.java:258)
         at com.sleepycat.persist.impl.ComplexFormat.writeObject(ComplexFormat.java:528)
         at com.sleepycat.persist.impl.PersistEntityBinding.writeEntity(PersistEntityBinding.java:103)
         at com.sleepycat.persist.impl.PersistEntityBinding.objectToData(PersistEntityBinding.java:83)
         at com.sleepycat.persist.PrimaryIndex.putNoOverwrite(PrimaryIndex.java:474)
         at com.sleepycat.persist.PrimaryIndex.putNoOverwrite(PrimaryIndex.java:449)
         at bdb.test.BDBTest.main(BDBTest.java:42)
    Question : In the above example reportingManagers is also a list of Employee classes. Can't I self reference a object with in the same object ? How do I store list of reportingManagers in this example? Any help is highly appreciated.
    Thanks,
    Bibhu

    Hi Sandra,
    Thanks for the reply.
    Is there any restrictions in Berkeley DB to store cyclic referencing objects?
    API documentation for Entity annotation talks about cyclic references in one of section but contradicts the same in another section. Please refer the link below:
    [ http://download.oracle.com/docs/cd/E17076_02/html/java/com/sleepycat/persist/model/Entity.html]
    Following sections of this documentation contradicts each other. I have highlighted both of them in bold.
    Other Type Restrictions:
    Entity classes and subclasses may not be used in field declarations for persistent types. Fields of entity classes and subclasses must be simple types or non-entity persistent types (annotated with Persistent not with Entity).
    If a field of an Entity needs to reference an object, the referenced object should be marked with @Persistent and not with @Entity. So, self referencing is not possible as the main class would have been marked with @Entity.
    Embedded Objects
    As stated above, the embedded (or member) non-transient non-static fields of an entity class are themselves persistent and are stored along with their parent entity object. This allows embedded objects to be stored in an entity to an arbitrary depth.
    There is no arbitrary limit to the nesting depth of embedded objects within an entity; however, there is a practical limit. When an entity is marshalled, each level of nesting is implemented internally via recursive method calls. If the nesting depth is large enough, a StackOverflowError can occur. In practice, this has been observed with a nesting depth of 12,000, using the default Java stack size. This restriction on the nesting depth of embedded objects does not apply to cyclic references, since these are handled specially as described below.
    Self referencing is possible.
    Object Graphs
    When an entity instance is stored, the graph of objects referenced via its fields is stored and retrieved as a graph. In other words, if a single instance is referenced by two or more fields when the entity is stored, the same will be true when the entity is retrieved. When a reference to a particular object is stored as a member field inside that object or one of its embedded objects, this is called a cyclic reference. Because multiple references to a single object are stored as such, cycles are also represented correctly and do not cause infinite recursion or infinite processing loops. If an entity containing a cyclic reference is stored, the cyclic reference will be present when the entity is retrieved.
    My question:
    In the above first highlighted section says to store a referenced/embedded object it needs be marked with @Persistent and not with @Entity annotation. That rules out storage of cyclic referencing object since the main object would have been already marked with @Entity annotation. The second section indicates having support for cyclic references.
    So, Is it possible to store cyclic referencing objects in BDB? if yes, how it should be done?
    Thanks,
    Bibhu
    Edited by: user12848956 on Jan 20, 2011 7:19 AM

  • Mixed periodicities in a forecast are not allowed ???

    Hi All,
    When I try to run the forecast in DP in BACKGROUND then I see following message "mixed periodicities in a forecast are not allowed", but when I execute the forecast in foreground it works completely fine with that forecast profile and everything same.
    Can anyone suggest the way to handle this???
    Best Regards,
    Chandan Dubey

    Hi Chandan,
    This is the standard design in the background.
    If you run your forecast in batch you can only use one periodicity and
    not mixed periodicities. Per design it is not allowed to             
    use different periodicities for forecast in mass processing.         
    In interactive demand planning, the forecast key figure and other key   
    figures, such as the adjusted past within the past and forecast horizon 
    are saved independently of the planning horizon of the planning book or 
    planning view. This means in particular that the forecast also saves    
    results outside of the planning horizon for the planning book or        
    planning view.For performance reasons, however, the horizon of the      
    planning book must be greater than the horizons in the forecast profile 
    in the background processing.It is sufficient therefore if the horizon  
    of the planning book in greater than or equal to the forecast horizon.In
    this case, the forecast results are saved but the adjusted past or the  
    expost forecast cannot be saved.Therefore, a warning message indicating 
    that the horizon of the planning book does not contain the past period  
    for the forecast is issued here.In addition, note that for performance  
    reasons the period units of the planning book and forecast profile must 
    be identical in the background processing.This is directly due to the   
    fact that you are not allowed to you use planning books with mixed      
    period units in the background processing.These restrictions do not     
    exist in the interactive planning.      
    I hope this helps.
    Regards,
    Tibor                                                                               
    Furthermore, note that data is not saved in lines or areas that are not 
    ready for input in the background processing.Therefore if, for example, 
    you want to save the adjusted past, then the past horizon for the       
    planning book must be ready for input.

  • Trying to post a question and receiving: You are not allowed to create or update this content

    I am a newbie and am trying to post a question to the support communities and received this reply:"You are not allowed to create or update this content"
    My question:
    Help! Not all my incoming mail messages are going to my home computer account. Some are derailed and end up in my inbox on my iphone only. My husband is waiting for a message to come through on the home computer and sometimes they end up on my iphone5 accounts. Yikes! He is not happy. Some messages come to my pc email and some only to my phone. But then, some come to both as they should. I need all mail to arrive at both home and on my iphone. I would so appreciate any help or advice given. Thank you!  Iphone 5c  IOS 7.1.2

    I'm not sure, but you might try this (instructions are from my 5s running iOS 7.1.2):
    On your iPhone, go to Settings -> Mail, Contacts, Calendars
    Find the account you're having the problem with
    Touch the arrow to the right of it, which will bring up a screen that has the account name, Mail and Notes
    Touch the account name. This brings up a settings screen for only that account.
    Go down to Advanced and touch that
    See what it says under Deleted Messages. If Remove is set to something really short, your iPhone might be deleting the messages before they have a chance to download onto another device.

  • I successfully uploaded a book using iBook Author.  I need to make a correction. I keep getting this error message: ERROR ITMS-9000: "Files of type audio/x-m4a are not allowed outside of widgets: assets/media/chick02.m4p" at Book (MZItmspBookPackage)

    I appreciate any help or assistance.  I have been trying to update one of my books for for the past few days with no success.  I really just need to change two letters. But since I was updating I thought I would make a couple more improvements.  I clicked disable portrait and made my pictures a little bigger to fit the whole page.  But now I keep getting this error for multiple sound effects throughout the book. ERROR ITMS-9000: "Files of type audio/x-m4a are not allowed outside of widgets: assets/media/chick02.m4p" at Book (MZItmspBookPackage).  I did not change the audio.  The audio files are placed in widgets.  I had no problem the first time it uploaded. I have recreated my whole book from scratch and it still does not work. Does anyone have a suggestion? Thank you for your attention to my question.

    Florida author wrote:
    Could it matter that I am dragging my audio files onto my document?  They appear to be in a widget once dragged in. I use the widget insector to make changes. However,  I did not go to the top of the screen and click widget and then insert my audio file.
    I don't believe that would make any difference. Drag-and-drop is just a UI shortcut for using the menu items.
    Also some of the audio file were used in previous books.  Would that cause an error?
    No. Each book is a stand-alone entity. It doesn't matter if the same audio file appears in another book.
    From what people have reported here, it looks like there is a bug in the submission system. Other than trying the suggestions posted in the linked-to thread, I don't think there is anything you can do to fix it.
    I would submit a bug report to Apple though. Quite a lot of people seem to be affected by this problem, and if they hear about the same problem from lots of different sources, that will (presumably) elevate the importance of fixing it.
    Michi.

Maybe you are looking for

  • Blue Screen crash in Windows 7: culprit is ntkrnlmp.exe

    Hi, I've been, with increasingly frequency, getting crashes on my Windows 7-run Gateway.  Here's what I see when I run the WhoCrashed program (I'm very computer illiterate, sorry!): On Wed 1/22/2014 11:34:06 PM GMT your computer crashed crash dump fi

  • ITunes won't stay authorized...

    Not sure when this started but everytime now I open iTunes and try to play a song, watch a movie or listen to an audiobook, I get the "This computer is not authorized" message. I put in my username and password and then I get "You have authorized 3 o

  • Programs "Unexpectedly Quit"

    I was wondering if any knows why all my programs, escpecially my internet programs(Safari&Internet Explorer) are now always "unexpectedly quit". Just recently it has been happening, and when I try to go into my yahoo email account when im in Safari,

  • How should I output tracking data from Motion 5 to use it in Aegisub

    I'm a subtitle worker and I really need to track some hard to track objects and mark with subtitles for them. So I wonder if I may use the tracking function in Motion 5 and output it into a txt file or something like that and use it in the Aegisub wh

  • Performance issue about using JDBC?

    Since no one reply me, I post again. :( I just got a big performance problem lately, and I tried all the possible ways, still can't fix it. Could you help me out or give me more suggestions? Oracle 8i for Solaris 2.6 A web application with back end i