The code in the src distro explains this:

modules/integration/test/org/apache/axis2/rpc/RPCCallTest.java

From  testechoMail() ,

OMElement response = sender.invokeBlocking(operationName, args.toArray());

Mail resBean = (Mail) BeanUtil.deserialize(Mail.class,
response.getFirstElement());

HTH,
Robert
http://www.braziloutsource.com/

On 7/6/06, Bruno Negrao <[EMAIL PROTECTED]> wrote:
Guys,

I don't know how to deserialize the soap message bellow that my soap
server is sending. it is not java server and I dont have the WSDL. The
method I called
was "AgendaPesquisa". It's a method to search in a contacts catalog
for a contact(a person) with some characterisctic. The server then
returns a list of contacts that matched the search. The contact
objects are contained inside the <ListaContatosPesquisa> ...
</ListaContatosPesquisa> tags.
thank you for any help.

HTTP/1.0 200 OK
Content-length: 1750

<?xml version="1.0"?>
   <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
      <soap:Body>
         <AgendaPesquisa>
            <status>0</status>
            <ListaContatosPesquisa>
               <tipo>C</tipo>
               <dono>1920</dono>
               <posicao>1</posicao>
               <nome>Eu</nome>
               <ramal>1900</ramal>
               <tel_comercial_ddi></tel_comercial_ddi>
               <tel_comercial_ddd></tel_comercial_ddd>
               <tel_comercial></tel_comercial>
               <tel_residencial_ddi></tel_residencial_ddi>
               <tel_residencial_ddd></tel_residencial_ddd>
               <tel_residencial></tel_residencial>
               <tel_celular_ddi></tel_celular_ddi>
               <tel_celular_ddd></tel_celular_ddd>
               <tel_celular></tel_celular>
               <empresa></empresa>
               <cargo></cargo>
               <setor></setor>
               <endereco></endereco>
               <bairro></bairro>
               <cidade></cidade>
               <estado></estado>
               <pais></pais>
               <cep></cep>
               <email></email>
            </ListaContatosPesquisa>
            <ListaContatosPesquisa>
               <tipo>C</tipo>
               <dono>1931</dono>
               <posicao>1</posicao>
               <nome>Bla2</nome>
               <ramal></ramal>
               <tel_comercial_ddi></tel_comercial_ddi>
               <tel_comercial_ddd></tel_comercial_ddd>
               <tel_comercial></tel_comercial>
               <tel_residencial_ddi></tel_residencial_ddi>
               <tel_residencial_ddd></tel_residencial_ddd>
               <tel_residencial></tel_residencial>
               <tel_celular_ddi></tel_celular_ddi>
               <tel_celular_ddd></tel_celular_ddd>
               <tel_celular></tel_celular>
               <empresa></empresa>
               <cargo></cargo>
               <setor></setor>
               <endereco></endereco>
               <bairro></bairro>
               <cidade></cidade>
               <estado></estado>
               <pais></pais>
               <cep></cep>
               <email></email>
            </ListaContatosPesquisa>
         </AgendaPesquisa>
      </soap:Body>
   </soap:Envelope>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to