axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Suriarachchi" <amilasuriarach...@gmail.com>
Subject Re: Newbie
Date Mon, 28 Jul 2008 04:26:17 GMT
On Mon, Jul 7, 2008 at 7:59 PM, pierre posset <p_posset@hotmail.com> wrote:

>  Hello,
>
>    I need to translate this XML in a java classe:
>
> <soap:Envelope>
>     <soap:Header>
>         <wsse:Security SOAP-ENV:mustUnderstand="1">
>           <wsse:UsernameToken xsi:type="wsse:UsernameTokenType">
>             <wsse:Username>username</wsse:Username>
>             <wsse:Password
> Type="wsse:PasswordText">password</wsse:Password>
>           </wsse:UsernameToken>
>         </wsse:Security>
>     </soap:Header>
>     <soap:Body>
>         <CreateAdvertiser xmlns="http://server/service">
>             <xmlAdv>
>                 <Name>Advertiser Name</Name>
>                 <Address>Advertiser Address</Address>
>             </xmlAdv>
>         </CreateAdvertiser>
>     </soap:Body>
> </soap:Envelope>
>
> and I don't find a document which explain me how to do.
>
> I have tried to use AXIOM but of course it doesn't work because I don't
> really know what I am doing.
>


I think you need to go for either a code first (POJO) or contract first
(start with a wsdl) approach which  automatically do you the databinding.

Please see the Quick start guide
http://ws.apache.org/axis2/1_4/quickstartguide.html#clientadb

thanks,
Amila.

>
>
> I really need help.
>
> Thank you very much.
>
> Best Regards.
>
> ------------------------------
> Discutez gratuitement avec vos amis en vidéo ! Téléchargez Messenger,
> c'est gratuit ! <http://www.windowslive.fr/majmessenger.asp>
>



-- 
Amila Suriarachchi,
WSO2 Inc.

Mime
View raw message