NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
leolikesbass
Joined: 17 Dec 2008 Posts: 5
|
Posted: Wed Dec 17, 2008 9:00 pm Post subject: jax-ws.xml , wsdl-url tag and relative urls |
|
|
I am trying to develop an application on my machine which will be ported over to a tomcat 5.x server on a unix box. The problem is I would like the <wsdl-url> tag to point to a path relative to the webroot. Fight now the file is in the WEB-INF\wsdl\client\CRC directory, but I also created a config directory in the webroot that I can put the .wsdl file in.
So, how would I write the entry to point it to a relative location?
Here is the working jax-ws.xml
<?xml version="1.0" encoding="UTF-8"?>
<jax-ws xmlns="http://www.netbeans.org/ns/jax-ws/1">
<services/>
<clients>
<client name="CRC">
<wsdl-url>file:C:/JavaProjects/NetbeansArea/GlassFishCRCClient/web/WEB-INF/wsdl/client/CRC/CRC.wsdl</wsdl-url>
<local-wsdl-file>CRC.wsdl</local-wsdl-file>
<package-name>com.gdsx.compleatprocessinvoke._2</package-name>
<catalog-file>catalog.xml</catalog-file>
<wsimport-options/>
</client>
</clients>
</jax-ws>
all I want is the WEB-INF/wsdl/client/CRC/CRC.wsdl |
|
| Back to top |
|
 |
leolikesbass
Joined: 17 Dec 2008 Posts: 5
|
Posted: Thu Dec 18, 2008 3:34 pm Post subject: |
|
|
Is there anywhere that jax-ws.xml is explained well? This I suppose in Netbeans specific, I see info for sun-jaxws.xml, but not jax-ws.xml over the internet.
My searches on this forum haven't brought up anything that details this file. |
|
| Back to top |
|
 |
Lukas Jungmann Posted via mailing list.
|
Posted: Tue Dec 23, 2008 12:49 pm Post subject: jax-ws.xml , wsdl-url tag and relative urls |
|
|
leolikesbass wrote:
| Quote: | Is there anywhere that jax-ws.xml is explained well? This I suppose in Netbeans specific, I see info for sun-jaxws.xml, but not jax-ws.xml over the internet.
|
no, it's really netbeans specific file and info from this file is
intended to be used by IDE to generate jaxws-build.xml, to display ws
related nodes in the project view and to provide info to some ws
specific actions (like refresh ws/ws client)
Is there something specific you want to know about it?
--lj
| Quote: |
My searches on this forum haven't brought up anything that details this file.
|
|
|
| Back to top |
|
 |
leolikesbass
Joined: 17 Dec 2008 Posts: 5
|
Posted: Mon Jan 05, 2009 2:45 pm Post subject: Re: jax-ws.xml , wsdl-url tag and relative urls |
|
|
Yes, as stated in my original post...
When pointing to the WSDL, the IDE generated an entry to the absolute file path on my machine, which was a develoment machine. I want it to use a relative path based off the webroot.
The entry started with 'file:..', how would a relative path look, or is the only way to point to a WSDL with a absolute file path?
thanks.
| Lukas Jungmann wrote: | leolikesbass wrote:
| Quote: | Is there anywhere that jax-ws.xml is explained well? This I suppose in Netbeans specific, I see info for sun-jaxws.xml, but not jax-ws.xml over the internet.
|
no, it's really netbeans specific file and info from this file is
intended to be used by IDE to generate jaxws-build.xml, to display ws
related nodes in the project view and to provide info to some ws
specific actions (like refresh ws/ws client)
Is there something specific you want to know about it?
--lj
| Quote: |
My searches on this forum haven't brought up anything that details this file.
|
|
|
|
| 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
|
|