DotNet Error - The server committed a protocol violation


#1

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


#2

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


#3

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


#4

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


#5

How about now?


#6

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 ® Web Services Description Language Utility
[Microsoft ® .NET Framework, Version 1.1.4322.573]
Copyright © 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 /?”.


#7

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


#8

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


#9

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


#10

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