3 issues with mapped-superclass

I created a superclass for my entities which is a simple pojo with 4 properties. I mapped it in JPA with mapped-superclass.
I want the 'ownerId' and 'created' fields to be read-only on the API, in other words, the pojo shouldn't have setters for those 2 fields.
TLE objects violently to the absence of those setters. I throws a NPE (see below).
Secondly, I decided I could live without the read-only requirement, so I put the setters on the pojo, set the mapping's access= to access="FIELD" so that the setters are not called. Out of curiosity, I threw exceptions in the setters just to make sure.
TLE insists on calling the setters, regardless of the 'access' mode I choose. It's always PROPERTY access which is used. FIELD is ignored.
So I can live with that too. However once I managed to deploy the whole JPA and started testing it, I realised the prePersist event listener isn't called as it is should be according to the mapping I defined. The prePersist callback is in the mapped-superclass entity mapping and calls a method on the superclass. However it isn't called.
Does anybody here use mapped-superclass without trouble, or is there an example app out on the net demonstrating its use without issues?
This is TLE build 58g-fcs, btw.
Regards
Adam
java.lang.NullPointerException
     at oracle.toplink.essentials.internal.ejb.cmp3.metadata.accessors.objects.MetadataMethod.getSetMethodName(MetadataMethod.java:69)
     at oracle.toplink.essentials.internal.ejb.cmp3.metadata.accessors.MetadataAccessor.getSetMethodName(MetadataAccessor.java:330)
     at oracle.toplink.essentials.internal.ejb.cmp3.metadata.accessors.MetadataAccessor.setAccessorMethods(MetadataAccessor.java:575)
     at oracle.toplink.essentials.internal.ejb.cmp3.metadata.accessors.BasicAccessor.processDirectToFieldMapping(BasicAccessor.java:182)
     at oracle.toplink.essentials.internal.ejb.cmp3.metadata.accessors.BasicAccessor.process(BasicAccessor.java:160)
     at oracle.toplink.essentials.internal.ejb.cmp3.metadata.accessors.ClassAccessor.processAccessor(ClassAccessor.java:528)
     at oracle.toplink.essentials.internal.ejb.cmp3.xml.accessors.XMLClassAccessor.processAccessors(XMLClassAccessor.java:371)
     at oracle.toplink.essentials.internal.ejb.cmp3.metadata.accessors.ClassAccessor.processMappedSuperclass(ClassAccessor.java:1128)
     at oracle.toplink.essentials.internal.ejb.cmp3.xml.accessors.XMLMappedSuperclassAccessor.process(XMLMappedSuperclassAccessor.java:67)
     at oracle.toplink.essentials.internal.ejb.cmp3.metadata.accessors.ClassAccessor.processMappedSuperclasses(ClassAccessor.java:1138)
     at oracle.toplink.essentials.internal.ejb.cmp3.metadata.accessors.ClassAccessor.process(ClassAccessor.java:495)
     at oracle.toplink.essentials.internal.ejb.cmp3.xml.accessors.XMLClassAccessor.process(XMLClassAccessor.java:322)
     at oracle.toplink.essentials.internal.ejb.cmp3.metadata.MetadataProcessor.processMappingFile(MetadataProcessor.java:568)
     at oracle.toplink.essentials.internal.ejb.cmp3.metadata.MetadataProcessor.processMappingFiles(MetadataProcessor.java:533)
     at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.processORMetadata(PersistenceUnitProcessor.java:368)
     at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:607)
     at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.callPredeploy(JavaSECMPInitializer.java:171)
     at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initPersistenceUnits(JavaSECMPInitializer.java:239)
     at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initialize(JavaSECMPInitializer.java:255)
     at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createEntityManagerFactory(EntityManagerFactoryProvider.java:155)
     at javax.persistence.Persistence.createFactory(Persistence.java:172)

https://glassfish.dev.java.net/issues/show_bug.cgi?id=4414

Similar Messages

  • Wacom, issue with mapping area

    Hello,
    I have:
    Wacon Intuos Pen & Touch, CTH-480/S.
    Wacom driver 6.3.10w2.
    Adobe Photoshop CC 2014.2.1.
    MacBook Pro (late 2013)
    Mac OS X 10.10.1 Yosemite
    I don't have any external monitors
    Most of the times I restart my computer I have to revise the mapping area. Fot "All Others" and for "Adobe Photoshop CC 2014.app".
    I want to use it as:
    Mode: Pen
    Screen Area: Full
    Tablet Area: Portion... (0,0, 4750,7600)
    But after each reset, the tablet works as if I had it set to :
    Mode: Pen
    Screen Area: Portion... (the upper left portion)
    Tablet Area: Portion... (0,0, 4750,7600)
    Notice the screen area set to "Monitor 1" and still the issue:
    Notice the screen area is set to "Full" an still the issue.
    I'm using my tablet with the original provided USB cable. I also tried using another USB port on my computer. I don't have any other device connected to my computer. I have also my Magic Mouse (Apple Bluetooth mouse) turned off. Also I'm using the original provided power source and I also tried using the computer unplugged.
    I had this issue with several older drivers as well.
    This issue started with Mac OS X 10.10 Yosemite. I also tried to fix it, doing a clean install of Yosemite.
    I had tried the "REMOVE" and "RE INSTALL" driver using the "Wacom Tablet Utility".
    I will appreciate your help.
    Kind regards,
           Juan Pedro
    More info:

    Peter,
    Thank you for your reply.
    Your steps does not solve the problem. I had tried those steps several times, but without luck.
    The issue is (I think) because I use a more dense ppi and the driver gets the boot up ppi resolution. I use my screen at "More Space" but when the computer turns on... it on "Best (Retina)".
    So my idea is the driver gets the "Best (Retina)" ppi and when my sessions starts and the computer changes to "More Space"... the Wacom driver already got the other resolution and there is the problem.
    Check this post for more details: Low screen resolution on login after boot | Apple Support Communities
    Miranda,
    The drivers at the UK site and the US site are in the same family.
    The difference is the UK are a bit older than the US.
    For me, the new 6.3.11w3 driver is working a bit better.
    Not perfect, but better.

  • Convert Date format from YYYYMMDD to MM/DD/YYYY --issue with Mapping

    Hi All ,
    I have IDOC(DESADV.DELVRY03-> file ) scenario which i am working on . While debugging noticed that the field :
    E1EDT13\NATNZ -Data Transformation(from yyyymmdd to mm/dd/yyyy)-Target .This works
    But say if IDOC doesn't pass any value (For Good's issue) I get Error during debugging : RuntimeException in Message-Mapping transformation: Unparseable date: ""
    I did check thsi blog : Convertinf Date format from YYYY-MM-DD to MMDDYYYY  but this is  about the Data Transformtaion.
    I tried using constants , create if , -these function doesn't work /not applicle in this case
    Could you please provide  inputs as to how to handle two condition :
    1. With date -- then transform
    2.Else , pass nothing

    Hi Varalakshmi,
    Plese try to use UDF for date conversion and include logic which would check the Space value from the source structure.
    so if there is space return as such
    else.
    perform the conversion logic.
      Convertinf Date format from YYYY-MM-DD to MMDDYYYY
    (The conversion logic has been provided by micheal in the thread you have provided in the query)
    Thanks,
    Ram.

  • Issue with Map ID

    I recently upgraded to RoboHelp v7. I have a help project
    that was converted from v6. I added three new map IDs to the
    project. Two of them worked, but the third didn't. Everything
    looked fine, it just didn't bring anything up. I thought maybe
    there's a bug in the new version where it has a problem with the
    last ID in the file, so I added another, blank ID at the end. When
    I did that, the topic that wasn't working started to work, and one
    that was previously working stopped working. Is this a known issue?
    Anybody know of a workaround?

    Hi, kfielder,
    This sounds like the same problem as the one described in the
    following thread:
    1st
    row of ALI-file does not work
    In short, there appears to be a problem with the way that
    RoboHelp 7 is encoding the map (.h) and alias (.ali) files. I
    believe that at least two other users have reported this as a bug.
    Pete

  • Issue with Mapping Spaces for Receiver Flat File Fixed Length

    Hi Mapping experts,
    my scenario is receiver FILE (fixed length)
    so if a validation applied on a target field returns false then I need to pass the spaces having the number of characters defined for that field
    example
    targetField length = 8
    using "IF" function to perform validation,   if validation is true  THEN = FIELD
    if validation is false ELSE = "________"    (underscore to represent 8 spaces)
    the problem is the validation is of multiple occurences in one queue and if the "true" statement is on the 6th row, I get _________ which is the value of the 1st row (which is correct because rows 1 to 5 are all false therefore having the value of ELSE which is _______ mapped to it)
    How can I get the value of the TRUE row regardless of what row it is located?
    e.g. IF = input is 5 rows of validation,     TRUE is in the 3rd row,   i will get the 3rd row value
           IF = input is 5 rows of validation,     NO TRUE Value,   return 8 spaces
    right now when i Display Queue values are
    iF:in0          iF:in1          iF:in2          iF:out
    1111          false          [_________]     [_________]
    2222          false                    [_________]
    3333          true                    3333
    4444          false                    [_________]
    5555          false                    [_________]
    In above Queue i only get the value of the 1st row which is ________   --> because my target field occurrences definition in Data Type is 0....1
    if I change Data Type occurrences to 1...unbounded I get 5 target fields generated --> WRONG because target file is fixed field, so only one occurence of that target field is required

    Can you give me the idea of what validation are you using so that anyone can help you with the UDF straightaway
    because you need to have a UDf in place which will iterate the number of times the field occurs and then it will check the entire queue first ,where validation is true and only at the instant it will return the value
    if the entire queue is value it will return the  8 underscores
    I hope this is what you wanted
    regards
    ninad

  • DESADV.DELVRY 03 IDOC to file  Issue with Mapping

    Hi All,
    We have DESADV.DELVRY03 used in this scenario. The Header Text Field : E1TXTH8 had the segment :TDID(Text ID) .
    The Codition is : If TDID =9500 Condition , then the field of :E1EDL41 - BSTNR (Customer PO number ) should be mapped , sent as file data
    I am doing the Graphical (Visual Mapping tool) as i am not expertised in XSLT .
    Since the TDID and BSTNR  fields are from diffrent  segments , it is throwing an error.
    Could you please suggest how to solve this isuse as it is  crtical task .
    -I tried with:  if TDID=9500 , then BSTNR = (CutomerPONo--interface field) , this throws an error :
    RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns0:ShipmentDelivery_Request/ReferenceData_Party/CustomerPONumber. The message is: Exception:[java.lang.IllegalArgumentException: Cannot cast 9500 to boolean] in class com.sap.aii.mappingtool.flib3.Bool method equals[9500, 9500, com.sap.aii.mappingtool.tf3.rt.Context@54039b37]
    Edited by: Varalakshmi SB on Jan 13, 2011 11:18 AM

    Hi,
    Create the graphical mapping as below:
    Use IfWithoutElse. If TDID equalS "9500" then E1EDL41 - BSTNR.
    Since TDID and BSTNR are in different contexts, change the contexts to segment level.
    After that use, removeContexts and SplitByValue node functions.
    It would roughly look like below:
    IfWithoutElse -- TDID equalS 9500 -- then -- BSTNR -- removeContexts SplitByValue -- <Target Structure>
    Thank you.
    Regards,
    Subbu

  • Dynamics AX schema TrvPBSMaindataService issue with map

    I have the following schemas generated by the WSDL from a Dynamics AX web service. The node TrvPBSMaindataServiceCreateRequest is the request which contains TrvPBSMaindata. BizTalk map cannot use the reference, since TrvPBSMaindata has a child node with
    the same name. I tried to create a separate schema for TrvPBSMaindata and use it without success. I noticed when you change the elementFormDefault="qualified"  to unqualified, you can see the node properly, but it does not add the prefix and
    fail in AIF: schema not well formatted. I tired to "inject the prefix using xsl". This is where I am now struggling...any thoughs?
    TrvPBSMaindataServiceCreateRequest: PCard_schemas_microsoft_com_dynamics_2008_01_services.xsd
    <?xml version="1.0"?>
    <xs:schema xmlns:tns="http://schemas.microsoft.com/dynamics/2008/01/services" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/dynamics/2008/01/services"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:import schemaLocation=".\PCard_emas_microsoft_com_dynamics_2008_01_documents_TrvPBSMaindata.xsd" namespace="http://schemas.microsoft.com/dynamics/2008/01/documents/TrvPBSMaindata"
    />
      <xs:import schemaLocation=".\PCard_hemas_microsoft_com_dynamics_2006_02_documents_EntityKeyList.xsd" namespace="http://schemas.microsoft.com/dynamics/2006/02/documents/EntityKeyList"
    />
      <xs:element name="TrvPBSMaindataServiceCreateRequest">
        <xs:complexType>
          <xs:sequence>
            <xs:element xmlns:q1="http://schemas.microsoft.com/dynamics/2008/01/documents/TrvPBSMaindata" minOccurs="0"
    ref="q1:TrvPBSMaindata" />
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="TrvPBSMaindataServiceCreateResponse">
        <xs:complexType>
          <xs:sequence>
            <xs:element xmlns:q2="http://schemas.microsoft.com/dynamics/2006/02/documents/EntityKeyList" minOccurs="0"
    ref="q2:EntityKeyList" />
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema>
    TrvPBSMaindata: PCard_emas_microsoft_com_dynamics_2008_01_documents_TrvPBSMaindata.xsd
    <?xml version="1.0"?>
    <xs:schema xmlns:tns="http://schemas.microsoft.com/dynamics/2008/01/documents/TrvPBSMaindata" xmlns:st="http://schemas.microsoft.com/dynamics/2008/01/sharedtypes"
    elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/dynamics/2008/01/documents/TrvPBSMaindata" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:import schemaLocation=".\PCard_schemas_microsoft_com_dynamics_2008_01_sharedtypes.xsd" namespace="http://schemas.microsoft.com/dynamics/2008/01/sharedtypes"
    />
      <xs:element name="TrvPBSMaindata" type="tns:AxdTrvPBSMaindata" />
      <xs:complexType name="AxdTrvPBSMaindata">
        <xs:sequence>
          <xs:element minOccurs="0" name="ClearNilFieldsOnUpdate" nillable="true" type="st:AxdEnum_boolean" />
          <xs:element minOccurs="0" name="DocPurpose" nillable="true" type="st:AxdEnum_XMLDocPurpose" />
          <xs:element minOccurs="0" name="SenderId" nillable="true" type="st:AxdExtType_DataAreaId" />
          <xs:element minOccurs="0" maxOccurs="unbounded" name="TrvPBSMaindata" type="tns:AxdEntity_TrvPBSMaindata" />
        </xs:sequence>
      </xs:complexType>
      <xs:complexType name="AxdEntity_TrvPBSMaindata">
        <xs:sequence>
          <xs:element minOccurs="0" name="_DocumentHash" nillable="true" type="xs:string" />
          <xs:element minOccurs="1" name="AmountCurr" type="st:AxdExtType_AmountCur" />
          <xs:element minOccurs="0" name="AmountLocal" nillable="true" type="st:AxdExtType_AmountCur" />
          <xs:element minOccurs="0" name="BusinessName" nillable="true" type="st:AxdExtType_TrvPBSBusinessName" />
          <xs:element minOccurs="0" name="CardNumber" nillable="true" type="st:AxdExtType_TrvCardNumber" />
          <xs:element minOccurs="0" name="CardNumberNIKS" nillable="true" type="st:AxdExtType_TrvCardNumber" />
          <xs:element minOccurs="1" name="CardType" type="st:AxdExtType_TrvCreditCardType" />
          <xs:element minOccurs="0" name="CatCode" nillable="true" type="st:AxdExtType_TrvCatCodeNoEDT" />
          <xs:element minOccurs="0" name="CatCodesDesc" nillable="true" type="st:AxdExtType_TrvCatCodeDescriptionEDT" />
          <xs:element minOccurs="0" name="CCTransUniqueId" nillable="true" type="st:AxdExtType_TrvCCTransUniqueID" />
          <xs:element minOccurs="0" name="Country" nillable="true" type="st:AxdExtType_TrvPbsCountry" />
          <xs:element minOccurs="0" name="DisputeStatus" nillable="true" type="st:AxdExtType_TrvCCDisputeStatus" />
          <xs:element minOccurs="0" name="DisputeTrackingNumber" nillable="true" type="st:AxdExtType_TrvDisputeTrackingNumber" />
          <xs:element minOccurs="1" name="ExchCode" type="st:AxdUnion_AxdExtType_CurrencyCode_AxdType_ExtCodeValue" />
          <xs:element minOccurs="0" name="ExchCodeLocal" nillable="true" type="st:AxdUnion_AxdExtType_CurrencyCode_AxdType_ExtCodeValue" />
          <xs:element minOccurs="0" name="MerchantCategoryCode" nillable="true" type="st:AxdExtType_TrvMerchantCategoryCode" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="st:AxdExtType_Name" />
          <xs:element minOccurs="0" name="Paymethod" nillable="true" type="st:AxdExtType_TrvPayMethodEDT" />
          <xs:element minOccurs="0" name="Reference" nillable="true" type="st:AxdExtType_TrvPBSKey" />
          <xs:element minOccurs="0" name="Town" nillable="true" type="st:AxdExtType_TrvPBSTown" />
          <xs:element minOccurs="1" name="TransDate" type="xs:date" />
          <xs:element minOccurs="0" name="UserField1" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserField2" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserField3" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserField4" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserField5" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserField6" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserField7" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserField8" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserField9" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserFieldLong" nillable="true" type="st:AxdExtType_trvPBSUserFieldLong" />
          <xs:element minOccurs="0" maxOccurs="unbounded" name="TrvEnhancedData" type="tns:AxdEntity_TrvEnhancedData_TrvEnhancedData" />
          <xs:element minOccurs="0" maxOccurs="unbounded" name="TrvEnhancedTaxInfo" type="tns:AxdEntity_TrvEnhancedTaxInfo" />
        </xs:sequence>
        <xs:attribute fixed="entity" name="class" use="required" />
        <xs:attribute name="action" type="st:AxdEnum_AxdEntityAction" />
      </xs:complexType>
      <xs:complexType name="AxdEntity_TrvEnhancedData_TrvEnhancedData">
        <xs:sequence>
          <xs:element minOccurs="0" name="InstanceRelationType" nillable="true" type="st:AxdExtType_RelationType" />
          <xs:element minOccurs="0" name="PBSRecid" nillable="true" type="st:AxdExtType_RefRecId" />
          <xs:element minOccurs="0" name="RecId" nillable="true" type="st:AxdExtType_RecId" />
          <xs:element minOccurs="0" name="RecVersion" nillable="true" type="st:AxdExtType_RecVersion" />
          <xs:element minOccurs="0" name="TransactionRecord" nillable="true" type="st:AxdExtType_RefRecId" />
          <xs:element minOccurs="0" name="UserDefinedField1" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserDefinedField10" nillable="true" type="st:AxdExtType_trvPBSUserFieldLong" />
          <xs:element minOccurs="0" name="UserDefinedField2" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserDefinedField3" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserDefinedField4" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserDefinedField5" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserDefinedField6" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserDefinedField7" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserDefinedField8" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserDefinedField9" nillable="true" type="st:AxdExtType_trvPBSUserField" />
        </xs:sequence>
        <xs:attribute fixed="entity" name="class" use="required" />
        <xs:attribute name="action" type="st:AxdEnum_AxdEntityAction" />
      </xs:complexType>
      <xs:complexType name="AxdEntity_TrvEnhancedData_TrvEnhancedHotelData">
        <xs:complexContent mixed="false">
          <xs:extension base="tns:AxdEntity_TrvEnhancedData_TrvEnhancedData">
            <xs:sequence>
              <xs:element minOccurs="0" name="CheckInDate" nillable="true" type="st:AxdExtType_TrvTransDate" />
              <xs:element minOccurs="0" name="CheckOutDate" nillable="true" type="st:AxdExtType_TrvTransDate" />
              <xs:element minOccurs="0" name="FolioNumber" nillable="true" type="st:AxdExtType_TrvFolioNumber" />
              <xs:element minOccurs="0" name="GuestName" nillable="true" type="st:AxdExtType_TrvGuestName" />
              <xs:element minOccurs="0" name="GuestNumber" nillable="true" type="st:AxdExtType_TrvGuestNumber" />
              <xs:element minOccurs="0" name="NoShowIndicator" nillable="true" type="st:AxdEnum_NoYes" />
              <xs:element minOccurs="0" name="TotalRoomNights" nillable="true" type="st:AxdExtType_TrvNumberOfNights" />
              <xs:element minOccurs="0" name="TotalRoomRent" nillable="true" type="st:AxdExtType_AmountCur" />
              <xs:element minOccurs="0" name="TotalTaxAmount" nillable="true" type="st:AxdExtType_TaxAmountJournal" />
              <xs:element minOccurs="0" maxOccurs="unbounded" name="TrvHotelCharge" type="tns:AxdEntity_TrvHotelCharge" />
            </xs:sequence>
          </xs:extension>
        </xs:complexContent>
      </xs:complexType>
      <xs:complexType name="AxdEntity_TrvHotelCharge">
        <xs:sequence>
          <xs:element minOccurs="0" name="ChargeAmount" nillable="true" type="st:AxdExtType_AmountCur" />
          <xs:element minOccurs="1" name="ChargeType" type="st:AxdEnum_TrvHotelChargeType" />
        </xs:sequence>
        <xs:attribute fixed="entity" name="class" use="required" />
        <xs:attribute name="action" type="st:AxdEnum_AxdEntityAction" />
      </xs:complexType>
      <xs:complexType name="AxdEntity_TrvEnhancedData_TrvEnhancedItineraryData">
        <xs:complexContent mixed="false">
          <xs:extension base="tns:AxdEntity_TrvEnhancedData_TrvEnhancedData">
            <xs:sequence>
              <xs:element minOccurs="0" name="DepartureDate" nillable="true" type="st:AxdExtType_TrvTransDate" />
              <xs:element minOccurs="0" name="DomesticIndicator" nillable="true" type="st:AxdEnum_NoYes" />
              <xs:element minOccurs="0" name="ExchangeTicketNumber" nillable="true" type="st:AxdExtType_TrvTicketNumber" />
              <xs:element minOccurs="0" name="IssuingCarrier" nillable="true" type="st:AxdExtType_TrvIssuingCarrier" />
              <xs:element minOccurs="0" name="NumberOfLegs" nillable="true" type="st:AxdExtType_TrvNumberOfLegs" />
              <xs:element minOccurs="0" name="OriginalTicketNumber" nillable="true" type="st:AxdExtType_TrvTicketNumber" />
              <xs:element minOccurs="0" name="PassengerName" nillable="true" type="st:AxdExtType_TrvName" />
              <xs:element minOccurs="0" name="TicketIssueDate" nillable="true" type="st:AxdExtType_TrvTransDate" />
              <xs:element minOccurs="0" name="TravelAgencyCode" nillable="true" type="st:AxdExtType_TrvTravelAgencyCode" />
              <xs:element minOccurs="0" name="TravelAgencyInvoiceNumber" nillable="true" type="st:AxdExtType_TrvTravelAgencyInvoiceNumber" />
              <xs:element minOccurs="0" name="TravelAgencyName" nillable="true" type="st:AxdExtType_TrvName" />
              <xs:element minOccurs="0" maxOccurs="unbounded" name="TrvEnhancedTripLegDetail" type="tns:AxdEntity_TrvEnhancedTripLegDetail" />
              <xs:element minOccurs="0" maxOccurs="unbounded" name="TrvItineraryCharge" type="tns:AxdEntity_TrvItineraryCharge" />
            </xs:sequence>
          </xs:extension>
        </xs:complexContent>
      </xs:complexType>
      <xs:complexType name="AxdEntity_TrvEnhancedTripLegDetail">
        <xs:sequence>
          <xs:element minOccurs="0" name="ArrivalDate" nillable="true" type="st:AxdExtType_TrvTransDate" />
          <xs:element minOccurs="0" name="CarrierCode" nillable="true" type="st:AxdExtType_TrvCarrierCode" />
          <xs:element minOccurs="0" name="CityOfOrigin" nillable="true" type="st:AxdExtType_TrvCity" />
          <xs:element minOccurs="0" name="DepartureTax" nillable="true" type="st:AxdExtType_TaxAmountJournal" />
          <xs:element minOccurs="0" name="DestinationCity" nillable="true" type="st:AxdExtType_TrvCity" />
          <xs:element minOccurs="0" name="FareAmount" nillable="true" type="st:AxdExtType_AmountCur" />
          <xs:element minOccurs="0" name="FeeAmount" nillable="true" type="st:AxdExtType_AmountCur" />
          <xs:element minOccurs="0" name="FlightNumber" nillable="true" type="st:AxdExtType_TrvFlightNumber" />
          <xs:element minOccurs="0" name="ServiceClass" nillable="true" type="st:AxdExtType_TrvAirlineServiceClass" />
          <xs:element minOccurs="0" name="StopOverCity" nillable="true" type="st:AxdExtType_TrvCity" />
          <xs:element minOccurs="0" name="TaxAmount" nillable="true" type="st:AxdExtType_TaxAmountJournal" />
          <xs:element minOccurs="0" name="TravelDate" nillable="true" type="st:AxdExtType_TrvTransDate" />
          <xs:element minOccurs="0" name="TripLegNumber" nillable="true" type="st:AxdExtType_TrvTripLegNumber" />
          <xs:element minOccurs="0" name="UserDefinedField1" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserDefinedField10" nillable="true" type="st:AxdExtType_trvPBSUserFieldLong" />
          <xs:element minOccurs="0" name="UserDefinedField2" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserDefinedField3" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserDefinedField4" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserDefinedField5" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserDefinedField6" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserDefinedField7" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserDefinedField8" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserDefinedField9" nillable="true" type="st:AxdExtType_trvPBSUserField" />
        </xs:sequence>
        <xs:attribute fixed="entity" name="class" use="required" />
        <xs:attribute name="action" type="st:AxdEnum_AxdEntityAction" />
      </xs:complexType>
      <xs:complexType name="AxdEntity_TrvItineraryCharge">
        <xs:sequence>
          <xs:element minOccurs="0" name="ChargeAmount" nillable="true" type="st:AxdExtType_AmountCur" />
          <xs:element minOccurs="0" name="ChargeType" nillable="true" type="st:AxdEnum_TrvAirlineChargeType" />
        </xs:sequence>
        <xs:attribute fixed="entity" name="class" use="required" />
        <xs:attribute name="action" type="st:AxdEnum_AxdEntityAction" />
      </xs:complexType>
      <xs:complexType name="AxdEntity_TrvEnhancedData_TrvEnhancedCarRentalData">
        <xs:complexContent mixed="false">
          <xs:extension base="tns:AxdEntity_TrvEnhancedData_TrvEnhancedData">
            <xs:sequence>
              <xs:element minOccurs="0" name="CarRentalCheckOutDate" nillable="true" type="st:AxdExtType_TrvTransDate" />
              <xs:element minOccurs="0" name="CheckOutLocation" nillable="true" type="st:AxdExtType_TrvRentalLocation" />
              <xs:element minOccurs="0" name="DailyRentalRate" nillable="true" type="st:AxdExtType_AmountCur" />
              <xs:element minOccurs="0" name="DaysRented" nillable="true" type="st:AxdExtType_TrvDaysRented" />
              <xs:element minOccurs="0" name="MonthlyRentalRate" nillable="true" type="st:AxdExtType_AmountCur" />
              <xs:element minOccurs="0" name="RegularMileageCharges" nillable="true" type="st:AxdExtType_AmountCur" />
              <xs:element minOccurs="0" name="RenterName" nillable="true" type="st:AxdExtType_TrvName" />
              <xs:element minOccurs="0" name="ReservationNumber" nillable="true" type="st:AxdExtType_TrvRentalReservationNumber" />
              <xs:element minOccurs="0" name="ReturnDate" nillable="true" type="st:AxdExtType_TrvTransDate" />
              <xs:element minOccurs="0" name="ReturnLocation" nillable="true" type="st:AxdExtType_TrvRentalLocation" />
              <xs:element minOccurs="0" name="TotalMiles" nillable="true" type="st:AxdExtType_TrvMileage" />
              <xs:element minOccurs="0" name="VehicleClass" nillable="true" type="st:AxdExtType_TrvCarRentalVehicleClass" />
              <xs:element minOccurs="0" name="WeeklyRentalRate" nillable="true" type="st:AxdExtType_AmountCur" />
              <xs:element minOccurs="0" maxOccurs="unbounded" name="TrvCarRentalCharge" type="tns:AxdEntity_TrvCarRentalCharge" />
            </xs:sequence>
          </xs:extension>
        </xs:complexContent>
      </xs:complexType>
      <xs:complexType name="AxdEntity_TrvCarRentalCharge">
        <xs:sequence>
          <xs:element minOccurs="0" name="ChargeAmount" nillable="true" type="st:AxdExtType_AmountCur" />
          <xs:element minOccurs="0" name="ChargeType" nillable="true" type="st:AxdEnum_TrvCarRentalChargeType" />
        </xs:sequence>
        <xs:attribute fixed="entity" name="class" use="required" />
        <xs:attribute name="action" type="st:AxdEnum_AxdEntityAction" />
      </xs:complexType>
      <xs:complexType name="AxdEntity_TrvEnhancedTaxInfo">
        <xs:sequence>
          <xs:element minOccurs="0" name="CustomerVATNumber" nillable="true" type="st:AxdExtType_TrvVATNumber" />
          <xs:element minOccurs="0" name="IsGSTHSTIncludedInAmount" nillable="true" type="st:AxdEnum_NoYes" />
          <xs:element minOccurs="0" name="IsSalesTaxIncludedInAmount" nillable="true" type="st:AxdEnum_NoYes" />
          <xs:element minOccurs="0" name="ItemSalesTaxGroup" nillable="true" type="st:AxdExtType_TrvItemSalesTaxGroup" />
          <xs:element minOccurs="0" name="SalesTaxGroup" nillable="true" type="st:AxdExtType_TrvSalesTaxGroup" />
          <xs:element minOccurs="0" name="SupplierVATNumber" nillable="true" type="st:AxdExtType_TrvVATNumber" />
          <xs:element minOccurs="0" name="TotalSalesTaxAmount" nillable="true" type="st:AxdExtType_TaxAmountJournal" />
          <xs:element minOccurs="0" name="UserDefinedField1" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserDefinedField2" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserDefinedField3" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserDefinedField4" nillable="true" type="st:AxdExtType_trvPBSUserField" />
          <xs:element minOccurs="0" name="UserDefinedField5" nillable="true" type="st:AxdExtType_trvPBSUserFieldLong" />
          <xs:element minOccurs="0" maxOccurs="unbounded" name="TrvTaxCharge" type="tns:AxdEntity_TrvTaxCharge" />
        </xs:sequence>
        <xs:attribute fixed="entity" name="class" use="required" />
        <xs:attribute name="action" type="st:AxdEnum_AxdEntityAction" />
      </xs:complexType>
      <xs:complexType name="AxdEntity_TrvTaxCharge">
        <xs:sequence>
          <xs:element minOccurs="1" name="TaxAmount" type="st:AxdExtType_TaxAmountJournal" />
          <xs:element minOccurs="1" name="TaxType" type="st:AxdEnum_TrvTaxType" />
        </xs:sequence>
        <xs:attribute fixed="entity" name="class" use="required" />
        <xs:attribute name="action" type="st:AxdEnum_AxdEntityAction" />
      </xs:complexType>
    </xs:schema>
    PCard_hemas_microsoft_com_dynamics_2006_02_documents_EntityKeyList.xsd
    <?xml version="1.0"?>
    <xsd:schema xmlns:ek="http://schemas.microsoft.com/dynamics/2006/02/documents/EntityKey" xmlns:tns="http://schemas.microsoft.com/dynamics/2006/02/documents/EntityKeyList"
    elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/dynamics/2006/02/documents/EntityKeyList" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <xsd:import schemaLocation=".\PCard_schemas_microsoft_com_dynamics_2006_02_documents_EntityKey.xsd" namespace="http://schemas.microsoft.com/dynamics/2006/02/documents/EntityKey"
    />
      <xsd:element name="EntityKeyList" type="tns:EntityKeyList" />
      <xsd:complexType name="EntityKeyList">
        <xsd:sequence>
          <xsd:element minOccurs="0" maxOccurs="unbounded" ref="ek:EntityKey" />
        </xsd:sequence>
      </xsd:complexType>
    </xsd:schema>
    stm1886

    >> I noticed when you change the elementFormDefault="qualified"  to unqualified, you can see the node properly, but it does not add the prefix and fail in AIF: schema not well formatted. I tired to "inject the prefix using
    xsl".
    Can you provide any other hints for this problem?

  • DESADV.DELVRY 03(IDOC) - File Scenario .Issue with Mapping

    Hi All,
    we have used DESADV.DELVRY 03 as Source. we need to generate an XML file.
    Condition : we have segment :u2022E1ADRM1 : Central Address Segment Group, Main .this is Unbounded (0 ...99)
    The Segments has field:     PARTNER_Q  . The IDOC can have PARTNER_Q(Qualifier) as -> WE, SP, OSO.
    The condition is if PARTNER_Q =WE , then the data of SHIP TO PARTy should be transfered to file
    Same time, If Partner_Q =AG , Data of Sold to Party " should be transfered.
    Note :1.I DOC generated can have  PARTNER_Q= SP, AG , OSP , ZM etc.
             2. The adress are unique . Sold to Praty id , Sales ORG address are not same .. its different.
    I have develeoped  interface with Ship to party , sold to party , sales org fields , but I am little confused how to match all fields  of Qualifier : SP, WE, OSP  a once to -> file.
    I can't duplicate segment: E1ADRM1 structure as it is Source
    Please provide your input .
    Edited by: Varalakshmi SB on Jan 14, 2011 1:27 PM
    Edited by: Varalakshmi SB on Jan 14, 2011 1:29 PM

    Hi,
    this kind of conditions will be common during handling of idoc structures...
    All you need to do handle the context of the segment E1ADRM1 to the parent node..so that data of all qualifiers will be in single context and checks for the condition you provide
    i.e if E1EDRM1/PARTNER-Q Equals WE then pass the target value to the target field..
    if you like to gain confidence of your mapping once mapping is done put some test data and right click your mapping conditions and click queue to see the output and how the values are passed to the conditions..
    HTH
    Rajesh

  • Issue with mapping XML to Java using SAX API

    I am using SAX API to Map XML Documents To Java. Is it possible to differentiate the elements based on the attribute rather than localname or element name in SAX API? because I am having the below xml structure. In SAX API we are processing the element values based on start/End Element name.
    <?xml version="1.0" encoding="UTF-8"?>
    <response>
    <result name="response">
    <doc>
    <str name="art_id">192201910</str>
    <str name="title">test</str>
    <arr name="author">
    <str>Darrell Dunn</str>
    <str>William </str>
    </arr>
    <arr name="tax">
    <str>113243335</str>
    <str>233454666</str>
    </arr>
    </doc>
    <doc>
    <str name="art_id">192201911</str>
    <str name="title">test2</str>
    <arr name="author">
    <str>Darrell Dunn1</str>
    <str>William 1</str>
    </arr>
    </doc>
    </result>
    </response>
    I want to map the elements based on attributes such as
    classobj.art_id, classobj.title, classobj.tax[]. I have wriiten code below, but I am not getting the proper result.
    import org.xml.sax.;
    import org.xml.sax.helpers.;
    import java.io.;
    import java.util.;
    import common.;
    public class XmltoObjectHandler extends DefaultHandler{
    /* Creates a new instance of XmltoObjectHandler */
    public XmltoObjectHandler() {
    // Local SolrDocument object to collect
    // document XML data.
    private XmlDocument doc = new XmlDocument();
    // Local list of solr documents items...
    private Vector xmlDocuments = new Vector();
    // Local current solr document reference...
    private XmlDocument currentSolrDoc;
    // Buffer for collecting data from
    // the "characters" SAX event.
    private CharArrayWriter contents = new CharArrayWriter();
    // Override methods of the DefaultHandler class
    // to gain notification of SAX Events.
    // See org.xml.sax.ContentHandler for all available events.
    public void startElement( String namespaceURI,
    String localName,
    String qName,
    Attributes attr ) throws SAXException {
    if ( localName.equals( "doc" ) ) {
    currentXmlDoc = new XmlDocument();
    solrDocuments.addElement( currentSolrDoc );
    if( localName.equals("str"){
    for ( int i = 0; i < attr.getLength(); i++ ){
    if("art_id".equals(attr.getValue(i))){
    currentSolrDoc.art_id = contents.toString();
    if("title".equals(attr.getValue(i))){
    currentSolrDoc.title = contents.toString();
    public void endElement( String namespaceURI,
    String localName,
    String qName ) throws SAXException {
    public void characters( char[] ch, int start, int length )
    throws SAXException {
    contents.write( ch, start, length );
    public Vector getxmlDocuments() {
    return solrDocuments;
    public static void main( String[] argv ){
    System.out.println( "Example4:" );
    try {
    // Create SAX 2 parser...
    XMLReader xr = XMLReaderFactory.createXMLReader();
    // Set the ContentHandler...
    XmltoObjectHandler ex4 = new XmltoObjectHandler();
    xr.setContentHandler( ex4 );
    // Parse the file...
    xr.parse( new InputSource(new FileReader( "xmlfile.xml" )));
    // Display all documents items...
    XmlDocument i;
    Vector items = ex4.getxmlDocument();
    Enumeration e = items.elements();
    while( e.hasMoreElements()){
    i = (XmlDocument) e.nextElement();
    System.out.println(i.art_id+"\n");
    System.out.println(i.title+"\n");
    }catch ( Exception e ) {
    e.printStackTrace();
    Can anybody help me how to process this type of xml. Is there any other way we can do this? I am trying for two days. It is a big deadlock for me. any help greatly appriciated. Thanks in advance.

    I added my code inside code tags...
    import org.xml.sax.*;
    import org.xml.sax.helpers.*;
    import java.io.*;
    import java.util.*;
    import common.*;
    public class XmltoObjectHandler extends DefaultHandler{
        /** Creates a new instance of XmltoObjectHandler */
        public XmltoObjectHandler() {
        // Local SolrDocument object to collect
        // document XML data.
        private XmlDocument doc = new XmlDocument();
        // Local list of solr documents items...
        private Vector xmlDocuments = new Vector();
        // Local current solr document reference...
        private XmlDocument currentSolrDoc;
        // Buffer for collecting data from
        // the "characters" SAX event.
        private CharArrayWriter contents = new CharArrayWriter();  
        // Override methods of the DefaultHandler class
        // to gain notification of SAX Events.
        // See org.xml.sax.ContentHandler for all available events.
        public void startElement( String namespaceURI,
                String localName,
                String qName,
                Attributes attr ) throws SAXException {
              if ( localName.equals( "doc" ) ) {
                currentXmlDoc = new XmlDocument();
                solrDocuments.addElement( currentSolrDoc );
              if( localName.equals("str"){
                   for ( int i = 0; i < attr.getLength(); i++ ){               
                    if("art_id".equals(attr.getValue(i))){
                             currentSolrDoc.art_id = contents.toString();
                        if("title".equals(attr.getValue(i))){
                             currentSolrDoc.title = contents.toString();
        public void endElement( String namespaceURI,
                String localName,
                String qName ) throws SAXException {      
        public void characters( char[] ch, int start, int length )
        throws SAXException {       
            contents.write( ch, start, length );       
        public Vector getxmlDocuments() {
            return solrDocuments;
        public static void main( String[] argv ){       
            System.out.println( "Example4:" );
            try {          
                // Create SAX 2 parser...
                XMLReader xr = XMLReaderFactory.createXMLReader();           
                // Set the ContentHandler...
                XmltoObjectHandler ex4 = new XmltoObjectHandler();
                xr.setContentHandler( ex4 );           
                // Parse the file...
                xr.parse( new InputSource(new FileReader( "xmlfile.xml" )));          
                // Display all documents items...
                XmlDocument i;
                Vector items = ex4.getxmlDocument();
                Enumeration e = items.elements();
                while( e.hasMoreElements()){
                    i = (XmlDocument) e.nextElement();
                    System.out.println(i.art_id+"\n");
                        System.out.println(i.title+"\n");
            }catch ( Exception e ) {
                e.printStackTrace();
    }

  • E71 with Maps 2... should I stay or should I go......

    Currently in China... fantastic country...amazing cold spell... snow 3m thick in places... Europe appears the same... still a working off line version of maps would be very useful...
    I have an E71 phone with maps 2 and the chat seems to be I'm better of staying with this version than Ovi3... Are the issues with Maps 3 fixed? and could someone point this poor ludite to the link to the upgrade?
    Xiexie

    No cell company due to a correct bill go and forgive that $60.
    Let's say one million customers all called and because they also did not back date the plan now all owe $60 or more and call in and ask for an accommodation just look at how much money Verizon would lose.
    No carrier will do what you ask.
    So my advice is to go and see if another carrier will do what you wish.
    But remember, there are activation fees and plan fees and you have to spend more money on new devices. Makes sense spend $800+ to save $60.
    Good Luck

  • Issue with xsd Data type mapping for collection of user defined data type

    Hi,
    I am facing a issue with wsdl for xsd mapping for collection of user defined data type.
    Here is the code snippet.
    sample.java
    @WebMethod
    public QueryPageOutput AccountQue(QueryPageInput qpInput)
    public class QueryPageInput implements Serializable, Cloneable
    protected Account_IO fMessage = null;
    public class QueryPageOutput implements Serializable, Cloneable
    protected Account_IO fMessage = null;
    public class Account_IO implements Serializable, Cloneable {
    protected ArrayList <AccountIC> fintObjInst = null;
    public ArrayList<AccountIC>getfintObjInst()
    return (ArrayList<AccountIC>)fintObjInst.clone();
    public void setfintObjInst(AccountIC val)
    fintObjInst = new ArrayList<AccountIC>();
    fintObjInst.add(val);
    Public class AccountIC
    protected String Name;
    protected String Desc;
    public String getName()
    return Name;
    public void setName(String name)
    Name = name;
    For the sample.java code, the wsdl generated is as below:
    <?xml version="1.0" encoding="UTF-8" ?>
    <wsdl:definitions
    name="SimpleService"
    targetNamespace="http://example.org"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://example.org"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    >
    <wsdl:types>
    <xs:schema version="1.0" targetNamespace="http://examples.org" xmlns:ns1="http://example.org/types"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://example.org/types"/>
    <xs:element name="AccountWSService" type="ns1:accountEMRIO"/>
    </xs:schema>
    <xs:schema version="1.0" targetNamespace="http://example.org/types" xmlns:ns1="http://examples.org"
    xmlns:tns="http://example.org/types" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://examples.org"/>
    <xs:complexType name="queryPageOutput">
    <xs:sequence>
    <xs:element name="fSiebelMessage" type="tns:accountEMRIO" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="accountEMRIO">
    <xs:sequence>
    <xs:element name="fIntObjectFormat" type="xs:string" minOccurs="0"/>
    <xs:element name="fMessageType" type="xs:string" minOccurs="0"/>
    <xs:element name="fMessageId" type="xs:string" minOccurs="0"/>
    <xs:element name="fIntObjectName" type="xs:string" minOccurs="0"/>
    <xs:element name="fOutputIntObjectName" type="xs:string" minOccurs="0"/>
    <xs:element name="fintObjInst" type="xs:anyType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="queryPageInput">
    <xs:sequence>
    <xs:element name="fPageSize" type="xs:string" minOccurs="0"/>
    <xs:element name="fSiebelMessage" type="tns:accountEMRIO" minOccurs="0"/>
    <xs:element name="fStartRowNum" type="xs:string" minOccurs="0"/>
    <xs:element name="fViewMode" type="xs:string" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.org"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://example.org" xmlns:ns1="http://example.org/types">
    <import namespace="http://example.org/types"/>
    <xsd:complexType name="AccountQue">
    <xsd:sequence>
    <xsd:element name="arg0" type="ns1:queryPageInput"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="AccountQue" type="tns:AccountQue"/>
    <xsd:complexType name="AccountQueResponse">
    <xsd:sequence>
    <xsd:element name="return" type="ns1:queryPageOutput"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="AccountQueResponse" type="tns:AccountQueResponse"/>
    </schema>
    </wsdl:types>
    <wsdl:message name="AccountQueInput">
    <wsdl:part name="parameters" element="tns:AccountQue"/>
    </wsdl:message>
    <wsdl:message name="AccountQueOutput">
    <wsdl:part name="parameters" element="tns:AccountQueResponse"/>
    </wsdl:message>
    <wsdl:portType name="SimpleService">
    <wsdl:operation name="AccountQue">
    <wsdl:input message="tns:AccountQueInput" xmlns:ns1="http://www.w3.org/2006/05/addressing/wsdl"
    ns1:Action=""/>
    <wsdl:output message="tns:AccountQueOutput" xmlns:ns1="http://www.w3.org/2006/05/addressing/wsdl"
    ns1:Action=""/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="SimpleServiceSoapHttp" type="tns:SimpleService">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="AccountQue">
    <soap:operation soapAction=""/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="SimpleService">
    <wsdl:port name="SimpleServicePort" binding="tns:SimpleServiceSoapHttp">
    <soap:address location="http://localhost:7101/WS-Project1-context-root/SimpleServicePort"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    In the above wsdl the collection of fintObjInst if of type xs:anytype. From the wsdl, I do not see the xsd mapping for AccountIC which includes Name and Desc. Due to which, when invoking the web service from a different client like c#(by creating proxy business service), I am unable to set the parameters for AccountIC. I am using JAX-WS stack and WLS 10.3. I have already looked at blog http://weblogs.java.net/blog/kohlert/archive/2006/10/jaxws_and_type.html but unable to solve this issue. However, at run time using a tool like SoapUI, when this wsdl is imported, I am able to see all the params related to AccountIC class.
    Can some one help me with this.
    Thanks,
    Sudha.

    Did you try adding the the XmlSeeAlso annotation to the webservice
    @XmlSeeAlso({<package.name>.AccountIC.class})
    This will add the schema for the data type (AccountIC) to the WSDL.
    Hope this helps.
    -Ajay

  • Issue in mapping.. Source message expect with prefix ns0 in input message!

    Issue in mapping.. Source message expect with prefix ns0 in input message
    Hi All,
    I used the XSD structure which I got from partner which starts like below.
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xxxx.com/DirectSales/CustomerData" xmlns:prodata="urn:schemas-progress-com:xml-prodata:0001" xmlns="">
    <xsd:element name="CustomerRequest" prodata:proDataSet="true">
    I'm receiving the messages through SOAP adapter and the message looks like below.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Technical Routing --> <CustomerRequest xmlns='http://XXXX.com/DirectSales/CustomerData' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:SE='http://schemas.xmlsoap.org/soap/encoding/'>
    The message is failing during mapping. When i checked in message mapping, I found that the input source message is expecting with prefix "ns0" like <ns0:CustomerRequest...
    how I can solve this issue? Is there anyway I can add the prefix "ns0" before it comes to mapping step.?
    Thanks
    Deepthi

    Hi Guys,
    I tried to use the below paramter.
    anonymizer.acceptNamespaces         'http://XXXX.com/DirectSales/CustomerData  ns0
    The ns0 is coming in all the tags including segments and fields. I just want ns0 to come only at the root level ie <ns0:customerReq..>
    it is coming like below...
    - <ns0:CustomerRequest xmlns:ns0="http://XXXXXX.com/DirectSales/CustomerData">
    - <ns0:ttCustomer>
      <ns0:branch-num>1424</ns0:branch-num>
      <ns0:cust-num>121</ns0:cust-num>
      <ns0:contact-code>3</ns0:contact-code> 
       </ns0:ttCustomer>
      </ns0:CustomerRequest>
    I want the message to come as
    - <ns0:CustomerRequest xmlns:ns0="http://XXXXXX.com/DirectSales/CustomerData">
    - <ttCustomer>
      <branch-num>1424</branch-num>
      <cust-num>121</cust-num>
      <contact-code>3</contact-code> 
       </ttCustomer>
      </CustomerRequest>
    Kindly help me with the paramater value  to be passed for anonymizer.acceptNamespaces.
    Thanks
    Deepthi

  • Issue with heat maps refresh process in EID 3.1?

    Issue with Heat Maps in EID 3.1? Heats maps don't refresh unless you go back to home page and then again go back to the Endeca app.
    In Oracle Sample app if we open the Map tab we will see that Milwaukee is really hot in the heat map. now if we filter the data to just show data from 100 miles within Orlando, FL then the map will get refreshed to show that area but the colors on heat maps do not change.
    Now if we keep the refinements same and go back to home page and again go back to sample app and maps tabs then it will still show area of 100 miles within Orlando, FL which is good but now heat map would have updated and it would show us correct color.
    Now if we remove the refinement then it would show complete US map as hot which is again wrong.
    I have observed this issue in chrome browser as well as firefox.
    Is there anyway to overcome this issue?

    This issue was resolved after applying latest patch from Oracle.

  • Issues With PDF Template Mapping

    Hi all,
    Oracle BI Publisher for Windows 10.1.3.2.1
    Oracle Publisher Desktop 10.1.3.2.1
    Adobe Acrobat 5.0.5
    Broswer IE 6.0.29
    I have created a report based on a single database table (DEMO.PRODUCTS) but am experiencing problems when I try and map the form fields in PDF Template to my sample XML file.
    I created a PDF Template and uploaded this template to my Layout. This PDF Template has two form fields on it (PRODUCTNAME and UNITPRICE, which incidentally are the names of the database columns I want them to map to).
    I have also uploaded my sample XML data file and therefore have access to the Map Form Fields button on my report definition. However, when I click on the button a new window opens with the Map PDF Form Fields and a dialog to "Click on each highlighted...." and then hangs. When I close the window I receive a message about an Adobe Acrobat error.
    If I try and do the same thing in Firefox then I receive a message in the JavaScript Console:
    Acrobat Database Connectivity Built-in Functions Version 5.0
    Acrobat EScript Built-in Functions Version 5.0
    Acrobat Annotations / Collaboration Built-in Functions Version 5.0
    TypeError: app.execDialog is not a function opened this in Adobe Acrobat
    Any suggestions or comments appreciated.
    Many thanks,
    Gary.

    Hi Aashish,
    I suggest you to check the RTF Template of your report ....as if your xml output file on submit request form--->diagnostic --->view xml ...is generated ... it means that your data defination file is perfectly fine but there is issue with your rtf template....may be some of grouping or tag is not put properly...
    one thing i want to suggest you to pls save that data file as .xml extension and upload in rtf u designed on youe desktop.... check theprview if its coming fine or not.
    let me know if u still facing the same problem.
    regards
    Ratnesh P

  • OBIEE 11g  Map View - Issue with Label Translation

    Hi All,
    I have a strange translation issue with the Maps in 11g.
    Created in English language to plot the Revenue for each of the Postal Codes.
    I selected Postal Code and Revenue Amount in the Criteria and created a new Map View. It had the text 'Postal Code' in the Map Legend and then the scale for revenue amount.
    Now I logged on with Chinese Language , it still appears as 'Postal Code' in English where in it was actually supposed to show it in Chinese.
    We have a translation pack to get all the column names translated. If I try creating a new table view, it shows the translated text instead of 'Postal Code', but some how this doesn't work with Maps.
    Has anyone faced similar issues ? Is there a workaround for this ?
    Thanks for any pointers.

    Hi,
    I also encounter the same issue. When I view combined layout, I get the No Results message. But when I edit the table layout, I see that there are records returned. Does anyone had any luck in resolving this issue?
    Thanks!

Maybe you are looking for

  • Error message when starting SAP J2EE Engine 6.20

    When i am starting SAP J2EE Engine 6.20 i am not able to get the homepage at its startup. I have checked the Cluster_Log and it says [OS: Windows XP] [VM vendor: Sun Microsystems Inc.] [VM version: 1.3.1_16-b06] [VM type: Java HotSpot(TM) Client VM]

  • Pricing and Plans

    I'm currently on the Basic Plan ($14.99 per month). It looks like the Plus Plan paid annually is cheaper and allows for more forms, answers, etc. If I "upgrade" will the forms in my basic account swith over to the new plan? If so will they still have

  • Connect with Fedex

    Hello, I want to now if someone succeed to connect from Fedex server to R/3 and from R/3 to Fedex via SAP XI. In Fedex ask me about "SAP Business Connector" that uses the SAP DELVRY03 Idoc as input and we update the SAP VLBL table directly via a RFC

  • Can't access songs/open GarageBand

    For some reason the files for each track I had recorded (known as No Effects then some #) were in my trash. I emptied the trash not knowing what they were since they did not open with any other applications (they came up as iTunes files and did not p

  • Any one ever worked on 6500 series Cisco switches QOS or 6503 or 6524 QOS(Urgent help needed)

    Hi All, I am having issue specifally doing QOS configuration on 6503 or 6524 or 6509 switches. I am unable to match any EF(voice) traffic for eompls(vlan based) on 6503 cisco switch. If i use any other router as 2811 or 2821 my QOS configuration work