Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Bloco de código
languagexml
titleWADL para serviço de CRUD
firstline1
linenumberstrue
<application xmlns="http://wadl.dev.java.net/2009/02">
	<grammars>
		<include href="application.wadl/xsd0.xsd">
			<doc title="Generated" xml:lang="en"/>

		</include>



	</grammars>


	<resources base="http://jvd0000506:8080/datasul-rest/resources/dbo/">
		<resource path="/adbo/boad107na">...</resource>


<resource path="/mnbo/bomn088">...</resource>


<resource path="/dibo/bodi00706">...</resource>


<resource path="/unbo/boun007na">...</resource>


<resource path="/adbo/boad176na">
			<method id="getAll" name="GET">
				<request>
					<param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="start" style="query" type="xs:int" default="0"/>
					<param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="limit" style="query" type="xs:int" default="10"/>

				</request>


				<response>
					<ns2:representation xmlns:ns2="http://wadl.dev.java.net/2009/02" xmlns="" element="Return" mediaType="application/json"/>

				</response>



			</method>


			<method id="create" name="POST">
				<request>
					<ns2:representation xmlns:ns2="http://wadl.dev.java.net/2009/02" xmlns="" element="RowObject_ad176naVO" mediaType="application/json"/>

				</request>


				<response>
					<ns2:representation xmlns:ns2="http://wadl.dev.java.net/2009/02" xmlns="" element="Return" mediaType="application/json"/>

				</response>



			</method>


			<resource path="{pcod-mensagem}">
				<param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="pcod-mensagem" style="template" type="xs:string"/>
				<method id="delete" name="DELETE">
					<response>
						<ns2:representation xmlns:ns2="http://wadl.dev.java.net/2009/02" xmlns="" element="Return" mediaType="application/json"/>

					</response>



				</method>


				<method id="get" name="GET">
					<response>
						<ns2:representation xmlns:ns2="http://wadl.dev.java.net/2009/02" xmlns="" element="Return" mediaType="application/json"/>

					</response>



				</method>


				<method id="update" name="PUT">
					<request>
						<ns2:representation xmlns:ns2="http://wadl.dev.java.net/2009/02" xmlns="" element="RowObject_ad176naVO" mediaType="application/json"/>

					</request>


					<response>
						<ns2:representation xmlns:ns2="http://wadl.dev.java.net/2009/02" xmlns="" element="Return" mediaType="application/json"/>

					</response>



				</method>



			</resource>



		</resource>



	</resources>



</application>