Thanks I'm using WSS4J interceptors to sign outgoing messages Could be this the cause what my <jaxws:client> bean is making calls to <endpoint_url>?wsdl URL ?
I agree with you in all you said , but I don't understand my proxy client ( jaxws:client ) performs those calls ... 2013/6/17 Andrei Shakirin <[email protected]> > > > > Indeed, I don't understand why I would need to define a wsdlLocation for > a > > <jaxws:client> element Why ? > > You don't need it if you do not use policies in your WSDL. CXF builds > service model on the base of annotations in generated code. > > Regards, > Andrei. > > > > > > > > > > > > > >>>> > > >>>> On 06/17/2013 10:45 AM, Jose María Zaragoza wrote: > > >>>> > > >>>> Hi: > > >>>>> > > >>>>> I'm using Apache CXF 2.7.3 > > >>>>> > > >>>>> I created a <jaxws:client> bean (proxy client) to invoke a remote > > >>>>> webservice. > > >>>>> I've generated JAXB classes and endpoint interface with wsdl2java > > >>>>> > > >>>>> I would like if this proxy client tries to getting wsdl from > > >>>>> remote endpoint . > > >>>>> I mean, is this proxy getting "http://<endpoint_url>?wsdl" URL? > > >>>>> If it does, how can i avoid it ? > > >>>>> > > >>>>> > > >>>>> This is my code > > >>>>> > > >>>>> <jaxws:client id="testclient" > > >>>>> serviceClass="com.foo.****TestPortType" > > >>>>> address= "http://remote.com/myws/" > > >>>>> > > >>>>> > > bindingId="http://schemas.**xm**lsoap.org/wsdl/soap/http<http://xm > > >>>>> lsoap.org/wsdl/soap/http> > > >>>>> > > <http:**//schemas.xmlsoap.org/wsdl/**soap/http<http://schemas.xmls > > >>>>> oap.org/wsdl/soap/http> > > >>>>> > > > >>>>> > > >>>>> "> > > >>>>> > > >>>>> <!-- WS-SECURITY --> > > >>>>> > > >>>>> <jaxws:outInterceptors> > > >>>>> <ref bean="sign" /> > > >>>>> </jaxws:outInterceptors> > > >>>>> > > >>>>> </jaxws:client> > > >>>>> > > >>>>> > > >>>>> Thanks and regards > > >>>>> > > >>>>> > > >>>>> > > >> > > > >
