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. 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">
<!-- WS-SECURITY -->
<jaxws:outInterceptors>
<ref bean="sign" />
</jaxws:outInterceptors>
</jaxws:client>
Thanks and regards