I thought that trang did what you were looking for but I had forgotten that it was primarily for translating schemas or generating them from xml documents. You're looking to generate an xml document from a schema. I did something like this a few years back that you may find useful here:
http://tinyurl.com/4hgpgvj It uses Castor to model the schema and does a fair job at creating a sample message and uses a preference object to control decisions like choices, minOccurs, etc. I'm sure there are areas that need improvement but it may help you get started. On Wed, Jan 19, 2011 at 10:47 AM, henry human <[email protected]> wrote: > You are talking about a generic solution using Axiom, StatX and implementing > the soap generator from scratchbut I thoutgh I can use a existing framework > which does this already. > > --- Tammo van Lessen <[email protected]> schrieb am Mi, 19.1.2011: > >> Von: Tammo van Lessen <[email protected]> >> Betreff: Re: tool generate SOAP message >> An: [email protected] >> Datum: Mittwoch, 19. Januar, 2011 16:17 Uhr >> My last idea is Axiom but then its up >> to you to make sure that the SOAP >> message is following the WSDL schema. >> >> On 19.01.2011 15:55, henry human wrote: >> > I tested this tool too. It does not run against normal >> wsdl Grammaticus ! There are errors running the tool and the >> tool has not good code comments and is not well documented >> to understand the errors! >> > Is true what you are writing about SoUi but it is not >> the solution in My case as I mentioned (because of its >> very huge API which has not a documentation to understand >> it... >> > >> > Any other Idea >> > >> > >> > >> > >> > >> > --- Mark Ford <[email protected]> >> schrieb am Di, 18.1.2011: >> > >> >> Von: Mark Ford <[email protected]> >> >> Betreff: Re: tool generate SOAP message >> >> An: [email protected] >> >> Datum: Dienstag, 18. Januar, 2011 20:19 Uhr >> >> My preference is soapui. If the UI or >> >> documentation is found lacking >> >> and you want to create your own tool then I can >> recommend >> >> the trang >> >> library. It's a Java library that allows you to >> generate an >> >> XML >> >> instance given a schema definition. I imagine that >> you >> >> could create >> >> your own generator fairly easily given an existing >> WSDL and >> >> its schema >> >> definitions. >> >> >> >> http://www.thaiopensource.com/relaxng/trang.html >> >> >> >> >> >> On Tue, Jan 18, 2011 at 1:49 PM, henry human >> <[email protected]> >> >> wrote: >> >>> hi, all these frameworks are used to implement >> the >> >> code for a web service or a web service client. In >> my case I >> >> am going to create only the soap document with the >> tool and >> >> not implement web service or client for web >> service. This is >> >> something like the soapui already has done! But in >> case of >> >> soapui there is no a good documentation for the >> API and the >> >> software is due to too many features too big and >> too complex >> >> .. >> >>> >> >>> --- Tammo van Lessen <[email protected]> >> >> schrieb am Di, 18.1.2011: >> >>> >> >>>> Von: Tammo van Lessen <[email protected]> >> >>>> Betreff: Re: tool generate SOAP message >> >>>> An: [email protected] >> >>>> Datum: Dienstag, 18. Januar, 2011 17:08 >> Uhr >> >>>> What about Axis2, CXF, Metro, ...? >> >>>> >> >>>> On 18.01.2011 17:06, henry human wrote: >> >>>>> Thanks, but this tool has a huge not >> >> documented API >> >>>> with a graphical UI . >> >>>>> I thought a narrow API or a command >> line. >> >>>>> >> >>>>> >> >>>>> --- David Carver <[email protected]> >> >>>> schrieb am Di, 18.1.2011: >> >>>>> >> >>>>>> Von: David Carver <[email protected]> >> >>>>>> Betreff: Re: tool generate SOAP >> message >> >>>>>> An: [email protected] >> >>>>>> Datum: Dienstag, 18. Januar, 2011 >> 16:35 >> >> Uhr >> >>>>>> SOAPUI. >> >>>>>> >> >>>>>> http://www.soapui.org/ >> >>>>>> >> >>>>>> >> >>>>>> On 01/18/2011 10:17 AM, henry >> human >> >> wrote: >> >>>>>>> Hi guys >> >>>>>>> I am looking for any JAVA or >> not >> >> JAVA >> >>>> tool(free >> >>>>>> command line Tool or well >> documented >> >> API/ >> >>>> framework..) to >> >>>>>> generate SOAP messages from a >> given >> >> WSDL. >> >>>>>>> (it should be possible to call >> the >> >> tool or API >> >>>> from >> >>>>>> JAVA code). Maybe someone >> has >> >> implemented >> >>>> such tool >> >>>>>> and can give a hint. >> >>>>>>> I am thankful for any help! >> >>>>>>> ciao.. >> >>>>>>> >> >>>>>>> >> >>>>>> >> >>>>>> >> >>>>> >> >>>>> >> >>>> >> >>>> -- >> >>>> Tammo van Lessen - http://www.taval.de >> >>>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >> >> > >> > >> >> -- >> Tammo van Lessen - http://www.taval.de >> > > >
