There's a soap client here running in perl using SOAP::Lite that doesn't need any bureaucracy.
Now i can send a post that the server successfully answers. But I cannot deserialize it. The answer the server sends is a list of Person objects (in xml, of course).
What't the problem in deserializing it? is the an not-bureaucratic java class I can use to deserialize it? would I ever need a DTD or WSDL available? (in perl i don't need nothing of these...)
thank you,
bruno
On 7/6/06, robert lazarski <[EMAIL PROTECTED]> wrote:
You can use jmeter to send this exact message, and then you'll have a response.
How to do that programatically is a much bigger question. Do you have a wsdl ?
HTH,
Robert
http://www.braziloutsource.com/
On 7/5/06, Bruno Negrao <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> I'm new to SOAP and I need (quickly) to access a SOAP server. I need to use
> the axis classes to create a SOAP post just like this one bellow and I dont
> know how to do it:
>
> POST /pfappspabxutils HTTP/1.1
> TE: deflate,gzip;q=0.3
> Connection: TE, close
> Accept: text/xml
> Accept: multipart/*
> Accept: application/soap
> Host: pfdesenv.planetarium.com.br:8080
> User-Agent: SOAP::Lite/Perl/0.67
> Content-Length: 1116
> Content-Type: text/xml; charset=utf-8
> SOAPAction: "
> http://172.16.10.103:8080/AgendaPesquisa#AgendaPesquisa "
>
> <?xml version="1.0" encoding="UTF-8"?>
> <soap:Envelope
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance "
> xmlns:soapenc=" http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema "
> soap:encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:soap=" http://schemas.xmlsoap.org/soap/envelope/">
> <soap:Body>
> <AgendaPesquisa xmlns="
> http://172.16.10.103:8080/AgendaPesquisa ">
> <tipo>C</tipo>
> <dono xsi:nil="true" />
> <posicao xsi:nil="true" />
> <nome xsi:nil="true" />
> <ramal xsi:nil="true" />
> <tel_comercial_ddi xsi:nil="true" />
> <tel_comercial_ddd xsi:nil="true" />
> <tel_comercial xsi:nil="true" />
> <tel_residencial_ddi xsi:nil="true" />
> <tel_residencial_ddd xsi:nil="true" />
> <tel_residencial xsi:nil="true" />
> <tel_celular_ddi xsi:nil="true" />
> <tel_celular_ddd xsi:nil="true" />
> <tel_celular xsi:nil="true" />
> <empresa xsi:nil="true" />
> <cargo xsi:nil="true" />
> <setor xsi:nil="true" />
> <endereco xsi:nil="true" />
> <bairro xsi:nil="true" />
> <cidade xsi:nil="true" />
> <estado xsi:nil="true" />
> <pais xsi:nil="true" />
> <cep xsi:nil="true" />
> <email xsi:nil="true" />
> </AgendaPesquisa>
> </soap:Body>
> </soap:Envelope>
>
> Can someone just write a sample code of how to do this and send to me?
>
> Thank you very much,
> bruno
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
