Re: Samples of REST web services
Shameera Rathnayaka <[email protected]>
| Newsgroups | gmane.text.xml.axis.user |
|---|---|
| Message-ID | <CAJvLytph-e9KaJH0=mKbFB_UEOZnwUm89hQrrr=dA10NTNB9WQ@mail.gmail.com> |
Hi , FYI, Axis2 JSON support has been improved[1][2][3]. Now it can process JSON message as it is with ADB generated backend and address namespace problem too. This new feature only available in axis2 trunk. Thanks, Shameera. [1] https://issues.apache.org/jira/browse/AXIS2-5270 [2] https://issues.apache.org/jira/browse/AXIS2-5362 [3] https://issues.apache.org/jira/browse/AXIS2-5416 On Fri, Apr 12, 2013 at 4:01 PM, Martin Gainty <[email protected]> wrote: > JSON is implement with either Mapped or Badgerfish > http://axis.apache.org/axis2/java/core/docs/json_support.html > > Nota Bene: > when reconstructing your SOAP-1.1 Headers and Body be aware that > mapped discards namespace and element-names > you'll need to save both the namespace and element-name parts for each > element (in the event you need to reconstruct) > > In an enterprise situation a called web-service usually delivers SOAP > elements and SOAP body in SOAP-ENVELOPE > it is up to the caller (usually the application which is calling it) to > handle further transformations to either HTML, PDF or JSON > > Consult with your architect beforehand.. > > Martin Gainty > ______________________________________________ > Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité > > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte > Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht > dient lediglich dem Austausch von Informationen und entfaltet keine > rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von > E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > > Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > > > > > ------------------------------ > From: [email protected] > To: [email protected] > > Subject: RE: Samples of REST web services > Date: Fri, 12 Apr 2013 09:39:41 +0000 > > > Thank you. I can see web services. > But I have other newbie questions about this tutorial. > 1, How to send soap or xml message to this web services? > 2, How to get json format results after using REST? > > ------------------------------ > Date: Thu, 11 Apr 2013 05:23:44 -0700 > From: [email protected] > Subject: Re: Samples of REST web services > To: [email protected] > > of course :) > > ------------------------------ > *From:* lv <[email protected]> > *To:* "[email protected]" <[email protected]> > *Sent:* Thursday, April 11, 2013 3:12 PM > *Subject:* RE: Samples of REST web services > > Thank you. Can I do this tutorial in MyEclipse? > > ------------------------------ > Date: Thu, 11 Apr 2013 03:05:49 -0700 > From: [email protected] > Subject: Re: Samples of REST web services > To: [email protected] > > I hope this tutorial will help you for creating axis 2 web services in > Eclipse. > > > > http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html > > ------------------------------ > *From:* lv <[email protected]> > *To:* "[email protected]" <[email protected]> > *Sent:* Thursday, April 11, 2013 11:59 AM > *Subject:* Samples of REST web services > > I am new to AXIS2 and just installed it. > Can anyone give me some examples of the following: > 1, how to create REST web services ? > 2, how to create web services (soap)? > > Thanks a lot! > > > > > -- Best Regards, Shameera Rathnayaka. Blog : http://shameerarathnayaka.blogspot.com/