Hello How do you create the client? In spring? Directly in code using JAX-WS API?
For Spring you can customize the address in jaxws:client element. For direct JAX-WS API you can use: ((javax.xml.ws.BindingProvider)port).getRequestContext().put(javax.xml.ws.BindingProvider#ENDPOINT_ADDRESS_PROPERTY, "http://new-address"); regards Grzegorz Grzybek 2014-04-01 15:40 GMT+02:00 Ritesh Rathore <[email protected]>: > Hi All, > > Our current web service clients use WSDLs to get the end points of the > services that we want to hit. > As a result we store the WSDL URL's in our tables to be able to run the > web service clients. > > Is there a way we can hit the end points directly without having to go > through the WSDL? > Can you please suggests what need to make changes to achieve that? > > Please share your thoughts on this. > > Note: we are using a Apache CXF 2.1.3 > > Thanks & Regards, > Ritesh Rathore > MASTEK LTD. > In the US, we're called MAJESCOMASTEK > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Opinions expressed in this e-mail are those of the individual and not that > of Mastek Limited, unless specifically indicated to that effect. Mastek > Limited does not accept any responsibility or liability for it. This e-mail > and attachments (if any) transmitted with it are confidential and/or > privileged and solely for the use of the intended person or entity to which > it is addressed. Any review, re-transmission, dissemination or other use of > or taking of any action in reliance upon this information by persons or > entities other than the intended recipient is prohibited. This e-mail and > its attachments have been scanned for the presence of computer viruses. It > is the responsibility of the recipient to run the virus check on e-mails > and attachments before opening them. If you have received this e-mail in > error, kindly delete this e-mail from desktop and server. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >
