Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [3.0.0]

- Remove the Temperature Converter webservice

## [2.0.0]

- Move to GitHub Pages
Expand Down Expand Up @@ -125,4 +129,3 @@
- Example Node.js client with SOAP library
- Python client with Zeep
- SoapUI project and gifanim

2 changes: 2 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ url: "https://www.learnwebservices.com"
# URL of the backend server
api_url: "https://apps.learnwebservices.com"

site_version: "3.0.0"

# Build settings
markdown: kramdown

Expand Down
2 changes: 1 addition & 1 deletion docs/_includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Merriweather:400,300,300italic,400italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'>

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="{{site.url}}/assets/css/syntax.css">
<link rel="stylesheet" href="{{site.url}}/assets/css/learnwebservices.css">
<link rel="stylesheet" href="{{site.url}}/assets/css/lightbox.min.css">
Expand Down
51 changes: 25 additions & 26 deletions docs/_includes/hu/nav.html
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
<nav class="navbar navbar-expand-lg navbar-light container">
<a href="/" class="navbar-brand">Learn web services</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="#bevezetes">Bevezetés</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#reszletek">Részletek</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#tovabbi-webszolgaltatasok">Webszolgáltatások</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#szerver-alkalmazas">Szerver</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#kliens-implementaciok">Kliensek</a>
</li>
<li class="nav-item">
<a class="nav-link github-icon" href="https://github.com/vicziani/learnwebservices" title="Source code on GitHub"><i class="fab fa-github"></i></a>
</li>
</ul>
</div>
<a href="/" class="navbar-brand">Learn web services</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="#bevezetes">Bevezetés</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#reszletek">Részletek</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#szerver-alkalmazas">Szerver</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#kliens-implementaciok">Kliensek</a>
</li>
<li class="nav-item">
<a class="nav-link github-icon" href="https://github.com/vicziani/learnwebservices"
title="Source code on GitHub"><i class="fab fa-github"></i></a>
</li>
</ul>
</div>
</nav>
53 changes: 26 additions & 27 deletions docs/_includes/nav.html
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
<nav class="navbar navbar-expand-lg navbar-light container">
<a href="/" class="navbar-brand">Learn web services</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="#introduction">Intro</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#details">Details</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#other-services">Services</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#server-application">Server</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#client-implementations">Clients</a>
</li>
<li class="nav-item">
<a class="nav-link github-icon" href="https://github.com/vicziani/learnwebservices" title="Source code on GitHub"><i class="fab fa-github"></i></a>
</li>
</ul>
</div>
</nav>
<a href="/" class="navbar-brand">Learn web services</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="#introduction">Intro</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#details">Details</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#server-application">Server</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#client-implementations">Clients</a>
</li>
<li class="nav-item">
<a class="nav-link github-icon" href="https://github.com/vicziani/learnwebservices"
title="Source code on GitHub"><i class="fab fa-github"></i></a>
</li>
</ul>
</div>
</nav>
16 changes: 4 additions & 12 deletions docs/_includes/scripts.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
<script src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>

<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/clipboard.min.js"></script>

<script>
$(".btn-copy").tooltip({trigger: "manual"});
Expand All @@ -17,12 +11,10 @@
});
</script>

<script src="{{site.url}}/assets/js/anchorify.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/anchor-js/anchor.min.js"></script>

<script>
$(function () {
$("main").anchorify();
});
anchors.add("main h1, h2");
</script>

<script src="{{site.url}}/assets/js/lightbox.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/_layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="hu">
<html lang="en">

{% include head.html
description="Free, public SOAP web services example."
Expand Down
2 changes: 0 additions & 2 deletions docs/index-curl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ If you want a simple, online web service, here are some WSDL:

http://www.learnwebservices.com/services/hello?WSDL

http://www.learnwebservices.com/services/tempconverter?wsdl

Use the following command to call the web service with curl:

$ curl --request POST --header "Content-Type: text/xml;charset=UTF-8" \
Expand Down
87 changes: 34 additions & 53 deletions docs/index-hu.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ layout: default-hu

<div class="pt-3 text-right">
Utolsó frissítés dátuma:
<span class="text-nowrap font-weight-bold">2022. június 12.</span>
<span class="text-nowrap font-weight-bold">2025. november 21.</span>
</div>
<div class="pt-3 text-right">
<a href="https://github.com/vicziani/learnwebservices/blob/master/CHANGELOG.md">
Verzió
<span class="text-nowrap font-weight-bold">2.0.0</span>
<span class="text-nowrap font-weight-bold">{{site.site_version}}</span>
</a>
</div>

Expand Down Expand Up @@ -42,9 +42,8 @@ olvasható formában [itt található](wsdl-hu.html).
<div class="alert alert-danger" role="alert">
<h3 class="alert-heading">Figyelem!</h3>

A 2.0.0 verzióban a cím <code class="highlighter-rouge">http://www.learnwebservices.com/services/hello?WSDL</code> URL-ről a
<code class="highlighter-rouge">https://apps.learnwebservices.com/services/hello?WSDL</code> URL-re változott.
A WSDL és az XML struktúrája is egyszerűsítésre került, így a klienseket módosítani kell, vagy újra kell generálni.
A server alkalmazás 4.0.0 verziójában a Temperature Converter webservice eltávolításra került. Csak a Hello webservice érhető el.

</div>

## Az oldal célja {#az-oldal-celja}
Expand Down Expand Up @@ -132,28 +131,6 @@ Amennyiben hiba történik a webszolgáltatás hívása közben, pl. hibás üze
</soap:Envelope>
```

# További webszolgáltatások {#tovabbi-webszolgaltatasok}

<hr />

Celsius to Fahrenheit converter

<div class="d-flex justify-content-center mb-3">
<div class="form-row col-md-8">
<div class="input-group ">
<input type="text" value="{{site.api_url}}/services/tempconverter?wsdl" id="highlighted-wsdl-temp" class="form-control"/>
<div class="input-group-append">
<button class="btn btn-outline-primary btn-copy" type="button" data-clipboard-target="#highlighted-wsdl-temp" title="Kimásoltad">
<i class="copy-button far fa-copy"></i>
</button>
</div>
<div>
<span id="health-check-badge-converter" class="badge d-none ml-2">Ismeretlen</span>
</div>
</div>
</div>
</div>

# Szerver alkalmazás {#szerver-alkalmazas}

<hr />
Expand Down Expand Up @@ -456,22 +433,27 @@ const request = `<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soa
</soapenv:Body>
</soapenv:Envelope>`;

const fetchData = {
method: 'POST',
body: request
};

fetch(url, fetchData)
.then(function(response) {
return response.text();
})
.then(function(xml) {
const xmlDoc = new DOMParser().parseFromString(xml, "text/xml");
console.log(xmlDoc.getElementsByTagNameNS("http://learnwebservices.com/services/hello", "Message")[0].textContent);
})
.catch(function(error) {
console.log("Error calling webservice: " + error);
});
const fetchData = {
method: "POST",
body: request,
};

fetch(url, fetchData)
.then(function (response) {
return response.text();
})
.then(function (xml) {
const xmlDoc = new DOMParser().parseFromString(xml, "text/xml");
console.log(
xmlDoc.getElementsByTagNameNS(
"http://learnwebservices.com/services/hello",
"Message"
)[0].textContent
);
})
.catch(function (error) {
console.log("Error calling webservice: " + error);
});
```

Az alábbi űrlapon a gombra kattintva megtörténik a webszolgáltatás hívás.
Expand Down Expand Up @@ -504,11 +486,11 @@ Használható a [SOAP](https://github.com/vpulim/node-soap#readme) projekt.
```javascript
const soap = require("soap");
const url = "https://apps.learnwebservices.com/services/hello?wsdl";
const args = {Name: "John Doe"};
soap.createClient(url, function(err, client) {
client.SayHello(args, function(err, result) {
console.log(result.Message);
});
const args = { Name: "John Doe" };
soap.createClient(url, function (err, client) {
client.SayHello(args, function (err, result) {
console.log(result.Message);
});
});
```

Expand Down Expand Up @@ -576,10 +558,9 @@ echo $client
</div>
</div>


## Közreműködők {#kozremukodok}

* Kuti Rita
* Mauro Chojrin ([mchojrin](https://github.com/mchojrin))
* Rácz János ([rczjns](https://github.com/rczjns))
* Vörös Bea ([beavoros](https://github.com/beavoros))
- Kuti Rita
- Mauro Chojrin ([mchojrin](https://github.com/mchojrin))
- Rácz János ([rczjns](https://github.com/rczjns))
- Vörös Bea ([beavoros](https://github.com/beavoros))
Loading