JAXB & generation of: /html /html /html /html /html /html

I'm using latest JAXB to generate my xml-code. I use it to transfer data between two servers. First call is ok, but when the other server sends response, it's 4/10 generated something like this:
The amount of </html>-tags is not constant, it can be n+1.
</html></html></html></html></html></html></html></html></html></html></html></html></html></html></html></html></html></html></html></html></html></html></html></html></html><?xml version="1.0" encoding="iso-8859-15" standalone="yes"?>I noticed that this sw uses some HTTPClient from 1999 to connect. Mayby the fault is in there?

Server 1                                                             Server 2
1. Generate xml (fill classes)
2. Connect to Server 2 using HTTPClient
3. Marshall XML
4. Send XML using HttpPost
                                                                        5. Unmarshal XML-message
                                                                        6. Insert to DB
                                                                        7. Generate XML (fill classes)
                                                                        8. Marshall XML
                                                                        9. Send response
10. Unmarshall XML-message Error is generated in step nro. 10, because of wrong XML described in first post.
Edited by: zenixi on Dec 10, 2008 3:32 AM
Edited by: zenixi on Dec 10, 2008 3:35 AM

Similar Messages

  • How can I trap & display HTML syntax errors in mx:HTML at run time?

    I am loading HTML pages into an mx:HTML component in an AIR application. If the HTML contains errors, they show up in the trace window in debug mode.  I'd like to trap that information so I can tell the usere that there are errors (and what they are) in the production version of the application. How can I get at those errors?

    I found it myself how to do it. The error says that it is not able to find the reference object i.e  it is asking us to refer to the table. The following piece of code will solve this problem. Have to implement this in WDDOMODIFYVIEW method of the view. This thing works comrades enjoy...
      DATA : lr_cmp_usage TYPE REF TO if_wd_component_usage,
             lr_if_controller  TYPE REF TO iwci_salv_wd_table,
             lr_cmdl   TYPE REF TO cl_salv_wd_config_table,
             lr_col    TYPE REF TO cl_salv_wd_column.
      DATA : node_year  TYPE REF TO if_wd_context_node,
             elem_year  TYPE REF TO if_wd_context_element,
             stru_year  TYPE if_alv_layout=>element_importing,
             item_year  LIKE stru_year-i_current_year,
             lf_string    TYPE char(x),
      DATA: lr_column TYPE REF TO cl_salv_wd_column.
      DATA: lr_column_header TYPE REF TO cl_salv_wd_column_header.
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
    Get the entered value from the input field of the screen
    node_year  = wd_context->get_child_node( name = 'IMPORTING_NODE' ).
    elem_year  = node_year->get_element( ).
      elem_year->get_attribute(
       EXPORTING
        name = 'IMPORT_NODE-PARAMETER'
       IMPORTING
        value = L_IMPORT_PARAM ).
      WRITE L_IMPORT_PARAM TO lf_string.
    Get the reference of the table
      lr_cmp_usage  =  wd_this->wd_cpuse_alv( ).
      IF lr_cmp_usage->has_active_component( ) IS INITIAL.
        lr_cmp_usage->create_component( ).
      ENDIF.
      lr_if_controller  = wd_this->wd_cpifc_alv( ).
      lr_column_settings = lr_if_controller->get_model( ).
    get column by specifying column name.
      IF lr_column_settings IS BOUND.
        lr_column = lr_column_settings->get_column( 'COLUMN_NAME').
    set Header Text as null
        lr_column_header = lr_column->get_header( ).
        lr_column_header->set_text( lf_string ).
    endif.

  • Rendered html pages in results file(html) not showing the images of origina

    hi,
    rendered html pages in results file(html) not showing the images of original page
    when i click on rendered html pages of different html section of a results file.
    both master and tested as well.
    thx
    pasumarthi

    By design, the report will not show the images, will not apply imported css or javascript files and will not show framesets. Also, in the case that an image is shown there is no guarantee that that was the image that was seen when recording/playback the script.
    The rendered html pages that are shown in the report only contains the structure of the html page. If an image is shown the image will be a reference to the location of the image and not a saved copy of the image as part of the report. If the website has a simple structure this can give an idea of what was different. If the website relies extensively on images, stylesheets or javascript to present the information then this report feature becomes less useful.
    Few weeks ago I requested a feature request in order to be able to see in the report the page exactly as it was when recording the script and exactly as it was when the script was played back. In the way that the feature request was written it specifies the use of screen captures or saving the page as a pdf file.
    Regards,
    Zuriel

  • Can I include both CSS and HTML codes in one Open HTML Editor.

    Somehow Cell phones are not properly reading css codes. Is there any way to include both CSS and HTML codes in one Open HTML Editor?

    Hammad, their code is fairly mobile friendly.  Per my other discussion with you ( http://topliners.eloqua.com/thread/8532 ), Eloqua's code is responsive for the most part.  Most of their issues lie with the styling of the email where you will get different fonts and different sized fonts throughout the email and some other minor display issues.
    What you are trying to accomplish is extremely difficult to do because you do not have the access to the HTML to better control how the responsive template works which is why the Eloqua templates (and most ESP templates) stick to the more basic side of emails.
    If you want to use Eloqua's WYSIWYG to make their responsive email you can do so, but I would recommend deleting all their body text before editing anything because of the inconsistencies in their code.  Otherwise, I think you would be better off coding the emails outside of Eloqua using a 3rd party editor whether it's something more robust like Dreamweaver or Coda, or whether you feel comfortable working in a more text environment with programs like Notepad++ or Brackets.
    At the end of the day remember you are paying Eloqua for these and if you choose to stick with the WYSIWYG and you are not getting the results you expect you need to tell Eloqua through your support channels.

  • I try to create an html for IPad. The html page contains an element overlapping a video, now it works as for view but the focus is still with video. This denies the event of overlapping element from occuring. Can please anyone help to solve this issue?

    I try to create an html for IPad. The html page contains an element overlapping a video, now it works as for view but the focus is still with video. This denies the event of overlapping element from occuring. Can please anyone help to solve this issue?

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • HTML DB  Select Statement in HTML HEADER

    Can I put a select statement that return a value in the HTML HEADER?
    If I can How? Would point the way.
    Second Question
    Can I call store function from HTML HEADER? Help!

    I have a report screen that has Delete button. Each record on the screen has a checkbox
    What I would like to do is:
    when the user puts a check in the checkbox and click the Delete button. a message will pop up and ask "Are you usre?" If the user click Yes then the system will check for child record. If there no No child record go head delete the record. If there is a child record then another message pop up and ask "This Schedule is currently active. Do you really want to delete this." If the user answers Yes then it will delete both parent and child records. If the user answer no then no record will be deleted.
    I have been struggle with this in HTML DB for a bit, but I did not find the solution yet. Please Help!!!!

  • How can I turn off "html editing view" in an html page for forwarding?

    Thunderbird 31. When I select a page to "forward" it is displayed with all the html containers showing an red boxes, containing the text and image elements. Can I set up the page display for forwarding to give me a normal view of an htlm page, as it would look in an Inbox?

    use a screen recorder to make a video of your animation
    use a video to gif convertor like this http://www.video-gif-converter.com/

  • Want text input containing HTML tags to appear as HTML in output format

    Hi,
    We have a table in Oracle database that has a column named detail,one of its values is like this: <bold><italics>Good Morning</italics></bold>. What our client wants is that the output format should show: <b><i>Good Morning</b></i>. That is,Bi Publisher should be able to parse the HTML tags and provide the desired output. Please tell me how to achieve this. Any help is much appreciated.
    Thanks and regards,
    Debarati,
    [email protected]

    Hi,
    have a look here (http://blogs.oracle.com/xmlpublisher/2007/01/formatting_html_with_templates.html) to get an idea.
    regards
    Rainer

  • How to include HTML file in JSP using HTML elements or Javascript?

    Hi,
    I have around 15000 static html files one for each item which we display each upon invoking an item.The HTML file should be part of a JSP file.
    Please note that the name of the HTML file is determined dynamically
    Placing all the HTML files within the web application does not give us good performance so i would like to put all of them in the webserver.
    I am not able to include the file in the JSP using the jsp:include attribute if i place the HTML files in the webserver ,
    in order to do that i think should use either HTML element or javascript to include the HTML in the JSP.is there any alternative to <Jsp:include>
    Does anyone have an idea how to include the HTML file and take advan tage of webserver?
    Any ideas are appreciated

    What you need to do is simply read the HTML file from the disk and dump it out to the outputstream. It really is that simple.
    There's no reason you need to include all 15000 files in the actual WAR, you can place those files any place handy that is easy for the application to see (in another directory, or accessible from a file server if you have multiple front ends).
    Then, just write a utiility function that takes the output stream (i.e. the 'out' JSP variable), and the file name, read the file, and write it to the stream.
    If you start noticing performance issues, then you can try doing some caching, but truth is your OS should be doing that for you.
    But, truth be told that's the only practical way to do it.
    Another solution would be to use JavaScriipt and XMLHttpRequest (i.e "AJAX") to load the file at the client side, and simply replace a tag with the results.
    That's also pretty trivial to write, any web site talking about AJAX should give you hint there.
    Of course, that won't work for folks who have JavaScript turned off, or some other incompatible browser, whereas the server side solution obviously works everywhere.

  • CQ page is not rendering properly. It is not rendering HTML. It is showing HTML source code as is.

    On some of the pages, I am getting this weird behavior wherein page is not rendering properly. It is showing HTML source code as is. Could you please help me out? What could be the issue? And how can we get rid of the same?

    Check your component jsp page. it is possible that it is just plan file without directives <@ or you might have miss to close tag which is creating source as text to render
    Paste your jsp code in case you need further help
    Thanks,
    Ajit

  • How to Convert Variable containing HTML to be read as HTML in HTML region

    To understand the question, I have a table storing generated HTML by user and report type:
    USER      | REPORT_TYPE | HTML_GENERATED
    ----------------------------------------------------------------------------------------|
    TEST_USER |   TEST      | <HTML><head><title></title></head><BODY>TEST</BODY></HTML>   |On the page exists a process using a PL/SQL anonymous block which is set to "On Load Before Header". Here is a portion of it:
    SELECT HTML_GENERATED into :P2_HTML
    from LN_DOCUMENT_LABELS
    where USER = :app_user AND REPORT_TYPE = 'TEST';The idea is to generate all the HTML behind the scenes in another package.
    There exists a single Item on the page to store the variable into:
    P2_HTML     (Hidden) Then I created an HTML region, and within that region I wanted to call in the item so I entered:
    &P2_HTML.The result simply displays the HTML code:
    <HTML><head><title></title></head><BODY>TEST</BODY></HTML>Is there a way to force it to be the result of HTML code when the page renders?
    TEST

    KylePN wrote:
    To understand the question, I have a table storing generated HTML by user and report type:
    USER      | REPORT_TYPE | HTML_GENERATED
    ----------------------------------------------------------------------------------------|
    TEST_USER |   TEST      | <HTML><head><title></title></head><BODY>TEST</BODY></HTML>   |
    Hopefully that's just poorly chosen sample HTML? APEX page templates already include those elements. Trying to output a complete HTML document inside an APEX page generally results in a mangled, inoperative mess.
    On the page exists a process using a PL/SQL anonymous block which is set to "On Load Before Header". Here is a portion of it:
    SELECT HTML_GENERATED into :P2_HTML
    from LN_DOCUMENT_LABELS
    where USER = :app_user AND REPORT_TYPE = 'TEST';The idea is to generate all the HTML behind the scenes in another package. In APEX it's not necessarily a good idea. Why use this approach rather than existing APEX features?
    There exists a single Item on the page to store the variable into:
    P2_HTML     (Hidden) Then I created an HTML region, and within that region I wanted to call in the item so I entered:
    &P2_HTML.The result simply displays the HTML code:
    <HTML><head><title></title></head><BODY>TEST</BODY></HTML>Is there a way to force it to be the result of HTML code when the page renders?
    TEST
    Hidden page items these will always be escaped when referenced as static text substitution strings. (You may indeed have done this in previous versions of APEX at some point in the past, but there have been incremental restrictions introduced in several recent APEX versions.)
    Instead of a hidden page item, use an application item, or a Display Only page item with display Condition set to Never.

  • Can't get html file while embed in html..

    on (release){
    getURL("client.htm", "_self");
    my button script.
    it work well when test the flash
    but it doesn't work after embed in html or test in html.
    need add some script into html to active the flash?
    please help!!thanks

    It wont work. i just make all my button into flash movieclip
    I make the html with dreamreaver, i embed flash into in.
    Is there any other solution?
    thank you answer anyway

  • HTML to Flash back to HTML

    I am trying to figure out how to go from a Flash file (AS
    2.0) to open a new browser window with no toolbars, address bars,
    etc. (just a nice clean browser window) but am having difficulty
    figuring how to do it. Anyone have any experience with this?

    As a follow-up, I'm trying to open another Flash file publish
    as an html page.

  • Template changes ../../index.html to file:///Z|/index.html

    I have a site, and then a sub site inside it. They each have their own template. On the sub site I have a link in the menu bar to go back to the home site. The template has ../../index.html listed for the menu for the href. But even when I update the template and other things change on the site (like the template is working otherwize), the link changes to file:///Z|/index.html which is the local diretory for the home site. Without making that link an editable template region to manually fix it on every page I cannot find a solution.

    shacs is Z:\
    conference is Z:\conf\
    Here is a screenshot of the arragement in case I was not clear.

  • Removing index.html from home page / remove .html tags from all other pages

    Hello All,
    I was wondering if there is a way to remove the index.html from my main page, so that www.mypage.com/index.html is simply www.mypage.com/. This also applies to all the other pages in the site, but only for the .html extension: www.mypage.com/contact.html becomes www.mypage.com/contact. Almost all sites I know do this, but I can't figure out the technique beyond working some crazy voodoo with Apache.
    Thanks in advance for your help!

    if 'index.html' is in your HOST server's default filename list, then you can omit its name from any link, e.g.,
    <a href="/">Home</a>
    That link will cause the server to load the default file found in the root folder of the site.
    This is actually the preferred way to link to your home page.

Maybe you are looking for

  • Lightroom 5 catalog issue. please help

    hallo everybody, I really need some help. When i open Lightroom 5, it gets confused and the catalog is not complete anymore. Half of them are missing.It shows the pictures on my SD card,which I always format.In other backups it's the same thing. So,

  • Changes in OM  unit  date

    Can we change the date in OM for the main org.unit which is Company Name . because as client needs to hired some employees before the date which is created for this main org.unit, in short can we change the date for the main Org. unit (Company Name)

  • Maximum size of an .air package

    hi forum, are there any limitations / recomendations for a maximum size of an .air package? i'm currently developing on an air application which will be distributed via cd/dvd. the app will have access to an fixed amount of image data (about 1,5 gb),

  • Using ALV as a search Help

    Has anyone used ALV as a search help presentation/selection method.  I'm thinking, in a simplistic sense, it would be just creating an itab and presenting it on a grid in a container on a new screen called by an exit.... Probably too simple, huh?   

  • Replace usb 1.1 with 2.0

    how can it be that every other mac can have the usb 1.1 card replaced with a usb 2.0 card, but this imac can't? i can replace the hd (ok-i knocked the damned thing over!), processor, optical reader, et c., so what's with the NO to usb swaps? is this