sca中的interface.wsdl和binding.ws

1、interface.wsdl的用法:

interface.wsdl元素有如下属性:

interface - portType|interface 如下格式的URI地址 

#wsdl.interface()

对于WSDL 1.1,interface属性指向WSDL中的某个portType。

对于WSDL 2.0 ,interface属性指向WSDL里的某个interface

 

2、interface.java元素有如下属性:

interface -Java interface的全限定名(qualified name)

该文件的根目录是由Interface所在的contribution定义的

 

example:

 


	
	
	
		
	
	
	
	
	
		
	
	
	
	
		
	
	
	
	
 

 

3、binding.ws中的wsdlElement的用法:

The wsdlElement attribute indicates that a WSDL document exists

which should be used and it points to the element within that WSDL

to use. The value of the wsdlElement attribute can have one of the

following four forms: 

1)Service:

#wsdl.service() In this case, all

the endpoints in the WSDL Service that have equivalent PortTypes

with the SCA service or reference must be available to the SCA

service or reference. 

2)Port 

(WSDL 1.1):

#wsdl.port(/) In this

case, the identified port in the WSDL 1.1 Service must have an

equivalent PortType with the SCA service or reference. 

3)Endpoint (WSDL 2.0):

#wsdl.endpoint(/)

In this case, the identified endpoint in the WSDL 2.0 Service must

have an equivalent PortType with the SCA service or reference.

4)Binding:

#wsdl.binding() In this

case, the identified WSDL binding must have an equivalent PortType

with the SCA service or reference. In this case the endpoint address

URI for the SCA service or reference must be provided via the URI

attribute on the binding.

 

example:

 



	
	
		
		
		
			
			
		
		
	
 

 

 

你可能感兴趣的:(SCA,Java,XML)