cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ritesh Rathore <>
Subject RE: web service clients : Help
Date Mon, 24 Nov 2014 07:50:57 GMT
Please help

From: Ritesh Rathore
Sent: Friday, November 21, 2014 4:48 PM
To:;; ''
Cc: Ritesh Rathore;
Subject: web service clients : Help

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

Sample Code:

String endPointUrl ="";
URL wsdlURL1 = new URL(endPointUrl);
PolStatHttpService ss = new PolStatHttpService(wsdlURL1, SERVICE_NAME);
port = ss.getPolStatHttpPort();
BindingProvider bindingprovide = (BindingProvider)port;
bindingprovide.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, endPointUrl);

Getting below error while using above code: The following WSDL exception occurred: WSDLException: faultCode=WSDL4JWrapper
: : javax.wsdl.WSDLException: WSDLException: faultCode=WSDL4JWrapper : :
Server returned HTTP response code: 500 for URL:

Thanks & Regards,
Ritesh Rathore

Mastek Ltd| Mastek Millennium Center, A-7, Millennium Business Park,Sector 1 Off Thane Belapur
Road, Mahape Navi Mumbai - 400701 |
Board: +91-22-2778 1272 Extn  5690 | Mobile: 91-9920311805 | Fax: +91-22-2778 1332 |<>

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.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message