Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dannyhvalenz/Hotel-WS

Servicio Web para un Sistema Hotelero
https://github.com/dannyhvalenz/Hotel-WS

api java service web web-service xml xml-schema

Last synced: about 2 months ago
JSON representation

Servicio Web para un Sistema Hotelero

Awesome Lists containing this project

README

        

# Hotel
## Descripción
Sistema web de un hotel

[Link del Servidor SOAP](http://54.162.225.248:8080/hotel.wsdl)

[Link del servidor REST](https://rest-hotel.herokuapp.com/habitaciones)

[Link del Cliente](http://54.162.225.248/web/Hotel/reservaciones.html)

## Documentación

[Documenteacion del servidor SOAP](https://github.com/dannyhvalenz/Hotel-WS/tree/master/DOCS)

[Documentacion del servidor REST](https://documenter.getpostman.com/view/11546995/T17Aiq8h)

## Instalación

### Cliente

La carpeta `CLIENT` debe agregarse a la carpeta de tu servidor.

### SOAP

La carpeta `SOAP` se puede abrir desde eclipse. No es necesario cambiar la ubicación de esta carpeta.

### REST

En el caso de REST, es necesario seguir estos pasos para que el sistema funciones de la forma correcta

1. Debes instalar [NodeJS](https://nodejs.org/es/download/) en tu computadora

2. Una vez instalado, abre una terminal desde la carpeta REST del proyecto

```
cd /ruta/de/la/carpeta/rest
```

3. Ya teniendo la terminal desde la carpeta REST ejecuta el siguiente comando

```
npm install
```

Esto instalará todas las dependencias que necesita el proyecto para funcionar correctamente

4. Por último, ejecuta este comando para que puedas empezar a utilizar este servicio REST

```
node server.js
```

## Dependencias

MySQL

```xml

mysql
mysql-connector-java
5.1.48

```

WSDL4J

```xml

wsdl4j
wsdl4j

```

SpringBoot dependencies

```xml

org.springframework.boot
spring-boot-starter-web

org.springframework.boot
spring-boot-starter-web-services

org.springframework.boot
spring-boot-devtools
runtime
true

org.springframework.boot
spring-boot-starter-test
test


org.junit.vintage
junit-vintage-engine

```

NodeJS