NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Jeff Rubinoff Posted via mailing list.
|
Posted: Fri Dec 04, 2009 2:28 pm Post subject: Re: Sharing JAX/WS Web Services via Subversion (NetBeans 6.7) |
|
|
Bernhard,
I'm not sure if I correctly understand your situation. If you have web
service stubs, in 6.7 they should include a copy of all the WS classes,
so I'm a little surprised you have this error.
One certain fix is to have the services available 24/7 at a fixed URL in
your intranet, then build the stubs against that URL.
But I'm just the tech writer and may be wrong.
Jeff
Bernhard Humm wrote:
| Quote: | I am using NetBeans 6.7 to generate JAX/WS web services and web
service clients. Locally, this works fine.
However, when when sharing the code with team members using Subversion
(SVN), compiler errors occur. There is no code available for the web
service stubs. What shall we do?
Regards
Bernhard
|
|
|
| Back to top |
|
 |
mkuchtiak Posted via mailing list.
|
Posted: Fri Dec 04, 2009 3:36 pm Post subject: Re: Sharing JAX/WS Web Services via Subversion (NetBeans 6.7) |
|
|
Bernhard,
WS Stub (JAX-WS) artifacts are generated from WSDL file, and not
included to project sources.
They should be created when the project is built. (There is a condition
in ant build script that should guarantee JAX-WS stubs generation)
Milan
Jeff Rubinoff wrote:
| Quote: | Bernhard,
I'm not sure if I correctly understand your situation. If you have web
service stubs, in 6.7 they should include a copy of all the WS
classes, so I'm a little surprised you have this error.
One certain fix is to have the services available 24/7 at a fixed URL
in your intranet, then build the stubs against that URL.
But I'm just the tech writer and may be wrong.
Jeff
Bernhard Humm wrote:
| Quote: | I am using NetBeans 6.7 to generate JAX/WS web services and web
service clients. Locally, this works fine.
However, when when sharing the code with team members using
Subversion (SVN), compiler errors occur. There is no code available
for the web service stubs. What shall we do?
Regards
Bernhard
|
|
|
|
| Back to top |
|
 |
Bernhard Humm Posted via mailing list.
|
Posted: Mon Dec 07, 2009 6:14 pm Post subject: Re: Sharing JAX/WS Web Services via Subversion (NetBeans 6.7) |
|
|
Thanks a lot, Milan and Jeff,
I now found out that the sources that are being generated during the
build process are located in directory
<project root>\generated-sources\jax-ws\
This directory is (for a good reason) excluded from Subversion commit by
the NetBeans Subversion plug-in. Hence, the sources are not available to
other team members and they get compilation errors.
For the time being, we are back to using classic JEE communication
instead of Web Services but this is not satisfactory. We will need Web
Services at the latest when we start implementing BPEL processes.
Regards
Bernhard
mkuchtiak wrote:
| Quote: | Bernhard,
WS Stub (JAX-WS) artifacts are generated from WSDL file, and not
included to project sources.
They should be created when the project is built. (There is a condition
in ant build script that should guarantee JAX-WS stubs generation)
Milan
Jeff Rubinoff wrote:
| Quote: | Bernhard,
I'm not sure if I correctly understand your situation. If you have web
service stubs, in 6.7 they should include a copy of all the WS
classes, so I'm a little surprised you have this error.
One certain fix is to have the services available 24/7 at a fixed URL
in your intranet, then build the stubs against that URL.
But I'm just the tech writer and may be wrong.
Jeff
Bernhard Humm wrote:
| Quote: | I am using NetBeans 6.7 to generate JAX/WS web services and web
service clients. Locally, this works fine.
However, when when sharing the code with team members using
Subversion (SVN), compiler errors occur. There is no code available
for the web service stubs. What shall we do?
Regards
Bernhard
|
|
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|