You do not need a WSDL, but in situations like these it is helpful because seemingly your only reference how to make the call is in perl . Now if you're familair with how the perl code is doing things, that'll help.
First advice: use axis2 . At least in my case you're more likely to get help. Those deserializing errors don't happen in axis2 - or at least are rare. Looking at your the envelope, it's in português. Vou tentar ajudar! Download the axis2-std-SNAPSHOT-src.zip and axis2-std-SNAPSHOT-bin.zip from the nightlies here: http://people.apache.org/dist/axis2/nightly/ Now you don't need a server, just a client. In the source dir, follow this example , ignoring the server as you just want to the client - try testEchoBean() . modules/integration/test/org/apache/axis2/rpc/RPCCallTest.java For debugging, you're going to need something like tcpmon to see what you are sending in case you get errors. HTH, Robert http://www.braziloutsource.com/ On 7/6/06, Bruno Negrao <[EMAIL PROTECTED]> wrote:
I don't have it. Would I need it? the server is not java. 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
