Code:
namespace MyWebApp { /// <summary> /// Summary description for FirstSharePointWebService /// </summary> [WebService(Namespace = "MyWebApp",
namespace MyWebApp { /// <summary> /// Summary description for FirstSharePointWebService /// </summary> [WebService(Namespace = "MyWebApp",
[OperationContract] [WebInvoke(Method = "POST", UriTemplate = "/SampleService", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)] string SampleService(Person personObj);
@WebMethod(operationName = "authorize") public String [] authorize(@WebParam(name = "Username") String Username) { CAuthorization CA = new CAuthorization(); String [] Result= null; try { Result = CA.CheckAuthorization(Username); } catch (SQLException ex) { Logger.getLogger(WS_Authentication.class.getName()).log(Level.SEVERE,
<? // comienzo del script require_once('lib/nusoap.php'); $servidor = new soap_server(); $servidor->configureWSDL("Articuloswsdl","urn:Articuloswsdl"); $servidor->register("usuarios", array('val' => 'xsd:string'