No problems at all :-), it's a normal question and it's ok anyway to ask what you might see as a silly :-) question - I do it all
the time -:). Many people are on holidays these days so it's kind of quiet at the moment.
I'm sorry - I don't know the answer to your question - so please stay tuned and
I'm sure your answer will be answered shortly
Cheers, Sergey
----- Original Message -----
From: "raft" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, November 28, 2008 10:40 AM
Subject: Re: configuring the WSDL generator at serviceUrl?wsdl
i'm a newbea in web services so excuse me if i asked something stupid :) but
can someone please answer my question ?
thanks..
r a f t
raft wrote:
thank you Daniel :) that reduced the number of wsdl files to one.
but i have also noticed that my types aren't included in the schema part
of wsdl file. java2ws includes them correctly. do you knowhow to correct
it ?
and for curiosity, what tool is running when i invoke serviceName?wsdl ?
isn't it a part of cxf ? if so i don't understand why java2ws and ?wsdl
generates different results
thanks,
r a f t
dkulp wrote:
On Wednesday 26 November 2008 11:12:24 am raft wrote:
hello,
i'm using java first approach. the java2ws and serviceUrl?wsdl generate
different forms of wsdl documents. to be precise the later generates two
wsdl documents where one imports the other. is it possible to change
this
behaviour ?
Technically, the one generated from java2ws is wrong, or at least not per
jaxws/jws spec. Probably a bug in the tool.
is it possible to configure or specify the wsdl generator
running in response to serviceUrl?wsdl ?
Make sure both the "Impl" class and the Interface have @WebService
annotations
and that both of them have the SAME targetNamespace defined. That
should do
it. Per spec, if they don't have the same target namespace, the
"logical"
part should be in one wsdl/namespace and the physical part in another.
That's what you are seeing.
--
Daniel Kulp
[EMAIL PROTECTED]
http://dankulp.com/blog
--
View this message in context:
http://www.nabble.com/configuring-the-WSDL-generator-at-serviceUrl-wsdl-tp20703988p20732209.html
Sent from the cxf-user mailing list archive at Nabble.com.