NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

jax-ws.xml , wsdl-url tag and relative urls

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
leolikesbass



Joined: 17 Dec 2008
Posts: 5

PostPosted: Wed Dec 17, 2008 9:00 pm    Post subject: jax-ws.xml , wsdl-url tag and relative urls Reply with quote

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

PostPosted: Thu Dec 18, 2008 3:34 pm    Post subject: Reply with 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.

My searches on this forum haven't brought up anything that details this file.
Back to top
Lukas Jungmann
Posted via mailing list.





PostPosted: Tue Dec 23, 2008 12:49 pm    Post subject: jax-ws.xml , wsdl-url tag and relative urls Reply with quote

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

PostPosted: Mon Jan 05, 2009 2:45 pm    Post subject: Re: jax-ws.xml , wsdl-url tag and relative urls Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo