Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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


It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!