How to run wsconsume/wsprovide using an ant task in JBoss EAP 6/7

Solution Verified - Updated -


  • During upgrade EAP 5 to 6, compile error happen from ant task about web service, It is because of missing libraries on classpath. In order to wsconsume/wsprovide, what libraries should be added in ant script?

  • How to run wsconsume and wsprovide using an Apache Ant task in JBoss EAP 6/7?


  • Red Hat JBoss Enterprise Application Platform (EAP) 6.x
  • Red Hat JBoss Enterprise Application Platform (EAP) 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content