`
zsjg13
  • 浏览: 144967 次
  • 性别: Icon_minigender_1
  • 来自: 安徽
社区版块
存档分类
最新评论

Service model

    博客分类:
  • CXF
阅读更多

Service model

The Service model, in a true sense, models your service. It is a framework of 

components that represents a service in a WSDL-like model. It provides functionality 

to create various WSDL elements such as operations, bindings, endpoints,  

schema, and so on. 

 

The components of the Service model can be used to create a service. 

 

ServiceInfo is comprised of the following components that more or less represent 

WSDL elements:

• InterfaceInfo

• OperationInfo

• MessageInfo

• BindingInfo

• EndpointInfo

 

A web service is usually created using one of the frontends offered by CXF. It can  

be either constructed from a Java class or from a WSDL. 

 

CXF frontends internally use the service model to create web services. For 

example, by using a simple frontend, we can create, publish, and consume 

web services through factory components such as ServerFactoryBean and 

ClientProxyFactoryBean. These factory classes internally use the service 

model of CXF.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics