1 17 package org.apache.servicemix.samples.wsdl_first; 18 19 import javax.jws.WebMethod; 20 import javax.jws.WebParam; 21 import javax.jws.WebResult; 22 import javax.jws.WebService; 23 import javax.jws.soap.SOAPBinding; 24 import org.apache.servicemix.samples.wsdl_first.types.GetPersonResponse; 25 26 @WebService(name = "Person", targetNamespace = "http://servicemix.apache.org/samples/wsdl-first") 27 @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.BARE) 28 public interface Person { 29 30 31 @WebMethod(operationName = "GetPerson", action = "") 32 @WebResult(name = "GetPersonResponse", targetNamespace = "http://servicemix.apache.org/samples/wsdl-first/types") 33 public GetPersonResponse getPerson( 34 @WebParam(name = "GetPerson", targetNamespace = "http://servicemix.apache.org/samples/wsdl-first/types") 35 org.apache.servicemix.samples.wsdl_first.types.GetPerson GetPerson) 36 throws UnknownPersonFault 37 ; 38 39 } 40 | Popular Tags |