Example of fully annotated SEI
This example shows an SEI that is fully annotated.
Fully Annotated SEI
package org.apache.cxf;
import javax.jws.*;
import javax.xml.ws.*;
import javax.jws.soap.*;
import javax.jws.soap.SOAPBinding.*;
import javax.jws.WebParam.*;
@WebService(name="quoteReporter")
@SOAPBinding(style=Style.RPC, use=Use.LITERAL)
public interface QuoteReporter {
@WebMethod(operationName="getStockQuote")
@RequestWrapper(targetNamespace="http://demo.mycompany.com/types",
className="java.lang.String")
@ResponseWrapper(targetNamespace="http://demo.mycompany.com/types",
className="org.eric.demo.Quote")
@WebResult(targetNamespace="http://demo.mycompany.com/types",
name="updatedQuote")
public Quote getQuote(
@WebParam(targetNamespace="http://demo.mycompany.com/types",
name="stockTicker", mode=Mode.IN)
String ticker
);
}