<s>
JSON-WSP	B-General_Concept
is	O
a	O
web	O
service	O
protocol	O
that	O
uses	O
JSON	B-General_Concept
for	O
service	O
description	O
,	O
requests	O
and	O
responses	O
.	O
</s>
<s>
It	O
is	O
inspired	O
from	O
JSON-RPC	B-General_Concept
,	O
but	O
the	O
lack	O
of	O
a	O
service	O
description	O
specification	O
with	O
documentation	O
in	O
JSON-RPC	B-General_Concept
sparked	O
the	O
design	O
of	O
JSON-WSP	B-General_Concept
.	O
</s>
<s>
The	O
description	O
format	O
has	O
the	O
same	O
purpose	O
for	O
JSON-WSP	B-General_Concept
as	O
WSDL	O
has	O
for	O
SOAP	B-Application
or	O
IDL	B-General_Concept
for	O
CORBA	B-Architecture
,	O
which	O
is	O
to	O
describe	O
the	O
types	O
and	O
methods	O
used	O
in	O
a	O
given	O
service	O
.	O
</s>
<s>
Communication	O
between	O
clients	O
and	O
a	O
JSON-WSP	B-General_Concept
server	O
is	O
carried	O
out	O
using	O
HTTP	B-Protocol
POST	I-Protocol
requests	I-Protocol
and	O
responses	O
,	O
with	O
the	O
JSON	B-General_Concept
objects	O
as	O
data	O
with	O
the	O
content-type	O
application/json	O
.	O
</s>
<s>
JSON-WSP	B-General_Concept
consists	O
of	O
four	O
JSON	B-General_Concept
object	O
specifications	O
:	O
</s>
<s>
It	O
also	O
supports	O
user	O
documentation	O
on	O
service	O
,	O
method	O
and	O
parameter	O
levels.requestSpecification	O
for	O
JSON	B-General_Concept
requests	O
.	O
</s>
<s>
Arguments	O
in	O
the	O
request	O
must	O
obey	O
the	O
parameter	O
definition	O
of	O
the	O
same	O
method	O
described	O
in	O
the	O
corresponding	O
JSON-WSP	B-General_Concept
description.responseSpecification	O
for	O
JSON	B-General_Concept
responses	O
.	O
</s>
<s>
The	O
return	O
type	O
must	O
obey	O
the	O
defined	O
return	O
type	O
of	O
the	O
same	O
method	O
in	O
the	O
corresponding	O
JSON-WSP	B-General_Concept
description.faultSpecification	O
for	O
JSON	B-General_Concept
fault	O
responses	O
.	O
</s>
