@XmlRootElement is not getting creating while binding XSD

I am trying to bind XSD using XJC binding compiler (JAXB RI 2.0). While creating Java classes, it is not adding the annotation @XmlRootElement.
Because of this I am facing errors "@XmlRootElement missing" while marshalling and unmarshalling the XML documents.
But I tried the samples available with JAXB, those are working fine, ie creating @XmlRootElement annotations.
The following is the XSD I am using (I didn't attach the included XSDs, I can provide if necessary). It is creating the java class HotelResRequestType, but without @XmlRootElement.
I am not sure whether the problem is in XSD or somewhere.
Earlier reply on this highly appreciated.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://www.opentravel.org/OTA/2003/05" elementFormDefault="qualified" version="2.001" id="OTA2005B" xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema">
     <xs:include schemaLocation="OTA_HotelCommonTypes.xsd"/>
     <xs:include schemaLocation="OTA_HotelReservation.xsd"/>
     <xs:include schemaLocation="OTA_CommonTypes.xsd"/>
     <xs:include schemaLocation="OTA_AirCommonTypes.xsd"/>
     <xs:include schemaLocation="OTA_SimpleTypes.xsd"/>
     <xs:include schemaLocation="OTA_CommonPrefs.xsd"/>
     <xs:include schemaLocation="OTA_HotelPreferences.xsd"/>
     <xs:include schemaLocation="OTA_Profile.xsd"/>
     <xs:include schemaLocation="OTA_VehicleCommonTypes.xsd"/>
     <xs:include schemaLocation="OTA_AirPreferences.xsd"/>
     <xs:annotation>
          <xs:documentation xml:lang="en">All Schema files </xs:documentation>
     </xs:annotation>
     <xs:element name="OTA_HotelResRQ" type="HotelResRequestType">
          <xs:annotation>
               <xs:documentation xml:lang="en">Sends a request for a ..... </xs:documentation>
          </xs:annotation>
     </xs:element>
</xs:schema>
Thanks,
Senthil

Hello Anand,
POTEXTHEADER-PO_NUMBER
POTEXTHEADER-PO_ITEM      = 00000
POTEXTHEADER-TEXT_ID        = 'F01'
POTEXTHEADER-TEXT_FORM  = '*''
POTEXTHEADER-TEXT_LINE    = 'YOUR TEXT'
John.

Similar Messages

  • BP not getting created while creating employee

    Hi,
    When I Hire an employee a BP should be created for it. It used to happen earlier in the system but after we moved to another system this is not working.  Can someone please let me know the necessary config for this?
    I've the following settings:
    HRALX   ONUMB  = 2
    HRALX   OSUBG = MD
    The MD number range is from 90000000 to 9999999999. Should this number range be internal or external?
    When I use the HR_SYNC_PERSON report for an employee I get the error as
    "Determination of connections to object 'BP' of 'CP' '50000201' failed"
    "Object of type 'US' with ID '1122' does not exist or is inconsistent"
    "Determination of connections to object 'BP' of 'O' '50000101' failed" etc
    Also I need to upload the employee master data using LSMW and BP does not get created with LSMW also? Is there some specific config while using LSMW?
    Please help.

    Whenever you are uploading employees using LSMW, you need to run program HR_SYNC_PERSON.
    Pls refer to the following thread for further info:
    Assignment: Business partner for person '50000029' is not unique
    Regards,
    Dilek

  • BP number not getting created while creating org structure in PPOMA_CRM

    Hi,
    we have sol Man 4.0 SP15. I am creating org structure in PPOMA_CRM. After creating the org units, the BP number are NOT getting generated automatically. Please advise on this.
    Regards
    Kumar

    Hi,
    Hav a look at the below post
    [PPOMA_CRM no BP number assigned|PPOMA_CRM no BP number assigned]
    Thx,
    Waseem

  • Schedule lines not getting created while applying  exit at line item

    Hii all,
    First of all , I will explain my scenario. I have a requirement to give pop up screen in VA01 to get order quantity as per business requirement.
    i have used customer exit MV45AFZZ , USEREXIT_MOVE_FIELD_TO_VBAP . in this exit i m calling my Z function module which gives pop up screen through which user will enter length code and lot size. from this i will calculate quantity and update quantity field.
    Now problem is that, no schedule lines are getting created when i m applying this quantity calculation logic directly to line item quantity.
    So, I want schedule lines also to be generated. If somebody has a solution , plz reply soon.
    Thanks & Regards,
    Kavan Shah
    my id is [email protected]

    Hi Kavan ,
    by debug u can find out whats the wrong with ur code , check the UPDKZ of XVBAP?
    regards
    Prabhu

  • Accounting doucment not get created for Credit Memo

    Hi
        When creating a cancellation doucment(vf11) for credit memo accounting document not get created.While I go for analysis then it is determining the G/L account.But not getting created the accounting doucment.
    When i select "Release to accounting" then it is giving a message like this:
    "Automatic clearing of billing document 951
    and canc. doc. 90000572 not poss."  as informatiion first
    and then later it is throwing an error message that "maintain correct number range"
    While for the same material or earlier cancellation happened and accounting doucment get created.
    Please help me out;How would i get this solved?
    Thanks in advance

    Hi,
    You may also check for Number Range - Maintainance & Assignment.
    T. Code: SNRO
    Table/ View: RV_BELEG
    Here, Mantain Number Range.
    To Assign,
    T. Code: SM30
    T.Code: Bill_Num (or select if different in your case)
    Assign No. range to your combination of Sales OrgDist.ChannelBill Type i.e. for Cancelled Billing Doc. Type
    To Maintain Number Range for Accounting Documents,
    T. Code: FBN1
    Best Regards,
    Amit

  • Methodology/Processes Not getting reflected while creating a role via BRM in GRC

    Hello All,
    The methodology I have created is not getting reflected while creating a new Single role.
    I have maintained the condition groups properly in decision table, and assigned the same to the methodology as well.
    Please suggest.
    Thanks
    Regards,
    Shruti

    Methodology is updated when you press save after completing the first step.
    can you please share screen shots of configuration and issue you are getting

  • Outbound IDOC not getting triggered while new master data is created

    Hi Experts,
    I am trying to trigger an outbound idoc for Cost Center master data when ever cost center is being created or cost center is being changed. (Usinf COSMAS)
    I have successfully made use of change pointers and now able to trigger the idoc when ever Cost Center is getting changed. But while creating new Cost center, IDOC is not getting triggered.
    I used the function module MASTERIDOC_CREATE_SMD_COSMAS for triggering the idoc.
    Could one of you please let me what would have gone wrong? Since IDOC is getting triggered while changing the master data but not getting triggered while creating new master data.
    Thanks in Advance,
    Vinoth

    Hello,
    when you activate BD21 for a message type, it creates a entry in the SAP tables. that these Cost Centers have been sent already and any susequent changes to this will trigger a IDoc.
    As for BD16, scheduling it wont help as, you need to specify the selection criteria, and i do not see how you will be able to dynamically get the selection criteria.
    Try BD95, and BD59 to create a change pointer for a field, so when ever this fields is modified (new/updated) an idoc will be triggered.
    regards,
    Abhishek

  • AUC Asset not getting created when Internal Order is created

    Dear Experts,
    While Creating the internal order ( Object Class - Investment Measure)
    AuC (Asset Under Construction) not getting created automaticall . Note Investment profile is already there in the order.
    Following steps below are configured -
    1. Define the AuC Asset Class (with investment measure) - OAOA
    2. Define the Asset Class u2013 for Main Asset - OAOA
    3. Define Investment Profile - OITA
    a. Assign the AuC Asset Class (Step-1) in the investment profile
    4. Assign Investment Profile to Model Order - OITA
    5. Define Order Type (Investment) - KOT2
    a. Settlement Profile - OKO7
    b. Maintain Allocation Structures - OKO6
    Thanks
    Sanjai

    Hi Sreekanth,
    What is the setting needed to create AUC Automatically when an Internal order is created ?
    I have done all the setting, but still when I save Internal order neither AUC asset is getting created.
    So I went to extras selected create AUC and it went to AS01, but when I came back (F3) from AS01 to Internal Order and save , Auc Asset is not getting captured in the settlement rule. I even tried to give manually the AUC Asset in the settlement rule, for which sys is not allowing in the settlement rule.
    Any thoughts are highly appreciated
    Advance Thanks
    Sanjai

  • Transfer Requirement not getting created

    Hi All,
    My query as below;
    Production order is created using KANBAN (Control Cycle/Supply Area is defined) using classic KANBAN.
    WM is in place and all the setting related to TR/TO creation for WM movement type 103 is in place.
    When i am trying to receive this Production after completion it is not creating the TR/TO, while as material document is getting generated and shows the stock directly in interim storage type 901 without creating TR and TO.
    Further i checked there is indicator in Production order i.e "Kanban indicator" that gets checked automatically when Production order is created using KANBAN Processs and if i remove that indicator forcefully, TR and TO is getting created normally.
    Please provide some inputs where can be the problem and how TR and TO can be created normally eventhough KANBAN indicator is checked in Production order and where i can found the setting related to "KANBAN INDICATOR".
    Appreciate your help.

    Hi Maddy
    Thanks very much for your response.
    1. When you use KANBAN, you define separate KANBAN storage location, which is different from WM-managed replenishment storage locations, and separate KANBAN interim storage area with storage bin.
    Yes different storage location is defined which is not WM-managed in supply area.
    As you said Control Cycle is defined, see if the interface is properly defined for both of these Sloc.
    Where i can check whether interface is properly defined or not.
    2. See if you have defined the KANBAN replenishment strategy with Control type Transfer Requirements from a Storage Location which is being controlled by WM in the Customizing for Production under KANBAN > Replenishment Strategies > Define Stock Transfer Strategies
    Actually for a material two strategies are defined like;
    1) In-house Production strategies-0003-
    supply area is defined with storage location which is IM managed.
    And when this order is completed and i am trying to receive this in WM SLOC (usally whatever SLOC we have defined in supply area it proposes that SLOC at the time of receipt but i am changing this manually to WM managed SLOC) using transaction MIGO, it is directly taking the stock to 901 interim storage type and in total the stock increases but the problem is when TR is not getting created i am not able to take this to the storage bin as per strategies defined.
    2) Stock Transfer Strategies-This is working fine and in that TR/TO is working fine.
    3. For TO to get created automatically by the system from the transfer requirement, see if an indicator Automatic TO creation in the replenishment strategy is set or not. Yes this is set for stock transfer strategies but i didn't find option to check the TO creation automatically for in-house production strategy
    4. Also, check that you have set up a suitable replenishment movement type for KANBAN in the Customizing for Warehouse Management under Activities > Transfers > Define Movement Types (i.e.standard is 350 for KANBAN replenishment)-Yes this is also defined correctly.
    Appreciate your more inputs on this.

  • ChaRM transport not getting created

    Hi Experts,
    I am in SP20 EHP1. I am configuring ChRm flow. I have made the copy of SDHF to ZSHF. I have completed all the configurations.  I have made the copy of all the actions & statuses.
    I am having two actions in ZSHF while creating the transport requests as below.
    Option 1: Click the standard action "Set in Development". (copy of standard action). At that time the transport is getting created successfully.
    Option 2: Click the action "Create New Transport request" (Copy of standard action). At that time the transport is NOT getting created. Why i couldn't able create the transport using this copied action? In the transaction data tab ---> Actions tab, the details says that action "Processing HF_EXECUTE_ACTION Is Started" & @5C\QError@     Action could not be successfully executed
    Note:
    But if i use the standard transaction type SDHF, at that time using both standard actions, i could able to create transports.
    Need your valuable input

    Hi,
    Please check for the configurational table for which you are facing problem, its delivery class should be "C" under delivery & maintenance.
    You can get it checked by your ABAP team.
    hope this will help.
    Regards,
    AK

  • Infotype 0573 not getting created

    Hi All,
    We have an R/3 transaction created for leave application and this is showcased in EP6.0 portal as an Internet Service. Now, when we apply for leave using this application through portal, for certain employees, infotype 0573(Absence infotype for Australia PS) is not getting created but 2001 gets created. When we try doing the same through PA30 or through the R/3 transaction itself, everything is going on fine. Only while applying through portal, this issue occurs. This was working fine in EP5.0 portal.
    Can anyone suggest a way to sort this issue? Any help will be rewarded.
    Thanks and Regards,
    Leena

    Hi Leena
    Please note that the function module HR_ABSENCE573_REQUEST_PBS was internally used by SAP only for corresponding ESS services of Leave administration Australia Public sector functionality. The behavior for the function module is as expected, when
    called from corresponding ESS services. Further the same function module is currently not enabled to be used outside the same. Also there are no further issues with creation of Infotype records in 0573 and 2001 (which are consistent) from PA30 (Maintain Master data).
    Hence would you please check if you are using the standard function module
    HR_ABSENCE573_REQUEST_PBS and perform an operation. As I mentioned Function module HR_ABSENCE573_REQUEST_PBS which is currently being used by ESS services for Leave administration.
    Regards,
    Jun Wu
    SAP HCM Support team (AU/AU-PS)

  • ESB Instance Not Getting Created

    Hello,
    I am trying to call one synchronous BPEL using one ESB. This ESB applies DVM while transforming input data into called BPEL format. But it shows some strange results. while calling ESB using any other BPEL
    1. ESB instance is not getting created.
    2. Synchronous BPEL is getting called but without DVM applied.
    But If I use SoapUI to call the ESB, it's working fine. Can any body give me any clue, why is it happing?
    Any help is appreciated.
    Thanx In Advance,
    Nitin

    Can you please confirm me the following steps...
    Log in to the EM console, Expand soa-infra (soa_server1) , go to the partition where your composite is been deployed, Click on your composite, On the right, click on the dropdown Settings and choose Composite Audit Level. you can choose to set the Audit Level for this composite. If you choose Inherit, it will take the settings to what the server is being set to. Otherwise, we can override it by choosing Off, Production, or Development.
    Make sure your setting for that composite is not Off, keep inherit or production or development.
    Thanks,
    N

  • BP ID not getting created

    Hi Friends,
    While i am creating org unit through PPOMA_BBP,Business partner id not getting created/assigned to the Org unit automatically
    I have checked teh number range for Business partner,it exist..
    Can you pls tell me what could be the reason for the issue...
    Thanks,
    San..

    Hi,
    Check following entry activated.
    Transaktion SM30, View T77S0
    Regards
    Konstantin

  • Sub node is not getting created

    Hi Experts
    I have IDOC to SOAP scenario, here the subnode is not getting created in the main node. please help me
    Structure is given below
    Source
    Matmas
          IDOC
              e1m -
    (1...9999 ) occurance
    Target
    Target
    XMLDATA  --- (1.. UNBOUNDED)
         SUBNODE1 ---(1.1)
              SUBNODE2 ---(1.)  -- UNDER SUBNODE1
              SUBNODE3----(0...UNBOUNDED) -- UNDER SUBNODE1.
    Quesion 1.
    now i want XMLDATA node to be repeated as many times as e1m comes from source along with both the subnodes 2 and 3 at target side.
    but i could see only subnode2 is getting created not the subnode3 while testing.
    May i know why is this happening.
    I want the SUBNODE3 also be created.
    Note the occurance of SUBNODE3  is 0.. unbounded
    Question 2:
    I want the SUBNODE3 also to be repeated as many times as e1m node comes from source.
    For example:
    e1m comes twice then the target should be as below
    XMLDATA  --- (1.. UNBOUNDED)    
    SUBNODE1 ---(1.1)
              SUBNODE2 ---(1.)  -- UNDER SUBNODE1
              SUBNODE3----(0...UNBOUNDED) -- UNDER SUBNODE1.
    SUBNODE3----(0...UNBOUNDED) -- UNDER SUBNODE1.
    XMLDATA  --- (1.. UNBOUNDED)    
    SUBNODE1 ---(1.1)
              SUBNODE2 ---(1.)  -- UNDER SUBNODE1
              SUBNODE3----(0...UNBOUNDED) -- UNDER SUBNODE1.
    SUBNODE3----(0...UNBOUNDED) -- UNDER SUBNODE1.
    Regards
    Lara

    Please see the below logic:
    E1MARAM --> XMLNODE
    E1MARAM --> useOneAsMany_customUDF -->SUBNODE3
    E1MARAM/MATNR -->  useOneAsMany_customUDF --> SUBNODE3/MATNR
    E1MARAM/xyzfield -->  useOneAsMany_customUDF --> SUBNODE3/xyzfield
    Source:
    <?xml version="1.0" encoding="UTF-8"?>
    <MATMAS05>
       <IDOC>
          <E1MARAM>
             <MATNR>123</MATNR>
          </E1MARAM>
          <E1MARAM>
             <MATNR>1234</MATNR>
          </E1MARAM>
       </IDOC>
    </MATMAS05>
    Target
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_Test xmlns:ns0="urn:test-2:test:area">
       <XMLDATA>
          <SUBNODE1>
             <SUBNODE2/>
             <SUBNODE3>
                <MATNR>123</MATNR>
             </SUBNODE3>
             <SUBNODE3>
                <MATNR>1234</MATNR>
             </SUBNODE3>
          </SUBNODE1>
       </XMLDATA>
       <XMLDATA>
          <SUBNODE1>
             <SUBNODE2/>
             <SUBNODE3>
                <MATNR>123</MATNR>
             </SUBNODE3>
             <SUBNODE3>
                <MATNR>1234</MATNR>
             </SUBNODE3>
          </SUBNODE1>
       </XMLDATA>
    </ns0:MT_Test>
    useOneAsMany_customUDF
    for(int i =0;i<var1.length;i++)
       for(int j=0;j<var1.length;j++)
          result.addValue(var1[j]);
        result.addContextChange();
    Hope it helps!

  • VPRS condition type not getting computed while retro billing.

    Dear All,
    I have an issue while generation of Reto billing using the T.Code : VFRB.While running VFRB the values are getting computed correctly and the supplimentary debit / credit note gets created.
    But the values for the condition type VPRS is not getting computed and getting transfered to CO-PA.
    On pricing analysis agaist VPRS i am getting the message (Condition ignored (requirement 004 not fulfilled)).
    The Item category used is TAN and the Determine cost Indicator is marked.Also while doing a sales invoice the VPRS condition type is getting computed and the value is posted in CO - PA.
    What would be the reason for the error .Could some one suggest a solution .Kindlye help.
    Regards,
    K.Vivek

    Hello vivek,
    this is usually caused by userexit. Please check  userexit_pricing_prepare_tkomp userexit_number_range using in rv60afzz.
    Best regards,
    Ivano.

Maybe you are looking for

  • Error while trying to start oc4j 11g in standalone mode

    I get this error while trying to start oc4j 11g (that comes with JDeveloper 11g Technical Preview 2 ) in standone mode. Any ideas ? Sep 17, 2007 6:29:21 PM com.sun.faces.spi.InjectionProviderFactory createInstance INFO: jsf.core.injection.provider_ge

  • Ipod accidently synced with Windows Media Player

    When I hooked up my Ipod to my Windows computer and had Media Player up and running, it started to sync my files to my ipod....again...even though the same files are already on the ipod from itunes. When i sync my ipod now from itunes, it shows over

  • How do you recommend a JE configuration according to app. construction?

    Hi to all, When we use JE as following configuration, CPU utilization is consistently high ans sometimes low. How do you recommend a JE configuration according to application construction? Our Application and use of JE configuration is as follows. -

  • Question for experts/ wrapping - data pump

    Hello All, In am using ORACLE 10.2.0.4.0 i have an issue while export / import wrapped procedures: I have some procedures / packages that are wrapped and when i do export for their related schema and then import it to the database, i got the below er

  • Email server needs authentication

    I want to send an email from a Creator project, but my email server requires authentication. The sun.net.smtp.SmtpClient does not seem to provide an API for that. Can anyone supply a solution?