Looking at the code, I see:
  private String targetNamespace;
Thus, the elementname in the pom probably should be that, and not 
targetNameSpace.   

Can you try that?

Dan


On Wednesday 01 October 2008, Preuss, Jacqueline - ENCOWAY wrote:
> Hi Christopher!
>
> No, I didn't got an answer.
>
> I solved my problem by generating the wsdl via the server (Tomcat by
> adding the CXF-Servlet and Spring context configuration) and calling
> the web service in the browser:
> http://localhost:8080/myWebservice?wsdl
>
> The namespace in this wsdl is generated by the annotations I added to
> my web service Interface:
>
> @WebService(targetNamespace = "myNamespace")
> interface IMyWebService {...}
>
> The implementing class gets the following annotations:
> @WebService(endpointInterface = "com.test.webservice.IMyWebService ",
>               serviceName = "MyWebService" ,
>               targetNamespace = "myNamespace ")
> public class MyWebService implements IMyWebService {...}
>
> Hope this helps.
>
> Regards,
> Jacqueline.
>
> > -----Ursprüngliche Nachricht-----
> > Von: huntc [mailto:[EMAIL PROTECTED]
> > Gesendet: Mittwoch, 1. Oktober 2008 12:34
> > An: [email protected]
> > Betreff: Re: Maven - java2ws - Namespace missing
> >
> >
> >
> > Hi Jacqueline,
> >
> > Did you ever get a reply to this or find a solution? It is just that
> > I am encountering the same issue. I am using v.2.1.2.
> >
> > Kind regards,
> > Christopher
> > --
> > View this message in context:
> > http://www.nabble.com/Maven---java2ws---
> > Namespace-missing-tp18506523p19757827.html
> > Sent from the cxf-user mailing list archive at Nabble.com.



-- 
J. Daniel Kulp
Principal Engineer, IONA
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to