-----Oprindelig meddelelse-----
Fra: Deepal jayasinghe [mailto:[EMAIL PROTECTED] 
Sendt: 11. oktober 2007 08:35
Til: [email protected]
Emne: Re: Axis2: how to generate services.xml

>Peter A. Kirk wrote:
>> 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"};
>>   
>pass -s and -sd option as well , then it will generate services.xml as
well

Hi - aren't those options for wsdl2java? 

I have tried -ss and -sd with wsdl2java, but then there are other java
"skeleton" files generated as well, which I don't want as I already have
my own java class and wsdl - all I want is a services.xml, nothing else.

(I can't find those options in java2wsdl - am I missing something?)

Thanks,
Peter

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

Reply via email to