File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Web Service Client using IBM Web sphere JAX-WS  runtime Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Web Service Client using IBM Web sphere JAX-WS  runtime Issue" Watch "Web Service Client using IBM Web sphere JAX-WS  runtime Issue" New topic

Web Service Client using IBM Web sphere JAX-WS runtime Issue

Mohd Fuzail
Ranch Hand

Joined: Feb 20, 2002
Posts: 107
To create a java Web Service client using IBM Web sphere JAX-WS runtime to consume any web service. This client needs to be developed as utility project for a given Web Service and allows other application to invoke that particular web service

Tool Used
RAD (with Web Service Feature Pack )
WAS 6.1

After creating Java client from RAD using IBM Web sphere JAX-WS runtime as a Java Utility Project, whenever I am invoking the Web Service using this client I am getting following error

Exception in thread "main" java.lang.NoSuchMethodError: javax/wsdl/Operation.getExtensibilityElements()Ljava/util/List;
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateOperations(
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populatePortType(
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints(
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(
at org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.buildAxisServiceFromWSDL(
at org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.setupAxisService(
at org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.<init>(
at org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.<init>(
at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.updateEndpointDescription(
at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.updateEndpoint(
at org.apache.axis2.jaxws.description.DescriptionFactory.updateEndpoint(
at org.apache.axis2.jaxws.spi.ServiceDelegate.getPort(
at org.example.person.PersonService.getPersonPort(
at org.example.person.Person_portProxy$Descriptor.initCommon(
at org.example.person.Person_portProxy$Descriptor.<init>(
at org.example.person.Person_portProxy.<init>(

Goggled this error, appears issue with the usage of incorrect version of wsdl4j.jar file
Tried replacing wsdl4j.jar (version wsdl4j-1_6_2 latest) with the available wsdl4j.jar files in RAD, no success
Replaced wsdl4j-1.5.1.jar with latest jar, no success
Comprehensive error resolution is provided at but nothing is working as of now talks about making following changes if application which is hitting this issue id deployed over WAS (Classes loaded with application class loader first and Single class loader for application ), but in our case this is a utility project


Being defeated is often a temporary condition. Giving up is what makes it permanent.
I agree. Here's the link:
subject: Web Service Client using IBM Web sphere JAX-WS runtime Issue
It's not a secret anymore!