axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter A. Kirk" ...@alpha-solutions.dk>
Subject SV: Axis2: how to generate services.xml
Date Thu, 11 Oct 2007 09:47:01 GMT
Yes, that's what I am doing now! :-)

/Peter

-----Oprindelig meddelelse-----
Fra: zhongliang zhang [mailto:zhangzhongl@gmail.com] 
Sendt: 11. oktober 2007 11:31
Til: axis-user@ws.apache.org
Emne: Re: Axis2: how to generate services.xml

Why not write it by yourself,it is simple if you follow the services
configuration guide.

On 11/10/2007, Peter A. Kirk <pk@alpha-solutions.dk> wrote:
> -----Oprindelig meddelelse-----
> Fra: Deepal jayasinghe [mailto:deepalk@gmail.com]
> Sendt: 11. oktober 2007 08:35
> Til: axis-user@ws.apache.org
> 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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message