The wdsl commandline utility will write to the console device as results are heard from the remote end if you don't tell it to create your proxy, that way you get similar results like you are getting from SOAPui. Your biggest problem of course is you are dealing with a java service with no clues. Is there no one else using this service you could consult with? I know the developer is out, but are you the only user?
John Warner > -----Original Message----- > From: Discussion of advanced .NET topics. [mailto:ADVANCED- > [EMAIL PROTECTED] On Behalf Of Eddie Lascu > Sent: Monday, July 14, 2008 6:01 PM > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > Subject: Re: [ADVANCED-DOTNET] Web Service generates "Unable to > connect to the remote server" exception > > Hi John, > > I am not sure I understand what you are saying. Basically, at this time, I > am working on two fronts in parallel. One is to try to use the soapUI and > get a response back. That will prove that the web service is running and > there is no error returned by it when I invoke one of its web methods. The > second front I trying to make progress is to do the same thing from my > Visual Studio project. In both cases I am using a wireless connection to the > Internet that bypasses the proxy server, so this should not be an issue. > > With soapUI I am somehow more advanced in that I have introduced the user > name and the password for the request. The response that I get back seems to > be generated by the server. If you are curios, here is the output of the > HTTP log window in soapUI: > > > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> "POST / HTTP/1.1[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> "Content-Type: > text/xml;charset=UTF-8[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> "SOAPAction: ""[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> "User-Agent: Jakarta > Commons-HttpClient/3.0.1[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> "Host: > dap3.dot.ca.gov:18080[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> "Content-Length: 934[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> "[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> "<soapenv:Envelope > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:atie="http://www.ATIE-00-00-01">[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " <soapenv:Header/>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " <soapenv:Body>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " > <atie:rMSResponseData>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " <rmsMessage>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " <rmsStatus>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " > <device-id>?</device-id>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " > <meter-status>?</meter-status>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " > <last-update>?</last-update>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " </rmsStatus>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " > <assocLDSid>?</assocLDSid>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " > <organization-owning>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " > <organization-id>?</organization-id>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " > <organization-name>?</organization-name>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " > </organization-owning>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " <rms-location>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " > <latitude>?</latitude>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " > <longitude>?</longitude>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " </rms-location>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " > <station-status>?</station-status>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " > <meter-rate>?</meter-rate>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " </rmsMessage>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " > </atie:rMSResponseData>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> " </soapenv:Body>[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:>> "</soapenv:Envelope>" > > Mon Jul 14 17:52:52 EDT 2008:DEBUG:<< "HTTP/1.1 500 Internal Server > Error[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:<< "Server: gSOAP/2.7[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:<< "Content-Type: text/xml; > charset=utf-8[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:<< "Content-Length: 762[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:<< "Connection: close[\r][\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:<< "<?xml version="1.0" > encoding="UTF-8"?>[\n]" > Mon Jul 14 17:52:52 EDT 2008:DEBUG:<< "<SOAP-ENV:Envelope > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:tmdd="http://www.TMDD-Partial-02-00-01" > xmlns:ATMS="http://center-services/atieSoapHttpServiceBinding" > xmlns:ATIE="http://www.ATIE-00-00-01" > xmlns:ClientDummy="http://center- > services/clientSoapHttpServiceBinding"><SOA > P-ENV:Header></SOAP-ENV:Header><SOAP-ENV:Body><SOAP- > ENV:Fault><faultcode>SOA > P-ENV:Client</faultcode><faultstring>Validation constraint violation: data > type mismatch in element > <meter-status></faultstring></SOAP-ENV:Fault></SOAP- > ENV:Body></SOAP-EN > V:Envelope>" > > The server generates an internal error and closes the connection. The fault > string that comes back is misleading, since it says something about a > validation constraint violation. I think it's a problem with the server > closing the connection right after receiving the request. > > Any suggestions? > > Regards, > Eddie > > > -----Original Message----- > From: Discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] Behalf Of John > Warner > Sent: Monday, July 14, 2008 3:46 PM > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > Subject: Re: [ADVANCED-DOTNET] Web Service generates "Unable to > connect > to the remote server" exception > Importance: Low > > > Have you actually just seen if the wsdl tool will connect, you can do > everything but write the file and see what return set you get from the > remote site. Your proxy may still not be right. > > John Warner > =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com