I don't think that can be done. For example, the default stub constructor sets the default EPR, so without a service element in the WSDL, that cannot be done.
On Tue, Feb 22, 2011 at 4:04 PM, <m...@srsi.de> wrote: > how can I configure this? if I execute wsdl2java with the param -uri > <WSDL_PATH>, I always get an exception for no service element. > > Am 21.02.2011 um Uhr haben Sie geschrieben: > > yes, you do not need to have a service to generate code, you only need > a > > WSDL file. However, you cannot invoke the service until you run the > service. > > > > Deepal > > > > On 2/21/2011 5:54 AM, m...@srsi.de wrote: > > > Is it possible to generate java code from a wsdl file which doesn't > own > > > a service > > > element? > > > > > > Thanks! > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org > > > For additional commands, e-mail: java-user-h...@axis.apache.org > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org > > For additional commands, e-mail: java-user-h...@axis.apache.org > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org > For additional commands, e-mail: java-user-h...@axis.apache.org > > -- *Afkham Azeez* Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*<http://www.apache.org/> * email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919 blog: **http://blog.afkham.org* <http://blog.afkham.org>* twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* * *