DotNet Error - The server committed a protocol violation

I am getting error “The server committed a protocol violation.” while access the WSDL flightaware.com/commercial/direc … /wsdl1.xml.

My Config. is Visual Studion .Net 2005 with .Net 2.0 Framework.

I do have valid DirectFlight API Key.

Can you pls let me know the solution .

Thanks,
Vivek

Can you let us know what “View detail” says?

As per the view I am getting error “The server committed a protocol violation. Section=ResponseStatusLine”
The StackTrace " at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object] parameters)
at DirectFlightAccessApplication.com.flightaware.DirectFlight.GetLastTrack(String ident) in C:\Vivek\kachara\DirectFlight\DirectFlightAccessApplication\DirectFlightAccessApplication\Web References\com.flightaware\Reference.cs:line 263
at DirectFlightAccessApplication.Form1.button1_Click(Object sender, EventArgs e) in C:\Vivek\kachara\DirectFlight\DirectFlightAccessApplication\DirectFlightAccessApplication\Form1.cs:line 35" string

I am getting following NEW error while Updating/Refreshing the WSDL Reference in my projects with VS 2005 ( dotnet Framework 2.0) and VS 2003 ( dotnet Framework 1.1)

It is not able to create the Web Service Proxy 'caz of wrong schema.

The Below Error is from Visual Studio 2003

How about now?

Now also I am getting th same error above at Dotnet 2003 Command Promp when running the command : " wsdl flightaware.com/commercial/flightxml
/data/wsdl1.xml "

I have pasted the ERROR at Dotnet command prompt below,

Setting environment for using Microsoft Visual Studio .NET 2003 tools.
(If you have another version of Visual Studio or Visual C++ installed and wish
to use its tools from the command line, run vcvars32.bat for that version.)

C:\Documents and Settings\vivek>wsdl flightaware.com/commercial/flightxml
/data/wsdl1.xml
Microsoft (R) Web Services Description Language Utility
[Microsoft (R) .NET Framework, Version 1.1.4322.573]
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

Schema validation warning: Namespace ‘http://directflight.flightaware.com:8015/s
oap/DirectFlight’ is not available to be referenced in this schema.
Schema validation warning: Namespace ‘http://directflight.flightaware.com:8015/s
oap/DirectFlight’ is not available to be referenced in this schema.
Schema validation warning: Namespace ‘http://directflight.flightaware.com:8015/s
oap/DirectFlight’ is not available to be referenced in this schema.
Schema validation warning: Namespace ‘http://directflight.flightaware.com:8015/s
oap/DirectFlight’ is not available to be referenced in this schema.
Schema validation warning: Namespace ‘http://directflight.flightaware.com:8015/s
oap/DirectFlight’ is not available to be referenced in this schema.
Schema validation warning: Namespace ‘http://directflight.flightaware.com:8015/s
oap/DirectFlight’ is not available to be referenced in this schema.
Schema validation warning: Namespace ‘http://directflight.flightaware.com:8015/s
oap/DirectFlight’ is not available to be referenced in this schema.
Schema validation warning: Type ‘http://directflight.flightaware.com:8015/soap/D
irectFlight:ArrayOfScheduledFlightStruct’ is not declared.
Schema validation warning: Type ‘http://directflight.flightaware.com:8015/soap/D
irectFlight:ArrayOfInFlightAircraftStruct’ is not declared.
Schema validation warning: Type ‘http://directflight.flightaware.com:8015/soap/D
irectFlight:ArrayOfString’ is not declared.
Schema validation warning: Type ‘http://directflight.flightaware.com:8015/soap/D
irectFlight:ArrayOfFlightStruct’ is not declared.
Schema validation warning: Type ‘http://directflight.flightaware.com:8015/soap/D
irectFlight:ArrayOfDepartureFlightStruct’ is not declared.
Schema validation warning: Type ‘http://directflight.flightaware.com:8015/soap/D
irectFlight:ArrayOfArrivalFlightStruct’ is not declared.
Schema validation warning: Type ‘http://directflight.flightaware.com:8015/soap/D
irectFlight:ArrayOfEnrouteFlightStruct’ is not declared.

Warning: Schema could not be validated. Class generation may fail or may produce
incorrect results.

Error: Unable to import binding ‘DirectFlightSoap’ from namespace ‘http://direct
flight.flightaware.com:8015/soap/DirectFlight’.

  • Unable to import operation ‘FlightInfo’.
  • The datatype ‘FlightInfoStruct’ is missing.

If you would like more help, please type “wsdl /?”.

Hi Baker,

Fortunately I have found the old proxy I had created some days back when WSDL was working fine. Now I am using that. So the problem related to WSDL has solved for this time.

The other error related to “The server committed a protocol violation.” is still there, So could you please help me in that. Thanks.

I have regenerated the API access key.

It could be the same problem (in another post) you were facing, related to authentication failures.

Regards,
Vivek

Same problem with me but still obstacle, could not found its solution

What version of .NET are you using? We have other developers successfully using .NET.

I suppose a Java Script is disable on your explorer.
лазерная коррекция зренияastigmatismпроекты коттеджеймедицинские книгиmp3 скачать бесплатноаудиокниги скачать бесплатномультфильм