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...
User Profile
Collapse
-
Random xml generation for testing server
-
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... -
Hi guys,
I am still facing the same problem...
Can somebody, please please help me.... -
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. -
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... -
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 ... -
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 ...... -
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.
No activity results to display
Show More
Leave a comment: