Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
WADL support for UltraESB
http://localhost:8280/servic
e/rest-proxy.wadl
http://localhost:9000/rest-
services/application.wadl
.wadl.wadl
WADL Document Structure
.wadl at web service side
<application xmlns="http://wadl.dev.java.net/2009/02">
<doc xmlns:jersey="http://jersey.java.net...
.wadl returned to the client
<?xml version="1.0" encoding="UTF-8"?><application
xmlns="http://wadl.dev.java.net/2009/02">
...
<rest-proxy>
< <u:property value=.wadl file
location >
<u:inDestination>
<u:address
type="prefix">http://localhost:900
0/r...
Upcoming SlideShare
Loading in …5
×

WADL support for ultraESB

1,074 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

WADL support for ultraESB

  1. 1. WADL support for UltraESB
  2. 2. http://localhost:8280/servic e/rest-proxy.wadl http://localhost:9000/rest- services/application.wadl .wadl.wadl
  3. 3. WADL Document Structure
  4. 4. .wadl at web service side <application xmlns="http://wadl.dev.java.net/2009/02"> <doc xmlns:jersey="http://jersey.java.net/" jersey:generatedBy="Jersey: 1.12 02/15/2012 05:30 PM"/> <grammars/> <resources base="http://localhost:9000/rest-services"> <resource path="/download"> <method id="downloadFile" name="GET"> … <resource path="/customers"> <method id="createCustomer" name="POST"> … </method> </resource> </resource> </resources> </application>
  5. 5. .wadl returned to the client <?xml version="1.0" encoding="UTF-8"?><application xmlns="http://wadl.dev.java.net/2009/02"> <doc xmlns:jersey="http://jersey.java.net/" jersey:generatedBy="Jersey: 1.12 02/15/2012 05:30 PM"/> <grammars/> <resources base="http://localhost:8280/service/rest-proxy"> <resource path="/download"> <method id="downloadFile" name="GET"> … <resource path="/customers"> <method id="createCustomer" name="POST"> … </method> </resource> </resource> </resources> </application> resourcePrefix + servicePath
  6. 6. <rest-proxy> < <u:property value=.wadl file location > <u:inDestination> <u:address type="prefix">http://localhost:900 0/rest-services </u:address> 2 .Filte uri= http://.../rest-proxy.wadl 4. switchBaseLocation() ServiceResourceRequestFilter Service(:9000) 1. Request for .wadl http://localhost:8280/servic e/rest-proxy.wadl 3. Read .wadl document 5. Return .wadl as a string

×