axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pierre betz" <pieb...@gmail.com>
Subject formatting the soap response ?
Date Wed, 13 Aug 2008 07:24:30 GMT
Hi everybody, I have a little .. important question :

here is the response i retrieve when I call my web service :

<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
 <soapenv:Body>
  <ns3:SearchVslUserResponse xmlns:ns3="http:/localhost/User/operations/">
   <VslUserList xmlns:ns2="http:/localhost/schema/VSLUserTypes" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:VslUserListType">

    <VslUser xsi:type="ns2:VslUserType">
     <UserId>PERSONNE____________0000000774</UserId>
    </VslUser>

   </VslUserList>
  </ns3:SearchVslUserResponse>
 </soapenv:Body>
</soapenv:Envelope>

As you can see, the field <VslUser> as the xsi:type="ns2:VslUserType" in the
braket...

My question, really simply, is : how can I have just the response like taht
: without the xsi:type everywhere ?

<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
 <soapenv:Body>
  <ns3:SearchVslUserResponse xmlns:ns3="http:/localhost/User/operations/">
   <VslUserList>

    <VslUser>
     <UserId>PERSONNE____________0000000774</UserId>
    </VslUser>

   </VslUserList>
  </ns3:SearchVslUserResponse>
 </soapenv:Body>


? any ideas ?

Mime
View raw message