Hi Tero,

Are you doing interface first development? In that case, you have to configure 
Aegis with mapping files, or use a different binding, e.g. JAXB 2.0: 
http://xfire.codehaus.org/JAXB+2.0

 -Øyvind

-----Opprinnelig melding-----
Fra: Tero Kivisaari [mailto:[EMAIL PROTECTED]
Sendt: on 28.03.2007 14:48
Til: [email protected]
Emne: [xfire-user] How to use Aegis to understand an incoming request
 
Could some one show me an simple example of using the Aegis binding.
First here is an example of what my services expects, and below that
is what my client sends.

This is what my server understands:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<soap:Body>
   <userInfo xmlns="http://tempuri.org";>
      <in0>
         <fileType xmlns="http://model.tempuri.org";></fileType>
         <fileSet xmlns="http://model.tempuri.org";></fileSet>
      </in0>
   </userInfo>
 </soap:Body>
</soap:Envelope>

But this is what my client sends:
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:cor="http://tempuri.org/FileService";
xmlns:mod="http://model.tempuri.org/";>
 <soapenv:Header/>
 <soapenv:Body>
   <cor:userInfoRequestElement>
      <mod:fileSet>?</mod:fileSet>
      <mod:fileType>?</mod:fileType>
   </cor:userInfoRequestElement>
 </soapenv:Body>
</soapenv:Envelope>

Is it possible to use aegis to bind that request from the client to this method:
        public UserInfoResponse userInfo(UserInfoRequest parameters)
throws MyFault;

If someone could give me an example I would be very happy.

Cheers,
Tero

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


<<winmail.dat>>

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to