users@saaj.java.net

Obtaining the response code after a call.

From: Matt Swensson <matman2k1_at_yahoo.com>
Date: Tue, 5 Apr 2005 17:44:39 -0700 (PDT)

I am wondering if there is a way to get the response code (200/500)
from making this call:

SOAPConnectionFactory scf = null;
scf = SOAPConnectionFactory.newInstance();
con = scf.createConnection();
SOAPMessage m = con.call(message, urlEndpoint);

where message is a soap message i created and the urlEndpoint is a
valid url endpoint.

I want to be able to get back the response code, but I am unsure how to
do this or if it is possible at all.

Thanks,
Matt



                
__________________________________
Do you Yahoo!?
Yahoo! Personals - Better first dates. More second dates.
http://personals.yahoo.com