11.07.2015 Views

Anyframe CXF JAX-WS Plugin

Anyframe CXF JAX-WS Plugin

Anyframe CXF JAX-WS Plugin

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>JAX</strong>-<strong>WS</strong> FrontendProperty Name Type Required <strong>WS</strong>DLMappingDefaultDescriptionbe consistentwith valuesdeveloped inserviceimplementationclass.endpointInterface String X N/A Class nameincluding SEIpackagename,implementationclassclass name +"Port"portName String X wsdl:port Implementation• Method rules in class where @WebService annotation setting is applied.class name +"Port"Cannot setin SEI, SEIname ofimplementationCannot set inSEI. Mappedas wsdl:port.Default valueisimplementationclass name +"Port"• When @WebService annotation of implementation class refers to SEI, there must be no@WebMethod annotation in implementation class.• All common methods of SEI are considered methods exposed to Web Service regardless of@WebMethod annotation setting.• In case of implementation class not referring to SEI, method is not exposed to Web Service when@WebMethod annotation is defined as exclude=true value.4.6.2.@WebParam (javax.jws.WebParam)Sets mapping between Java method input parameter of Web Service and XML element showingparameter in <strong>WS</strong>DL file. Details on property is as shown in the following table.Property Type Required Descriptionname String X Web Service that has a parameter name is RPC style is mapped aswsdl:part. Web Service of Document style becomes the local name ofXML element showing parameter. Default value is parameter name ofmethod.targetNamespace String X Used only in document style Web Service where XML namespaceof parameter is matched with XML element. Default value istargetNamespace of Web Service.mode Enum X As a direction where parameter is transferred, select one among IN,OUT or INOUT. Default value is IN.header Boolean X If defined as true, parameter will be fetched from SOAP messageheader, not from SOAP message body. Default value is false.26

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!