Hi there

I have written a small program which generates and compiles a
web-service class and then creates a wsdl for this class.

But how do I generate services.xml for the class?

For example, to generate the wsdl file programmatically, I do this (and
I would appreciate it if someone could tell me a better way):

String[] parms = new String[] {"-cp", ".", "-cn",
"dk.alpha.ws.MyService", "-o", "c:/myservice", "-of", "MyService.wsdl"};
                        
Java2WSDLCommandLineOptionParser commandLineOptionParser = new
Java2WSDLCommandLineOptionParser(parms);

try 
{
    new
Java2WSDLCodegenEngine(commandLineOptionParser.getAllOptions()).generate
();
} 
catch (Exception e) 
{
    //
}

But I have not yet found out how to generate the "services.xml" file
programmatically.


Thanks,
Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to