That's what I'm talking about too. :) That string you see there gets
put into the generated Service class so it checks the classpath for the
WSDL and no longer makes the WSDL GET call.
Glen
On 06/17/2013 11:16 AM, Jose María Zaragoza wrote:
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