User Profile

Collapse

Profile Sidebar

Collapse
javatoil260309
javatoil260309
Last Activity: Oct 6 '09, 01:32 PM
Joined: Aug 26 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • javatoil260309
    started a topic Random xml generation for testing server
    in XML

    Random xml generation for testing server

    Hi guys,
    How can I generate xml files randomly from a schema definition file.
    Currently I have an xsd, which I insatantiate each time to generate an xml.
    My requirement is to generate xml randomly such that fields in the xml conform to the xsd. Is it possible? Is there any java library which will help me do that?

    I am using jaxb right now, which lets me generate xml for an xsd. But for this I need to feed value...
    See more | Go to post

  • javatoil260309
    started a topic Random generation of xml
    in Java

    Random generation of xml

    Hi guys,
    How can I generate xml files randomly from a schema definition file.
    Currently I have an xsd, which I insatantiate each time to generate an xml.
    My requirement is to generate xml randomly such that fields in the xml conform to the xsd. Is it possible? Is there any java library which will help me do that?

    I am using jaxb right now, which lets me generate xml for an xsd. But for this I need to feed value for...
    See more | Go to post
    Last edited by Frinavale; Sep 23 '09, 11:07 PM. Reason: Merged duplicate threads.

  • Hi guys,
    I am still facing the same problem...
    Can somebody, please please help me....
    See more | Go to post

    Leave a comment:


  • How to include namespaces in the generated xml using JAXB

    Hi all,
    I have using JAXB to generate XML from a XSD file.
    So far so good. But i noticed that all the URL's (namespaces in the xsd)
    are not present in the generated xml. TO be precise my XSD file contains 4 namespaces ( which includes "http://www.w3.org/2001/XMLSchema" and 3 others), but my generated xml shows only 1 namespace. How do i resolve this issue?.
    Any help will be appreciated. Thanks in advance.
    See more | Go to post

  • how to include xchema namespave in the instantiated xml in jaxb

    Hey guys,

    I am using an xsd to generate an xml file. For this I'm using jaxb from "https://jaxb.dev.java.n et/2.1.9/JAXB2_20081030. jar".
    I have successfully managed to create marshal for a context and generated the xml for the xsd.
    However I have not been able to include the XSD namespace, target namespace etc
    in my generated xml file.
    Can you guys please help me on this.
    Thanks in adv...
    See more | Go to post

  • javatoil260309
    started a topic how do i instantiate xml from an xsd file ??
    in XML

    how do i instantiate xml from an xsd file ??

    Hi..
    i have used visual studio xsd.exe to obtain ".xsd" file from a sample xml file.
    I would like to know how i can instantiate an xml file using this xsd in java...

    Any help will be greatly appreciated... Thanks a lot in advance ...
    See more | Go to post

  • how is java object ent over http post in xml ??

    Hi,
    I'm trying to 'POST' http request to my local server... upto now i have had success sending only 'text' string in the message body.
    I now would like to try out sending java objects. And I understand, xml is the best wy to go about it...
    I have learnt that using xsd (xml schema defination) one can instantiate xml file and then post it to the server...
    I would like to know how I can use xsd to instantiate xml ......
    See more | Go to post

  • javatoil260309
    started a topic how to include namespace in generated xml
    in Java

    how to include namespace in generated xml

    hi... i have an exsisting code to generate xml from dtd file.
    I have now modified the code to generate xml using xsd.
    However, though the xsd has namespace in it clearly, the generated xml doesn have it.
    How do i resolve this issue.
    See more | Go to post
No activity results to display
Show More
Working...