Thanls Andrei How I can force don't use wsdl/schema validation?
2013/6/17 Andrei Shakirin <[email protected]> > Hi, > > IMO client will not invoke http://<endpoint_url>?wsdl, if you do not > specify it explicitly as wsdlLocation in jaxws:client or in proxy > annotations. > If the service doesn't use various policies (like WS-Security policies) > and fine grained schema validation, then you can get away without the > wsdlLocation at all in the runtime. > > Regards, > Andrei. > > > -----Original Message----- > > From: Jose María Zaragoza [mailto:[email protected]] > > Sent: Montag, 17. Juni 2013 17:16 > > To: [email protected] > > Subject: Re: <jaxws:client> + invoking ?wsdl URL > > > > Thanks. > > > > But I talking about if proxy client invoke http://<endpoint_url>?wsdl > *in > > runtime*, not when generating JAXB classes > > > > Regards > > > > > > > > > > 2013/6/17 Glen Mazza <[email protected]> > > > > > Hi Jose, I hope you're using Maven, you can switch to a classpath URL > > > so it doesn't get the WSDL out from over the network, search on > > > classpath: in the service's pom.xml in this blog article: > > > http://www.jroller.com/gmazza/ > > **entry/web_service_tutorial<http://www.jroller.com/gmazza/entry/web_ > > service_tutorial>. > > > I'm sure there's an equivalent command-line setting if you're using > > > wsdl2java directly. > > > > > > HTH, > > > Glen > > > > > > > > > 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.**xmlsoap.org/wsdl/soap/http<http://schemas > > >> .xmlsoap.org/wsdl/soap/http> > > >> "> > > >> > > >> <!-- WS-SECURITY --> > > >> > > >> <jaxws:outInterceptors> > > >> <ref bean="sign" /> > > >> </jaxws:outInterceptors> > > >> > > >> </jaxws:client> > > >> > > >> > > >> Thanks and regards > > >> > > >> > > > >
