Posted by Benson Margulies <bi...@basistech.com>.
If you annotate the service with your handwritten wsdl, it will be
returned, perhaps with addresses improved. if you don't, I think that
you get a newly-generated one.
However, how to you expect to get a single WSDL when you have multiple
target namespace?
> -----Original Message-----
> From: Silberman, Nathan [mailto:NSilberman@doubleclick.com]
> Sent: Tuesday, December 04, 2007 4:12 PM
> To: cxf-user@incubator.apache.org
> Cc: Gotosleep3
> Subject: RE: CXFServlet Creating WSDL with <wsdl:import location
>
> Does CXF regenerate the WSDL? I thought CXF displayed the
> handwritten wsdl that one supplies?
>
> -----Original Message-----
> From: Daniel Kulp [mailto:dkulp@apache.org]
> Sent: Tuesday, December 04, 2007 3:58 PM
> To: cxf-user@incubator.apache.org
> Cc: Gotosleep3
> Subject: Re: CXFServlet Creating WSDL with <wsdl:import location
>
>
> If all the namespaces are the same, CXF should generate a WSDL that
> doesn't use any wsdl imports.
>
> For the most part, add @WebService(targetNamespace = ".....")
> annotations to both the SEI interface and the implementation
> making sure
> the
> targetNamespace is the same for both. That should allow both the
> logical stuff (interface/portType) and the physical
> (impl/service/binding) to be in the same namespace and thus the same
> wsdl.
>
>
> Dan
>
>
> On Tuesday 04 December 2007, Gotosleep3 wrote:
> > I have looked through source code, documentation, and
> Google and have
> > not found the answer.
> >
> > Is there a way to have CXFServlet create a WSDL without using the
> ><wsdl:import
> >location="http:....../pipelinemgmt/services/WorkplanService?w
> sdl=Workp
> >lanService.wsdl" namespace="http://BLAHBLAH/">
> > </wsdl:import>
> >
> > TAG?
> >
> > We have a 3rd party vendor tool that introspects the WSDl
> and does not
>
> > seem to like it.
> >
> >
> > Thank you in advance.
>
>
>
> --
> J. Daniel Kulp
> Principal Engineer
> IONA
> P: 781-902-8727 C: 508-380-7194
> daniel.kulp@iona.com
> http://www.dankulp.com/blog
>
RE: CXFServlet Creating WSDL with
Posted by "Silberman, Nathan" <NS...@doubleclick.com>.
Does CXF regenerate the WSDL? I thought CXF displayed the handwritten
wsdl that one supplies?
-----Original Message-----
From: Daniel Kulp [mailto:dkulp@apache.org]
Sent: Tuesday, December 04, 2007 3:58 PM
To: cxf-user@incubator.apache.org
Cc: Gotosleep3
Subject: Re: CXFServlet Creating WSDL with <wsdl:import location
If all the namespaces are the same, CXF should generate a WSDL that
doesn't use any wsdl imports.
For the most part, add @WebService(targetNamespace = ".....")
annotations to both the SEI interface and the implementation making sure
the
targetNamespace is the same for both. That should allow both the
logical stuff (interface/portType) and the physical
(impl/service/binding) to be in the same namespace and thus the same
wsdl.
Dan
On Tuesday 04 December 2007, Gotosleep3 wrote:
> I have looked through source code, documentation, and Google and have
> not found the answer.
>
> Is there a way to have CXFServlet create a WSDL without using the
><wsdl:import
>location="http:....../pipelinemgmt/services/WorkplanService?wsdl=Workp
>lanService.wsdl" namespace="http://BLAHBLAH/">
> </wsdl:import>
>
> TAG?
>
> We have a 3rd party vendor tool that introspects the WSDl and does not
> seem to like it.
>
>
> Thank you in advance.
--
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727 C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog
Re: CXFServlet Creating WSDL with
Posted by Daniel Kulp <dk...@apache.org>.
If all the namespaces are the same, CXF should generate a WSDL that
doesn't use any wsdl imports.
For the most part, add @WebService(targetNamespace = ".....") annotations
to both the SEI interface and the implementation making sure the
targetNamespace is the same for both. That should allow both the
logical stuff (interface/portType) and the physical
(impl/service/binding) to be in the same namespace and thus the same
wsdl.
Dan
On Tuesday 04 December 2007, Gotosleep3 wrote:
> I have looked through source code, documentation, and Google and have
> not found the answer.
>
> Is there a way to have CXFServlet create a WSDL without using the
> <wsdl:import
> location="http:....../pipelinemgmt/services/WorkplanService?wsdl=Workp
>lanService.wsdl" namespace="http://BLAHBLAH/">
> </wsdl:import>
>
> TAG?
>
> We have a 3rd party vendor tool that introspects the WSDl and does not
> seem to like it.
>
>
> Thank you in advance.
--
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727 C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog