pub_gral
Haga clic aquí para obtener una lista completa de operaciones.
wsnoticias
Prueba
El formulario de prueba sólo está disponible para solicitudes del equipo local.SOAP 1.1
A continuación se muestra un ejemplo de solicitud y respuesta para SOAP 1.1. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.
POST /servicioweb/publicos/pub_gral.asmx HTTP/1.1 Host: cvnet.cpd.ua.es Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://UASI/WS_GRAL.wsdl/wsnoticias" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <wsnoticias xmlns="http://UASI/WS_GRAL.wsdl"> <plengua>string</plengua> <pfechaini>string</pfechaini> </wsnoticias> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <wsnoticiasResponse xmlns="http://UASI/WS_GRAL.wsdl"> <wsnoticiasResult> <ClaseNoticias> <idnoticia>int</idnoticia> <titulo>string</titulo> <contenido>string</contenido> <url>string</url> <imagen>string</imagen> <fechapublicacion>dateTime</fechapublicacion> <tipo>string</tipo> <idsitio>int</idsitio> <nombresitio>string</nombresitio> </ClaseNoticias> <ClaseNoticias> <idnoticia>int</idnoticia> <titulo>string</titulo> <contenido>string</contenido> <url>string</url> <imagen>string</imagen> <fechapublicacion>dateTime</fechapublicacion> <tipo>string</tipo> <idsitio>int</idsitio> <nombresitio>string</nombresitio> </ClaseNoticias> </wsnoticiasResult> </wsnoticiasResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
A continuación se muestra un ejemplo de solicitud y respuesta para SOAP 1.2. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.
POST /servicioweb/publicos/pub_gral.asmx HTTP/1.1 Host: cvnet.cpd.ua.es Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <wsnoticias xmlns="http://UASI/WS_GRAL.wsdl"> <plengua>string</plengua> <pfechaini>string</pfechaini> </wsnoticias> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <wsnoticiasResponse xmlns="http://UASI/WS_GRAL.wsdl"> <wsnoticiasResult> <ClaseNoticias> <idnoticia>int</idnoticia> <titulo>string</titulo> <contenido>string</contenido> <url>string</url> <imagen>string</imagen> <fechapublicacion>dateTime</fechapublicacion> <tipo>string</tipo> <idsitio>int</idsitio> <nombresitio>string</nombresitio> </ClaseNoticias> <ClaseNoticias> <idnoticia>int</idnoticia> <titulo>string</titulo> <contenido>string</contenido> <url>string</url> <imagen>string</imagen> <fechapublicacion>dateTime</fechapublicacion> <tipo>string</tipo> <idsitio>int</idsitio> <nombresitio>string</nombresitio> </ClaseNoticias> </wsnoticiasResult> </wsnoticiasResponse> </soap12:Body> </soap12:Envelope>