JAXB not generating correct class definition

Hi,
I am using JAXB 2.0 and the JAXB plugin for Eclipse 3.x.
The problem I have is that when I run XJC on my XSD file the class definition for
a particular class is not what I am expecting. The class only defines 1 get method instead of three. While I am expecting to see getX getY and getZ I am seeing only 1 method getXAndgetYAndgetZ. Here is a snippet of the XSD file:
     <xs:element name="Sql">
          <xs:complexType>
               <xs:sequence minOccurs="0" maxOccurs="unbounded">
                    <xs:element name="Query"/>
                    <xs:element ref="Table" maxOccurs="unbounded"/>
                    <xs:element name="Database" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
               </xs:sequence>
          </xs:complexType>
     </xs:element>I have defined the Table element in the XSD.
In this case my generated Sql class has the following method:
public List<JAXBElement<String>> getQueryAndTableAndDatabase() {
        if (queryAndTableAndDatabase == null) {
            queryAndTableAndDatabase = new ArrayList<JAXBElement<String>>();
        return this.queryAndTableAndDatabase;
    }Is there a problem with my XSD file or am I omitting a parameter when running XJC? Any help greatly appreciated

LDAPLoginModule uses the jackrabbit UserManagerImpl to create user's in CRX (CQ), not the CQ5 implementation which is disappointing. Have to manually add the sling:resourceType.

Similar Messages

  • Express document "Art. segments not generated correctly" received from aut

    Art. segments not generated correctly    
    dear all
       i created an article in MM41. while doing the listing in WSM3 this error is occurring same plant i was created artilces and listed also but today it is showing this error msg . Can u please suggest me how to solve this?. i showed to my tech team they told me to check in configuration settings?. is their any problem with config ?.
    Note:-  Article segments were not created in full
    The data is stored in the log 00000000000000049016 file
    1741001 No entry in key field in distribution chain segment for article 1741
    Possible causes:
    - Reference article was not maintained in full
    - Inconsistent maintenance of article
    Possible actions:
    - Maintain reference data
    - Call transaction WSPK to edit the faulty segments
    thank you
    RK

    i clearly mentioned what was the error occured for me agian ur asking quetion means i can't  tell m . i created an article in mm41 while doing the listing in wsm3 that time this error is occuring if u can solve i will be happy
    thank u
    rk

  • WL-7 / clientgen task do not generate correct bean for non built-in data type

    The clientgen Ant task do not generate a correct JavaBean for this
    complexeType definition (returned by a web service method):
    extract from WSDL:
    <s:complexType name="MyBoggusType">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded"
    name="shouldBeAnArray" type="s0:OtherType " />
    </s:sequence>
    <s:attribute name="total" type="s:int" />
    </s:complexType>
    The generated JavaBean contains an int (for 'total') and a simple
    reference to an OtherType instance (for 'shouldBeAnArray').
    The 'shouldBeAnArray' attribute should be an array of OtherType?
    What's wrong?
    (The service is not implemented by me and I have few control on it)
    Is it a bug or a limitation?
    Should I write a Codec as a workaround?

    On Wed, 05 Feb 2003 17:28:40 +0100, Stephane Boisson wrote:
    Is it a bug or a limitation?
    Should I write a Codec as a workaround?This is a bug. It has been fixed in service pack 2. Refer to CR082308
    when contacting support if you need a patch against sp1. You could indeed
    write your own codec but it might be easier to just use the patch :)
    --Scott

  • JAXB problem generating java classes

    I'm doing some integration and have received a schema from the vendor the other day. When I try to generate java classes with the jaxb compiler I get this output
    parsing a schema...
    [ERROR] Property "Value" is already defined.
      line 14 of jar:file:/C:/win32app/Java/jdk6/lib/tools.jar!/com/sun/xml/internal/xsom/impl/parser/datatypes.xsd
    [ERROR] The following location is relevant to the above error
      line 384 of file:/C:/code/sca-ecr.xsd
    Failed to parse a schema.
        <xsd:complexType name="options">
            <xsd:sequence>
                <xsd:element name="option" maxOccurs="unbounded">
                    <xsd:complexType>
                        <xsd:simpleContent>
                            <xsd:extension base="xsd:string">
    (Line 384)                  <xsd:attribute name="value" type="xsd:string"/>
                            </xsd:extension>
                        </xsd:simpleContent>
                    </xsd:complexType>
                </xsd:element>
            </xsd:sequence>
        </xsd:complexType>So, googling about this I came across these to articles that almost describes my problem.
    http://weblogs.java.net/blog/kohsuke/archive/2005/05/compiling_mathm_1.html
    https://jaxb.dev.java.net/guide/Dealing_with_errors.htmlAdding the this code did not help. Downloading JAXB 2.1.4 did not help, adding the -extension parameter still same result.
            <xsd:annotation>
              <xsd:appinfo>           
                <jaxb:property name="someAttribute" />
              </xsd:appinfo>
            </xsd:annotation>      Why is jaxb failing ? Could it be that and attribute is not allowed to be called "value" ?
    Any answers will do
    regards abq

    Well, after hours of digging I found a solution which actually was right in front of me the whole time.
    This is how I edited the schema.
        <xsd:complexType name="options">
            <xsd:sequence>
                <xsd:element name="option" maxOccurs="unbounded" >
                    <xsd:complexType>
                        <xsd:simpleContent>
                            <xsd:extension base="xsd:string">
                               <xsd:attribute name="value" type="xsd:string" >
                                  <xsd:annotation><xsd:appinfo>
                                    <jaxb:property name="realValue" />
                                  </xsd:appinfo></xsd:annotation>
                                 </xsd:attribute>
                            </xsd:extension>
                        </xsd:simpleContent>
                    </xsd:complexType>
                </xsd:element>
            </xsd:sequence>
        </xsd:complexType>Before, I placed the <xsd:annotation> tag efter the first line but inside the <xsd:attribute> made much better if you would like it to work.
    When marshling an @XmlRoot object will produce valid xml code. So even though that the server have a different xml schema, they will be able to talk to each other.
    abq

  • JAXB 1 : generating simpleTypes classes

    Sorry, I posted an uncompleted message.
    Hello, I'm new to JAXB technology.
    Since I'm working with j2sdk 1.4 I c'ant use JAXB 2, so I'm using JAXB 1.0.6.
    When I call the xjc ant task, my java classes are generated... buy simple types do not generate any java class.
    Let's say I have the following xsd:
    <xs:complexType name="EXAMPLE">
    <xs:sequence>
    <xs:element name="market-type" type="po:market-type"/>
    </xs:sequence>
    </xs:complexType>
    <xs:simpleType name="MARKET-TYPE">
    <xs:restriction base = "xs:string">
    <xs:enumeration value = "PRIM"/>
    <xs:enumeration value = "SECOND"/>
    </xs:restriction>
    </xs:simpleType> After xjc compilation I have a EXAMPLE Java class, but its element "market-type" is a String and not a MARKET-TYPE as I expected.
    Is it normal? Can I customize the output in order to generate java classes for simpleTypes?

    The base data type of the simpleType MARKET-TYPE is xsd:string.

  • Constrained values not generating correctly in Dashboard prompt

    Hi,
    I have a dashboard prompt which has 4 drop downs viz From Month, From Year, To Month, To year and one Mullti Select Product.The default and the drop down values for the first four prompts are controlled by SQL queries so that in drop down only those values are displayed in the drop down for which i have data in my fact tables and the multi select of product is a constratined one.
    As per the current scenario i have data for current month - 1 (say if current month is August so i have data for July). In the default values for these prompts i show the current month and year (August and 2010). So when i select July in my From Month prompt the values for other promts get set to August and 2010 for month and date prompts (both From and To). And then when i click on the multi select of product no values are shown on OBI screen even though they are in database.
    This is due to the fact the query that OBI genrates in the backend the To Month is set to August not May, even though May is shown on the dashboard.
    However, if cilck on GO then the values for contsratined promt are generated correctly and also the backend query changes the To Month is set to May.
    Could somebody help me to resolve this problem.
    Thx :)

    Reminds me of a bug I hit with constrained prompts and a time dimension, but I didnt have another dimension (your Product) in my case. I'll try and dig out the bug number for you. - Have you got a support account to login and check it out?

  • JAXB to generate java classes for XSD.

    Hi
    I have a XSD, which is importing other couple of xsds in it, tried to generate java classes using xjc, it is throwing error.
    C:\vittal\Project\received\development-1\da_xsd>xjc -p com daAuthoring.xsd
    parsing a schema...
    [ERROR] Property "Alt" is already defined. Use <jaxb:property> to resolve thi
    s conflict.
      line 42 of file:/C:/vittal/Project/received/development-1/da_xsd/commonElement
    s.xsd
    [ERROR] The following location is relevant to the above error
      line 2205 of file:/C:/vittal/Project/received/development-1/da_xsd/daCommonEle
    ments.xsd
    Failed to parse a schema.Please let me know how to fix this issue.

    Thanks for information,
    I do understand xml well, and having basic knowledge on XSD.
    1. can i generate a java classes for a xsd which is including other XSDs.
    2. how to overwrite the issue, using annotation, point me to a location where i will get more information, that will be great help.
    here is my xsd.
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/" xmlns:dctm="http://www.documentum.com" elementFormDefault="qualified">
         <xs:import namespace="http://dita.oasis-open.org/architecture/2005/" schemaLocation="ditaarch.xsd"/>
         <xs:import namespace="http://www.documentum.com" schemaLocation="dctmAttrs.ent.xsd"/>
         <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
         <xs:group name="alt">
              <xs:sequence>
                   <xs:element ref="alt"/>
              </xs:sequence>
         </xs:group>
         <xs:group name="desc">
              <xs:sequence>
                   <xs:element ref="desc"/>
              </xs:sequence>
         </xs:group>
         <xs:group name="title">
              <xs:sequence>
                   <xs:element ref="title"/>
              </xs:sequence>
         </xs:group>
         <!-- Elements in tblDecl.mod -->
         <xs:group name="colspec">
              <xs:sequence>
                   <xs:element ref="colspec"/>
              </xs:sequence>
         </xs:group>
         <xs:group name="entry">
              <xs:sequence>
                   <xs:element ref="entry"/>
              </xs:sequence>
         </xs:group>
         <xs:group name="row">
              <xs:sequence>
                   <xs:element ref="row"/>
              </xs:sequence>
         </xs:group>
         <xs:group name="tbody">
              <xs:sequence>
                   <xs:element ref="tbody"/>
              </xs:sequence>
         </xs:group>
         <xs:group name="tgroup">
              <xs:sequence>
                   <xs:element ref="tgroup"/>
              </xs:sequence>
         </xs:group>
         <xs:group name="thead">
              <xs:sequence>
                   <xs:element ref="thead"/>
              </xs:sequence>
         </xs:group>
    </xs:schema>

  • Could not generate Codec class

    I am new to webservices.
    My build file looks as follows:
    <project name="buildWebservice" default="ear" basedir="..">
    <target name="ear">
    <servicegen
    destEar="${staging.application.dir}/${project.name}.ear"
    contextURI="IEC"
    warName="${project.name}.war">
    <classpath>
    <pathelement path="${staging.application.dir}/${project.name}.jar"/>
    <fileset dir="${lib.dir}">
    <include name="**/*.jar"/>
    <include name="**/*.zip"/>
    </fileset>
    <pathelement path="${weblogic.jar}"/>
    </classpath>
    <service
    ejbJar="${staging.application.dir}/ejb_${project.name}.jar"
    targetNamespace="http://www.bridgebuild.com/webservices/basic/statelesSession"
    serviceName="Controller"
    serviceURI="/Controller"
    generateTypes="True"
    expandMethods="True"
    style="rpc" >
    </service>
    </servicegen>
    </target>
    </project>
    I could not generate the ControllerCode class. I mean Seralizer and Deserializer
    factory.
    I keep getting following error:
    WARNINIG: Unable to find a javaType for the xmlType:['http://www.bridgebuild.com/webservices/basic/statelesSession']:Controller.
    Make sure that you have registered this xml type in the type mapping
    Using SOAPElement instead
    WARNINIG: Unable to find a javaType for the xmlType:['http://www.bridgebuild.com/webservices/basic/statelesSession']:Controller.
    Make sure that you have registered this xml type in the type mapping
    Using SOAPElement instead
    javax.xml.rpc.JAXRPCException: failed to invoke operation. Error in the soap layer
    (jaxm); nested exception is: Message[ failed to serialize xml:weblogic.xml.schema.binding.SerializationException:
    mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://www.brdigebuild.com/webservices/basic/statelesSession']:Controller}]StackTrace[
    javax.xml.soap.SOAPException: failed to serialize xml:weblogic.xml.schema.binding.SerializationException:
    mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://www.bridgebuild.com/webservices/basic/statelesSession']:Controller}
    Any help will be appreciated.
    Thanks
    ---Radhe

    Hi
    Looks like you are using a Dynamic client to invike the service. You have to
    register the codecs in the TypeMappingRegistry.
    Look at the example at http://manojc.com sample25
    Ajay
    "Radhe" <[email protected]> wrote in message
    news:[email protected]...
    >
    I am new to webservices.
    My build file looks as follows:
    <project name="buildWebservice" default="ear" basedir="..">
    <target name="ear">
    <servicegen
    destEar="${staging.application.dir}/${project.name}.ear"
    contextURI="IEC"
    warName="${project.name}.war">
    <classpath>
    <pathelementpath="${staging.application.dir}/${project.name}.jar"/>
    <fileset dir="${lib.dir}">
    <include name="**/*.jar"/>
    <include name="**/*.zip"/>
    </fileset>
    <pathelement path="${weblogic.jar}"/>
    </classpath>
    <service
    ejbJar="${staging.application.dir}/ejb_${project.name}.jar"
    targetNamespace="http://www.bridgebuild.com/webservices/basic/statelesSessio
    n"
    serviceName="Controller"
    serviceURI="/Controller"
    generateTypes="True"
    expandMethods="True"
    style="rpc" >
    </service>
    </servicegen>
    </target>
    </project>
    I could not generate the ControllerCode class. I mean Seralizer andDeserializer
    factory.
    I keep getting following error:
    WARNINIG: Unable to find a javaType for thexmlType:['http://www.bridgebuild.com/webservices/basic/statelesSession']:Con
    troller.
    Make sure that you have registered this xml type in the type mapping
    Using SOAPElement instead
    WARNINIG: Unable to find a javaType for thexmlType:['http://www.bridgebuild.com/webservices/basic/statelesSession']:Con
    troller.
    Make sure that you have registered this xml type in the type mapping
    Using SOAPElement instead
    javax.xml.rpc.JAXRPCException: failed to invoke operation. Error in thesoap layer
    (jaxm); nested exception is: Message[ failed to serializexml:weblogic.xml.schema.binding.SerializationException:
    mapping lookup failure. class=interface javax.xml.soap.SOAPElement classcontext=TypedClassContext{schemaType=['http://www.brdigebuild.com/webservice
    s/basic/statelesSession']:Controller}]StackTrace[
    >
    javax.xml.soap.SOAPException: failed to serializexml:weblogic.xml.schema.binding.SerializationException:
    mapping lookup failure. class=interface javax.xml.soap.SOAPElement classcontext=TypedClassContext{schemaType=['http://www.bridgebuild.com/webservice
    s/basic/statelesSession']:Controller}
    >
    >
    Any help will be appreciated.
    Thanks
    ---Radhe

  • Profile not generating correctly via PFCG

    All,
           I am having an issue in our Solution Manager system in that when ever I add one specific transaction to a newly created role via the menu tab so that the profile generates correctly it will also add the following in the t_code auth_obj.
    0 - zzzzzzzzzzzz
    so my S_Tcode looks like this.
    0 - ZZZZZZZZZZZZZ, RPM_DX
    RPM_DX is the transaction that I am adding as we are setting up functionality for administering CHaRM.
    Is there a table that I can check on this?       I have deleted the role and recreated a completely new role and I get the same issue.

    Oh deary me... I have that in my system as well...
    I can see the SAP developer thinking to themself at the time:  "That's it! I have had enough of these "You are not authorized for this and that" messages now!!!" or "If Chuck Norris can solve all problems with a roundhouse kick then I can do the same to S_TCODE"... 
    Thanks for sharing.
    Julius

  • BPEL - not generating correct SOAP packet for complex types

    Hi,
    Below is a snippet from wsdl, correct SOAP request and reply packet (generated using a SOAP test tool) and finally BPEL generated SOAP request and error response (captured using TCP packet monitor)
    The problem is with element 'XActivationPackageArray', which is getting enclosed
    by itself again from Oracle BPEL PM.
    ------------------------W S D L S T A R T----------------------------------------------------
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" .......>
         <types>
              <schema>
                   <complexType name="XActivationPackageArray">
                        <sequence>
                             <element name="XActivationPackage" type="tns2:XActivationPackage" maxOccurs="unbounded"/>
                        </sequence>
                   </complexType>
                   <element name="XActivationPackageArray" type="tns2:XActivationPackageArray"/>
                   <complexType name="XActivationPackage">
                        <sequence>
                             <element name="activationPackage" nillable="true" type="xsd:string"/>
                        </sequence>
                   </complexType>
                   <complexType name="XActivationResponse">
                        <sequence>
                             <element name="unitId" nillable="true" type="xsd:string"/>
                             <element name="serviceId" nillable="true" type="xsd:string"/>
                        </sequence>
                   </complexType>
                   <element name="XActivationResponse" type="tns2:XActivationResponse"/>
              </schema>
         </types>
         <message name="activateServiceRequest">
              <part name="userId" type="xsd:string"/>
              <part name="companyCd" type="xsd:string"/>
              <part name="customerCd" type="xsd:string"/>
              <part name="stockAccountId" type="xsd:string"/>
              <part name="orderNumber" type="xsd:string"/>
              <part name="serviceType" type="xsd:string"/>
              <part name="location" type="xsd:string"/>
              <part name="unitId" type="xsd:string"/>
              <part name="serviceIdPool" type="xsd:string"/>
              <part name="serviceId" type="xsd:string"/>
              <part name="XActivationPackageArray" element="tns2:XActivationPackageArray"/>
         </message>
         <message name="activateServiceResponse">
              <part name="XActivationResponse" element="tns2:XActivationResponse"/>
         </message>
    </definitions>
    ------------------------W S D L E N D----------------------------------------------------
    ------------------------Correct SOAP packet ----------------------------------------------------
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sf2pwrapper.ws.sf2.p1.com">
    <soapenv:Body>
    <urn:activateService>
    <userId>XYZ</userId>
    <companyCd>999</companyCd>
    <customerCd>ABCDE</customerCd>
    <stockAccountId>FGHIJ</stockAccountId>
    <orderNumber>888999</orderNumber>
    <serviceType>AA</serviceType>
    <location>A</location>
    <unitId/>
    <serviceIdPool>XXX</serviceIdPool>
    <serviceId/>
    <XActivationPackageArray>
                   <XActivationPackage>
                        <activationPackage>MMGG</activationPackage>
                   </XActivationPackage>
    </XActivationPackageArray>
    </urn:activateService>
    </soapenv:Body>
    </soapenv:Envelope>
    ------------------------Correct reply ----------------------------------------------------
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <activateServiceResponse xmlns="urn:sf2pwrapper.ws.sf2.p1.com">
    <ns1:XActivationResponse xmlns:ns1="urn:model.sf2pwrapper.ws.sf2.p1.com">
    <unitId xmlns="">0642342</unitId>
    <serviceId xmlns="">83753710</serviceId>
    </ns1:XActivationResponse>
    </activateServiceResponse>
    </soapenv:Body>
    </soapenv:Envelope>
    ------------------------BPEL generated SOAP packet--------------------------------------------------
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <ns1:activateService soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:sf2pwrapper.ws.sf2.p1.com">
    <userId xmlns:def="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:string">XYZ</userId>
    <companyCd xmlns:def="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:string">999</companyCd>
    <customerCd xmlns:def="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:string">ABCDE</customerCd>
    <stockAccountId xmlns:def="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:string">FGHIJ</stockAccountId>
    <orderNumber xmlns:def="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:string">888999</orderNumber>
    <serviceType xmlns:def="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:string">AA</serviceType>
    <location xmlns:def="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:string">A</location>
    <unitId xmlns:def="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:string"></unitId>
    <serviceIdPool xmlns:def="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:string">XXX</serviceIdPool>
    <serviceId xmlns:def="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:string"></serviceId>
    <XActivationPackageArray>
    <XActivationPackageArray xmlns="urn:model.sf2pwrapper.ws.sf2.p1.com">
    <XActivationPackage xmlns="">
    <activationPackage>MMGG</activationPackage>
    </XActivationPackage>
    </XActivationPackageArray>
    </XActivationPackageArray>
    </ns1:activateService>
    </soapenv:Body>
    </soapenv:Envelope>
    ------------------------BPEL error--------------------------------------------------
    <?xml version="1.0" encoding="utf-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <soapenv:Fault>
    <faultcode>soapenv:Server.userException</faultcode>
    <faultstring>org.xml.sax.SAXException: Invalid element in com.p1.sf2.ws.sf2pwrapper.model.XActivationPackage - XActivationPackage</faultstring>
    <detail>
    <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">c7g7mrs</ns1:hostname>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>

    t

  • URGENT: classgen does not generate complete classes

    The classes that classgen generates are not complete. For the following DTD:
    <?xml version='1.0' encoding='UTF-8' ?>
    <!ELEMENT Test (fname* , id*)>
    <!ELEMENT fname (#PCDATA)>
    <!ELEMENT id (#PCDATA)>
    creates routines to set, update and delete the PCDATA, but not a getter.
    This is a bug (major one)
    Thanks

    JAVA
    I was thinking to use Java binding and reflection, but not getter is killing my plans to use OracleXML
    Thanks

  • Page numbers are not generated correctly when print from Word to PDF

    Whenever I print my Word document to PDF, my page numbers do not reflect the page numbers shown in Print Preview.
    For example, I have a Word document with 10 pages and after generating it as PDF, the page number shows Page 1 of 1; Page 2 of 2; Page 3 of 3; ......Page 10 of 10.
    Please advise what may be the cause and how can I rectify this problem?
    Thank you.

    Thank you for your reply.
    I do have some sections breaks on the pages, however the pages are all shown in running sequence even on Preview page.
    It is the final generated document that has this problem.
    I emailed my colleagues my WORD document and ask them to generate to PDF and they have no issues printing the WORD to PDF and every pages were in running order.
    Any other advise?

  • Bridge CS6 not generating correct thumbnails for RAW files

    I'm running Bridge CS6 (the latest version, 5.0.2.4) on a 2013 MacBook Pro (OSX 10.9.1) and suddenly as of today Bridge is no longer updating the thumbnails for my RAW files. All other image and video file formats are having thumbnails generated but not my Nikon NEF raw files including those which I have previously worked on in ACR. I have tried purging the entire cache, restarting Bridge and even rebooting my computer and still the raw thumbnails are not being generated.
    Any advice would be appreciated thank you.
    Eric
    Actually I've just noticed that thumbnails for jpegs are not being generated either. A thumbnail is only generated if I work on a file in Photoshop and then save it.

    Check you cache disk free space.  You should have at least 15%.  For a 700g drive that that 100g free.
    Have you reset preferences?  Hold down option key and start bridge.  You will get a reset window.

  • TOC and footers not generating correctly in printed output

    I'm using RH8. Up until yesterday, was able to generate .doc output just fine. We usually run a macro to clean up the TOC and footers. Yesterday I had to update an older help file created in RH4W. I made my changes, closed RH4W and resumed working in RH8. My .chms generate fine. It's my hardcopy .doc file that results in no TOC or footer creation.
    Here's what the TOC and one of the footers looks like. If anyone can offer any suggestions (I'm at a loss - even deleted the ssl and started from scratch), I'd appreciate it.

    The problem is in your Word settings, not RoboHelp. Looks like you have Word set to show field codes.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Apex_util.get_print_document not generating correct output

    hello,
    Basically what I've done is this.
    1) stored a very simple xml file in a clob field called xml_file_clob in a table called xml_test1
    2) stored an rtf file in a clob field called rtf_layout in a table called xml_test1
    3) created a procedure (below) called generate_report_as_blob which attempts to combine the xml and layout and generate a PDF from it which is stored into a blob field in the same table where 1) and 2) are above .....
    4) I have confirmed that taking the clobs in 1) and 2) from the table above and creating xml and rtf files on my desktop that I can open the rtf file in Word, load the xml file and preview it and it does render the pdf as intended (so I think my clobs in the table are good)
    5) run the procedure below. It compiles and runs with no errors but generates a file into the blob column that when downloaded to my desktop looks like the below output (when opening w/ pdf it says there was an error opening the file)
    Any thoughts are greatly appreciated. I feel like I'm really close and am excited about what I could do with this if this can work.
    Thanks in advance, KW
    =========================================================================
    MY PROC
    ============================
    procedure generate_report_as_blob is
    v_xml xmltype;
    rtf_layout clob;
    v_rpt_output blob;
    v_xml_rpt_data clob;
    begin
    select xml_file_clob, rtf_layout_clob
    into v_xml_rpt_data, rtf_layout
    from xml_test1
    where xml_id = 2;
    v_rpt_output :=
    apex_util.get_print_document(p_report_data => v_xml_rpt_data
    ,p_report_layout => rtf_layout
    ,p_report_layout_type => 'rtf'
    ,p_document_format => 'pdf'
    ,p_print_server => null);
    update xml_test1
    set rpt_pdf_output = v_rpt_output
    where xml_id = 2;
    commit;
    end generate_report_as_blob;
    ==========================================================================
    ==========================================================================
    MY OUTPUT (as apdf file) :
    =================
    %PDF-1.4
    1 0 obj
    <<
    /Type /Catalog
    /Pages 3 0 R
    >>
    endobj
    2 0 obj
    <<
    /Type /Info
    /Producer (Oracle BI Publisher 10.1.3.4.0)
    >>
    endobj
    3 0 obj
    <<
    /Type /Pages
    /Kids [
    /Count 0
    >>
    endobj
    4 0 obj
    <<
    /ProcSet [ /PDF /Text ]
    >>
    endobj
    xref
    0 5
    0000000000 65535 f
    0000000010 00000 n
    0000000065 00000 n
    0000000147 00000 n
    0000000208 00000 n
    trailer
    <<
    /Size 5
    /Root 1 0 R
    /Info 2 0 R
    /ID [<fdd8d0c54769561cc797a7c9d0ae42cd><fdd8d0c54769561cc797a7c9d0ae42cd>]
    >>
    startxref
    258
    %%EOF
    ====================================
    Edited by: Ken Wood on Oct 30, 2009 8:56 AM

    I have the same problem exactly...works as an APEX proc, will not work from sqlplus despite setting security group id. Mail works. Attachments with another BLOB works. But I can't get this function to give me the BLOB.

Maybe you are looking for

  • Different glass pane behaviour in Mac and Windows

    I have an application with a glass pane containing a panel that is set non-opaque. On this panel I do amouse drag and draw a transparent rectangle when the mouse is released. On the main frame below there is a picture. This works fine on a Mac, I end

  • EP 6.0 SP2 JDBC iView and Oracle Database

    Hi, I created Oracle system in Portal. Then I creted JDBC iView for the system. But iView always display the error: "No response from the backend application". And from portal log: "CGT exception: java.lang.RuntimeException: bad execution, SQL Except

  • Menu button to download Pdf file on the application

    Hi, I have a AM method that takes in some parameters and generates xml data and then calls the BI Publisher report service and generates a PDF providing the xml data as input. The method needs to have a file download action listener so that the Pdf f

  • Can only start up in "safe boot"

    Yesterday my iMacG5 (Mac OS X Leopard) started making a loud noise (fan) and would not respond to mouse/keyboard, so we shut it off manually. Since then the only way I can start it is in "safe boot" mode by holding down the shift key during start up.

  • CQ5 Search Trends in multi publisher environment

    Hello, I've got a question here from one of our team. We've used the Search component in /libs/foundation/search as a base for a search component and have used the search trends feature which writes stats via /bin/statistics/tracker/query to /var/sta