Binding ANY in (JAXB) xjs

Any ideas on how i bind the following dtd entry in my xjs file.
<!ELEMENT ResultData ANY>
Where i want the ResultData to pick up any tags in between, even as just a string or something, without trying to marshal it.
eg
<ResultData>
<id>1</id>
<name>test</name>
</ResultData>
Thanx for any advice and i am sorry if this is a simple question!
Kris

Hi
I am having the same problem too. If any of you have solved this problem kindly enlighten me. In between, I found the following in the specification
A wildcard is mapped to a simple content-property with:
Content-property name set to the constant �any�. A binding schema customization could provide a more semantically meaningful contentproperty
name.
Content-property base type set to java.lang.Object by default.Wildcard content encountering during unmarshalling is supported if global XML element tags occurring in �strict� or �lax� wildcard context are known to the instance of javax.xml.bind.JAXBContext, meaning that the schema(s) describing the element content occurring in the wildcard context is registered with the JAXBContext instance, see Section 3.2, �JAXBContext,� on page 24 on how bindings are registered with a JAXBContext instance. A JAXB implementation is only required to be able to marshall and unmarshal global element content to/from �strict�/�lax� wildcard context that is registered and valid according to the schema(s) registered to JAXBContext. The specification does not specify how a JAXB implementation handles element content that it does not know how to map to a Java representation.
See content-property predicate for a wildcard.
If the maxOccurs is greater than one, the content property is mapped to a collection property. The default collection property is a List property.
These is no default value.
But still I could'nt make the necessary changes !
Thanks

Similar Messages

  • Active directory issue regarding time (DST) - Cant bind any Macs to 2000 AD

    I am working with a new server at a small mostly Windows based school district. I am here to do a small AD/OD integration with nothing out of the normal. They are using Windows 2000 server and 10.4.11 with all the current software updates. I tested binding to their AD several months back and it ran without a hitch. Now, today when I attempted to bind their new Intel Xserve running 10.4.11 to their AD, it fails yielding the "Active directory only permits slight variations between the clocks..." error message.
    I have seen this before and the message has always been very descriptive in describing the problem (time is off on one end or the other). The issue here is that the machines are all running within a second or two of each other. I verified this my self several times on all the AD servers, each mac client and the mac server. I also checked other normal pitfalls and could not find anything. I can reproduce this error on 10.4.11 server, 10.4.11 client and 10.5.2 client (my laptop) so its not any specific install of OS X, its something in AD.
    Is there any chance that this has something to do with the recent changes to daylight savings time? The on-staff admin at the district manually moved the time ahead one hour on Monday morning to bring the windows system up to the current time. As I stated before, this district uses 2000 server. MS does not support 2000 any more and has not issued any updates regarding the recent daylight savings time changes. I have done a ton of searching and I have not been able to find any other mention of such an issue as I would assume that it would be rather wide spread.
    Any help would be appreciated. Thanks!

    Hi
    You can extend the time difference from the default 5 minutes to 10 minutes. This is done on the AD Server either using the GMM or the DMM. This might help with the issue you are seeing.
    Failing that you could point the AD to an internet based time server along with everything else on the network OR make everything on the network use the AD as the time server.
    Apologies if you have already tried this, Tony

  • Using JNDI to bind any object

    Hi,
    I intend to bind a few objects in JNDI context so that they can later be just looked up and then used.
    I can use code like this:
    =========
    Hashtable env = new Hashtable();
    env.put(Context.PROVIDER_URL, SOME_PROVIDER_URL);
    env.put(Context.SECURITY_PRINCIPAL, "user");
    env.put(Context.SECURITY_CREDENTIAL, "passwd");
    Context ctx = new InitialContext(env);
    context.bind("name", object);
    =========
    This object can later be looked up. So far so good. However, this will bind the object in the same VM "only".
    Is there any way of calling something like:
    ====
    someOC4JClass.getNamingService().bind("name", object);
    ===
    so that the underlying naming service takes care of making this object available across JVMs?
    Any help/pointers will be highly appreciated.
    Thanks,
    Ravi

    Ravi -- Currently OC4J's internal JNDI is not a global JNDI shared by all OC4Js. One way to approach this problem would be to bind the objects in some global / common JNDI like OID.
    Thanks -- Jeff

  • How to get the table name and bind columns names in an INSERT statement ?

    I have an INSERT statement with input parameters (for example
    INSERT INTO my_table VALUES (:a, :a, :a)) and I want to know
    without parsing the statement which is the name of table to
    insert to and the corresponding columns.
    This is needed to generate the SELECT FOR UPDATE statement to
    refetch a BLOB before actually writing to it. The code does not
    know in advance the schema (generic code).
    Thanks in advance,
    Joseph Canedo

    Once you have prepared your statement, you can execute the
    statement with the OCI_DESCRIBE_ONLY mode before binding any
    columns. Then you can use OCIParamGet to find out about each
    column (column index is 1-based). You should get OCI_NO_DATA or
    ORA-24334 if there are no more columns in the statement. Note
    that the parameter descriptor from OCIParamGet is
    allocated/freed internally by OCI; you do not need to manage it
    explicitly. The parameter descriptor is passed to OCIAttrGet in
    order to obtain for instance the maximum size of data in the
    column OCI_ATTR_DATA_SIZE. You can also get the column name in
    this way, although I do not remember the #define off the top of
    my head. Getting the table name appears to be much more
    difficult; I have never had to do that yet. Good luck. -Ralph

  • Binding gateway service with List not working properly with expand

    Hi all,
    We have an orderlist with details, we use the splitapp for it, it's working nicely with a gatewayservice. We have now added with expand 2 orderpartners. I see the 2 partners, only is it completly the same data. I checked the oData structure and I see indeed that the 2 partners are the same. This is weird, because when I execute the service, via my browser, I see 2 different partners.
    If I execute the service directly via the read function, I see in the oData that I also have 2 different partners. So my conclusion is that the direct read of the service is working and executing the service via the sap.m.List is not working with the expand.
    Now my question is, does somebody know what's going wrong here, or is it a bug in the sap.m.List? Below you find code snippets how I call the service.
    This call is working:
    oModel.read("/OrderListSet", null, ["$orderby=BegTstmp asc&$filter=Userid eq 'user' and DateFrom eq datetime'2014-04-20T00:00:00' and DateTo eq datetime'2014-04-27T00:00:00'&$expand=OrderPartners"], null, function(oData, oResponse){  
      }, null );
    The binding via the sap.m.list is:
    var oList = new sap.m.List("orderList", {
      mode: "{device>/listMode}",
                items: {
            path: "/OrderListSet",
               parameters: {expand: "OrderPartners"},
            template : new sap.m.StandardListItem({
            title: {
                   parts: [
                           {path: "BegTstmp", type: new sap.ui.model.type.DateTime({pattern: "H:mm"})},
                           {path: "DataCol2"}
                   formatter : function(strDate, strDescription) { return strDate + " - " + strDescription; }
            description: {
            parts: [
                          "DataCol3",
                          "DataCol4",
                          "DataCol5",
                          "DataCol6"
            type: sap.m.ListType.Navigation,
            icon: "{icon}",
            customData: [
            new sap.ui.core.CustomData({
            key: "orderId",
            value: "{Orderid}"
            new sap.ui.core.CustomData({
            key: "type",
            value: "{Type}"
            // Sort the list on date and group the list on day
                   sorter: new sap.ui.model.Sorter("BegTstmp", false, oGrouper),
                   // Filter the list, this directly refrenced to the gatewayservice
            filters: [
                     util.Filter.getUserId(),
                     util.Filter.getCurrentWeekFromFilter(),
                     util.Filter.getCurrentWeekToFilter(),

    Fine. If you're trying to bind any attributes of OrderPartners, bind it as OrderPartners/attribute-name. Say if "BegTstmp" an attribute of OrderPartners bind it as OrderPartners/BegTstmp.
    Regards
    Sakthivel

  • Problem in binding the bridge to Infiniband card

    Hi there,
    We are running Oracle VM Server 2.2 on HP Blade with Mellanox card installed in it. We are trying to use the infiniband card for higher speed but are unable to bind any bridge to this interface.
    Mellanox drivers are installed and the device is working fine. Below is the error i get while trying to bind the bridge
    # brctl show
    bridge name bridge id STP enabled interfaces
    xenbr0 8000.001b7831a5c6 no vif3.0
    tap3.0
    eth0
    xenbr1 8000.001b7831a582 no eth1
    xenbr2 8000.000000000000 no
    # brctl addif xenbr2 ib0
    can't add ib0 to bridge xenbr2: Invalid argument
    Your help is appreciated.
    Thanks!

    Only devices with a promiscuous mode can participate in a bridge. Looks like either IB is one of them or the driver is broken. Run the command:
    # /usr/bin/strace -o ib-log.txt -TttFf brctl addif xenbr2 ib0This should show us the ioctl(2) which is being rejected, maybe shedding some light on this topic.

  • Bind the output data (Xml) from BPEL process to ADF SelectOneChoice Control

    Hello,
    My requirement is to invoke a BPEL process from ADF page and display returned results in a select one choice (drop down box).
    I have created a Data Control for the BPEL process through Web service data control and tried to invoke the BPEL process. I could see from the BPEL console that BPEL process is getting invoked. But the ADF doesn't bind any of the output to Select one choice.
    It doesn't even show any error.
    Can you plz help me how to bind the output of the BPEL process to ADF SelectOneChoice control.
    The Xml Which I recieve from BPEL process is
    <outputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"><DBConnectDemoProcessResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/DBConnectDemo">
    <StatusTrans xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/DBSelect">
    <transId>1</transId>
    <fromStatus>Open</fromStatus>
    <toStatus>Assigned</toStatus>
    </StatusTrans>
    <StatusTrans xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/DBSelect">
    <transId>2</transId>
    <fromStatus>Open</fromStatus>
    <toStatus>Pending</toStatus>
    </StatusTrans>
    <StatusTrans xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/DBSelect">
    <transId>3</transId>
    <fromStatus>Open</fromStatus>
    <toStatus>Closed</toStatus>
    </StatusTrans>
    <StatusTrans xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/DBSelect">
    <transId>4</transId>
    <fromStatus>Open</fromStatus>
    <toStatus>Cancelled</toStatus>
    </StatusTrans>
    </DBConnectDemoProcessResponse>
    </part></outputVariable>
    And the toStatus node values viz, Assigned, Pending, Closed, Cancelled should get binded to the SelectOneChoice control
    Waiting for your valuable inputs,
    Regards,
    babloo.

    I have been still trying for the solution. I have modified the XSD created by the jdeveloper to,
    <schema attributeFormDefault="unqualified"
         elementFormDefault="qualified"
         targetNamespace="http://xmlns.oracle.com/StateTransitions"
         xmlns="http://www.w3.org/2001/XMLSchema">
         <element name="StateTransitionsProcessRequest">
              <complexType>
                   <sequence>
                   <element name="input" type="string"/>
                   </sequence>
              </complexType>
         </element>
         <element name="StateTransitionsProcessResponse">
              <complexType>
                   <sequence maxOccurs="unbounded">
    <element name="stateChanges">
    <complexType>
    <sequence>
    <element name="fromState" type="string" />
    <element name="toState" type = "string" />
    </sequence>
    </complexType>
    </element>
    </sequence>
              </complexType>
         </element>
    </schema>
    And I have given this XSD url while creating the Web Service Data Control by deploying it into the Oracle App server.
    So, I can see the tree structure of "Return" as "StateTransitionsProcessResponse->StateChanges->toState,fromState"
    I have binded the toState field of the Data Control to the SelectOneChoice ADF control in a jspx page by using List binding editor.
    I have selected,
    Base data source as "Variables" (Currently I don't need to update any table),
    List Data source as "process: getStateTransitions.process.StateTransitionsProcessResponse.stateChanges" (Web Service Data Control)
    Base Data source attribute as "process_input"
    List Data Source Attribute as "toState"
    I can initiate the web service (BPEL process) by providing the necessary input value like 'Open' or 'Pending' or 'Assigned' but the SelectOneChoice control doesn't populate with any values.
    Waiting for valuable inputs!
    Thanks and Regards,
    babloo.

  • More than one process bind() to a multicast port.

    Hi,
    I found one strange behavior when there are more than one process bind() to the same multicast port. The problem is as the following:
    If there is a process bind to a port, say 2000 and joined a multicast group. This process did not do a SO_REUSEADDR,
    before bind() and join the multicast group. Later on, I have another program in the same host joining the same multicast group with the same port number (with SO_REUSEADDR), the second process will not be able to receive any data from the multicast group (with the same port number) eventhough the second process can join the multicast group successfully.
    However, if both process call setsockop with SO_REUSEADDR, both process can receive multicast data from the multicast group. The simplest fix is to have both set SO_REUSEADDR. But the problem is, the first application is an off-the-shelf software and we do not have source code to it.
    I wonder if this is a problem with Solaris. Any thoughts?
    Thanks,
    Shao

    Hi,
    I found the answer to this question. Basically, according to the source code (Solaris 8 Foundation Source), ip6.c, line #2510, multicast data is forwarded to all "listeners" only if the first "binder" has a SO_REUSEADDR set. What that mean is, if the first "binder" does not set SO_REUSEADDR before bind(), any subsequent bind() with SO_REUSEADDR is meaningless (in practical terms).
    My question is, is this behavior correct? I think it's much better to allow subsequent listeners (successfully bind and joined the multicast group) to be able to receive data. The reason is that if the first binder does not set SO_REUSEADDR before bind() the port and joined the multicast group should not deny any "late comers" to join in and participate in the multicast group. "Fixing the code" is not always practical especially if one of the application is a third-party application. Or reject bind() if the first "binder" does not allow SO_REUSEADDR.
    Any comment?
    Regards,
    Shao

  • Is JAXB there in j2me?

    I have a MIDP application calling a web service. Web service returns XML data in String format....
    String srt= XML data <survey>...<survey>
    which i got after converting objects to xml using XStream. is there a way to convert XML string back to objects. I think it can be done using JAXB..is it available in j2me webservices.
    If not, any other solution to the problem.

    Hi,
    There does not seem to be any JavaME JAXB impl. in it absence one had to write do their own parsing code using JavaME Web Services XML Parsing api or by using kxml api.
    Would wish to one for javame.. but no luck.
    Regards,
    Raja Nagendra Kumar,
    C.T.O
    www.tejasoft.com
    Edited by: rajanag on Apr 27, 2009 11:07 AM

  • How to bind Processes to CPUs

    All,
    I have installed my iAS on 4 CPU 4 GB RAM Server.
    I have increased the max threads to 256 and created 2 kjs engines.
    How do i bind kjs processes to specific CPU?.
    By default how many connections will iAS have. Is there any restriction on
    max no of threads per iAS instance.
    Would appreciate if you could look into this and do needful.
    Regards,
    Renga

    pbind is a unix utility. You can use it to bind any process to a particular
    cpu.
    Check the man pages.
    You have thread configuration for both kxs and kjs. Just setting the threads
    to a
    maximum does not guarantee improved performance. Look at your application
    and try to decide on the total number of requests which can concurrently
    processed
    at any given point of time. This can be the rough amount for your thread
    settings.
    kjs is the main workhorse... set more threads there...
    kxs is like a dispatcher... if you have more threads on the sum of kjs, set
    more threads there too.
    Anycase performance in kjs beyond 256 threads would be debatable.. in my
    opinion. Both in an appserver view as well as OS point of view.
    Shankar.
    "P.Renganathan" wrote:
    All,
    I have installed my iAS on 4 CPU 4 GB RAM Server.
    I have increased the max threads to 256 and created 2 kjs engines.
    How do i bind kjs processes to specific CPU?.
    By default how many connections will iAS have. Is there any restriction on
    max no of threads per iAS instance.
    Would appreciate if you could look into this and do needful.
    Regards,
    Renga

  • Using query without binding fields

    Is there a way to access query values without binding any
    query fields? I have a report that I'd like to run with a variety
    of queries, all with different fields, but I can't seem to get
    anything running if I don't manually add all query fields in the
    report builder, which is a pain.

    Hi Frank,
    This query which fetches a data set to a report... So when executing this query in the report I will need to have a sql expression something like below...
    select *
    from MY_VIEW
    where vehicle.vehicle_id = '&Vehicle_Id'
    When the above is run user will be asked to insert a vehicle id and that will be the user input for my sql statement... (I inserted the value 120 here just for the testing purpose). In here I will need to create a view (something like MY_VIEW which consist of the entire sql expression) as long sql expressions are not supported in our tool. So I have to compile a view with the results set without the connect by clause...
    Just let me know if it is still not clear..
    Thanks
    Napster

  • Binding gone

    I have an active binding. And after I do some steps in my programm, I can see, that the binding is gone. The property has no binding any more. The property has the last value, which it has got from the binding, when it was active moments ago.
    I don't see, that I set this property in my code behind manueally (which can destroy the binding).
    So I am asking, if it is possible to monitor the existence of a binding to a property. So I can set a breakpoint when I can determine, that the binding is gone and hopefully the call stack will help me then.
    Thanks.

    The binding won't be cleared unless you explicitly clear it, for example using the BindingOperations.ClearBinding method (http://msdn.microsoft.com/en-us/library/ms748951(v=vs.110).aspx),
    or set the value of the bound target property directly in your code.
    >>...if it is possible to monitor the existence of a binding to a property. So I can set a breakpoint when I can determine, that the binding is gone and hopefully the call stack will help me then
    No. You can use the GetBindingExpression method to get a binding for a control's property:
    http://msdn.microsoft.com/en-us/library/system.windows.data.bindingoperations.getbindingexpression(v=vs.110).aspx.
    If it returns NULL there is no binding. But there is no event fired when a binding is cleared so you won't be able to detect and break execution if and when this happens.
    Please upload a reproducable sample of your issue to OneDrive along with a detailed explanation of the binding and why you think it gets cleared if you want any further help on this.
    Please remember to mark helpful posts as answer and/or helpful.

  • Interface Builder Binding leads to death

    I have an Array Controller which is updating an NSMutableArray. The NSMutableArray is made up of an Object called Power which has several NSString objects (each synchronized). One of these is called name.
    When the user hits an "Import" button, the program reads a file and creates Power objects, adding them to the Array Controller. When it finishes adding Powers it prints them all to console (in this way I know they are all properly formed).
    I am attempting to bind the strings of the Power objects to an NSTableView using Interface Builder. I've done more or less the exact same thing in a few other programs with no troubles. However, this time, I can only bind one of the columns successfully.
    If I bind any column to the string "name" of the Power objects in the Array Controller, it displays the names just fine. If I try binding any column to any of the other strings, it results in a program crash at runtime (which is being hooked by gdb, but I do not know how to use it).
    Does anybody know what might cause this? Why does one NSString bind perfectly to a column when others don't and each object has every field populated?

    Can I ask what is your cell/column/table progression?

  • Binding Mac to a OD for hardened email access

    Hi All,
    Is there any way to bind any Mac to be able to access email ONLY on that Mac.This is outside the client server architecture, That is, the Mac will on be the internet and when it contacts the server, unless it is the designated machine, the mails should not download. Is this a possibility within the native features, not involving third party associates like tokens,certificates..etc?

    Ok, so I set up my old xserve as my OD Master and the new mail server as a Replica. ..bound just fine. The master has SSL turned on with "default" certificate. I tryed to log into the mailserver to get mail with macmail and it gives me "mail is not enabled for this user". Netinfo is set to local only. What am I doing wrong?

  • Urgent Help, Thanks to any with advice... (capturing HDV)

    Hello, my name is Justin. I am under the gun and have to turn in my final movie project this week. I have footage on my Canon XH A1, shot in HDV, 24F. When I capture to Final Cut Express 3.5, my footage is slightly fast. My audio is in real time but my footage is at about 115% percent. Needless to say this will not do. I tried all 3 HDV easy set up codecs. Help?
    Thanks for any advice...

    Hi Justin
    How were you capturing the video, off the same camera you shot on. Problems occur if you you shot on a panasonic and capture off a sony as an example. Shoot and capture off the same an you should not have a problem.
    A 2nd solution send the clip to the time line unlink the video and audio and slow down the video 1 or 2 percent at a time until there is a sync up. Might not work, but when in a bind any port in a storm!!
    I shoot HDV as FCE3.5 allows me to capture the whole tape and it creates clips were as this would not be so with sd. The Sony HVRA1 has guides for on the flipout screen and the viewfinder.
    Let me know if you come right!!
    Justin..Durban..South Africa

Maybe you are looking for

  • Massive IMAP problem, multiple iPhones - constant spinning wheel

    A friend has had problems using email on his iPhone since he got it, and now after a couple of months of no problems, mine has started doing the same thing. The problem started for him on a UK 1.1.2 firmware iPhone with an IMAP account. If you start

  • Eligable for CC Student but graduating soon, how does it work

    Hi, I currently have CS 5.1 and have been thinking about upgrading to CC for a while now. I'm currently a student and qualify for student edition but I graduate this summer. Do I get to pay the student price for a year since I'm a student when I sign

  • Streaming a movie locks up the ATV

    I exported a homemade video clip (taken with a point-and-shoot camera) using Quicktime Pro into an Apple TV format (actually I combined several clips into one). The original video was 16:9, 640x480 30fps. To ensure the video I exported from QT Pro wa

  • How do I get the line above the tasks, which allows you to edit the cell contents, without double clicking the cell?

    As title says. Normally in Gantt Chart View, above the tasks there's a line which displays the contents of the cell you have selected, and allows you to edit the contents without having to double click the cell. In my case, this line is not there, an

  • Crystal Report XI serial number

    Since yesterday everytime I open the program, it asked me for the serial number, then sends me an error message of Not Able to find Key Code, but it opens the program and the program works OK, what can be the problem, I don't want to do this everytim