Re: [ADVANCED-DOTNET] Web Service generates "Unable to connect to the remote server" exception

2008-07-14 Thread Eddie Lascu
Actually I deleated all the question marks and looked at the errors that were coming back. For each element that had an error I filled a proper value. Now I am getting another error: NoHttpResponseException - the server dap3.dot.ca.gov failed to respond. This is genereated by the soapUI tool. Arghh

Re: [ADVANCED-DOTNET] Web Service generates "Unable to connect to the remote server" exception

2008-07-14 Thread Adam Sills
That means you should put in one of the values of "off, green, red, yellow, flashing" in the element. Repeat with all other "?" values until it works. -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Eddie Lascu Sent: Monday, July 14, 20

Re: [ADVANCED-DOTNET] Web Service generates "Unable to connect to the remote server" exception

2008-07-14 Thread Eddie Lascu
The wsdl is 3kb and there are two XSD files referred. One is 17kb and one is 14kb. I can send them to you if you want. Incidentally, here is how that meter-status element is defined: // further down

Re: [ADVANCED-DOTNET] Web Service generates "Unable to connect to the remote server" exception

2008-07-14 Thread Adam Sills
It doesn't know what needs to be put in there, so it puts placeholders in there. It's your job to put in the correct values. Yes, soapUI makes the assumption that you know that you can't just send any ol' random XML to a SOAP server and assumes you'll put in appropriate values in the placeholders.

Re: [ADVANCED-DOTNET] Web Service generates "Unable to connect to the remote server" exception

2008-07-14 Thread Eddie Lascu
Well, in that case is soapUI's fault for filling in junk values where it shouldn't. I suppose it does that based on the XML schema. -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] Behalf Of Adam Sills Sent: Monday, July 14, 2008 6:34 PM To: ADVANCED-

Re: [ADVANCED-DOTNET] Web Service generates "Unable to connect to the remote server" exception

2008-07-14 Thread Adam Sills
Oh and furthermore, the SOAP fault explicitly says it's your fault in sending it junk data. SOAP-ENV:ClientValidatio n constraint violation: datatype mismatch in element Whenever you see SOAP-ENV:Client that means it was a problem with the request sent by the client. Adam..

Re: [ADVANCED-DOTNET] Web Service generates "Unable to connect to the remote server" exception

2008-07-14 Thread John Warner
You have a schema? Oh mercy we are almost in business here. How large is it? 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:32 PM > To: ADVANCED-DOTNET@DISCUSS.DEV

Re: [ADVANCED-DOTNET] Web Service generates "Unable to connect to the remote server" exception

2008-07-14 Thread Adam Sills
No, it suggests you are sending it invalid data. You need to find out what goes *IN* those elements and not just send question marks. It's going to fail every time if you keep sending it junk data. Adam.. -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTE

Re: [ADVANCED-DOTNET] Web Service generates "Unable to connect to the remote server" exception

2008-07-14 Thread Eddie Lascu
Oh, I see now. Well, the request is built by soapUI based on the WSDL file and the adjacent XSD files I was given. I do not create that request. Anyway, looking further for what this "HTTP/1.1 500 Internal Server Error" means I found the following paragraph in a document describing the default bind

Re: [ADVANCED-DOTNET] Web Service generates "Unable to connect to the remote server" exception

2008-07-14 Thread John Warner
Actually it is saying a type mismatch, but without the schema who knows what belongs there. John Warner > -Original Message- > From: Discussion of advanced .NET topics. [mailto:ADVANCED- > [EMAIL PROTECTED] On Behalf Of Adam Sills > Sent: Monday, July 14, 2008 6:19 PM > To: ADVANCED-DOTN

Re: [ADVANCED-DOTNET] Web Service generates "Unable to connect to the remote server" exception

2008-07-14 Thread John Warner
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. I

Re: [ADVANCED-DOTNET] Web Service generates "Unable to connect to the remote server" exception

2008-07-14 Thread Adam Sills
That would be on the client side. From the log of the XML you post to the server: ?[\r][\n]" Perhaps "?" is not a valid value for , which is what the error message seems to indicate. Adam.. -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf

Re: [ADVANCED-DOTNET] Web Service generates "Unable to connect to the remote server" exception

2008-07-14 Thread Eddie Lascu
Hi Adam, That would be on the server side, right? Unfortunately I do not have any control of the server side and I am told that everything is "perfect" there. Unless I can prove them otherwise, I have to continue trying to access it. Thanks, Eddie -Original Message- From: Discussion of

Re: [ADVANCED-DOTNET] Web Service generates "Unable to connect to the remote server" exception

2008-07-14 Thread Adam Sills
Have you thought perhaps that your meter-status element has an invalid value put in it? -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Eddie Lascu Sent: Monday, July 14, 2008 5:01 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [

Re: [ADVANCED-DOTNET] Web Service generates "Unable to connect to the remote server" exception

2008-07-14 Thread Eddie Lascu
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 metho

Re: [ADVANCED-DOTNET] Web Service generates "Unable to connect to the remote server" exception

2008-07-14 Thread John Warner
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 > -Original Message- > From: Discussion of advanced .NET topics. > [mailto:[EMAIL PRO

Re: [ADVANCED-DOTNET] Web Service generates "Unable to connect to the remote server" exception

2008-07-14 Thread Eddie Lascu
Hi John, I followed your suggestion and built the SOAP client using the wsdl.exe tool. I specified the user name and the password among the parameters, but I don't see them in the code of the class that was created, unlike say the access point. Needless to say, the result is identical: "Connection

Re: [ADVANCED-DOTNET] Web Service generates "Unable to connect to the remote server" exception

2008-07-14 Thread Pardee, Roy
This is unlikely, but it's an issue at my location. We've got a proxy server that requires NTLM authentication, and proxy server settings that are entirely dynamic (set in a proxy.pac script). It seems that the 2.0 framework won't execute proxy.pac to discover the server it should use. We fix that