Red Hat Training

A Red Hat training course is available for JBoss Enterprise SOA Platform

5.4. Publish a Contract

Procedure 5.1. Task

  1. In order to publish contract information, you must give an action the following org.jboss.internal.soa.esb.publish.Publish annotation. (This example uses the SOAPProcessor for demonstrative purposes):
    @Publish(JBossWSWebserviceContractPublisher.class)
    public class SOAPProcessor extends AbstractActionPipelineProcessor {
    //TODO: implement
    }
    
  2. Implement the org.jboss.soa.esb.actions.soap.ContractPublisher interface (You only need to implement one method):
    public ContractInfo getContractInfo(EPR epr);