이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 19. Publishing Contracts
19.1. Service List Application 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
Important
Red Hat is offering the service list functionality as a Technical Preview only at this point in time. It will be replaced by different technology in a later release.
The Service List Application is a tool that allows the user to see information about end-points. (You will often need this information if you are utilizing web service end-points exposed by the SOAPProcessor action). The tool is at http://localhost:8080/contract/. The tool groups end-points under the services with which they are associated.
19.2. End-Point Contract 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
An end-point contract specifies what an end-point will communicate to other services.
19.3. How the JBoss Enterprise SOA Platform Discovers End-Point Contracts 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
The JBoss Enterprise SOA Platform discovers end-point contracts via looking in the action pipeline for the first action that can publish contract information.
If none of the actions can do so, then the Service List Application displays this message:
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
Unavailable on Contract
Unavailable on Contract
19.4. Publish a Contract 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
Procedure 19.1. Task
- 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 }
@Publish(JBossWSWebserviceContractPublisher.class) public class SOAPProcessor extends AbstractActionPipelineProcessor { //TODO: implement }
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Implement the
org.jboss.soa.esb.actions.soap.ContractPublisher
interface (You only need to implement one method):public ContractInfo getContractInfo(EPR epr);
public ContractInfo getContractInfo(EPR epr);
Copy to Clipboard Copied! Toggle word wrap Toggle overflow