Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!

Flex and SOAP WebService Issue


Former Community Member
I am trying to connect to a .NET SOAP webservice with the
WebService class in Flex. It has SOAPHeaders, and here is what I am

//*********************** These are the SOAP headers

private var header1:SOAPHeader;

private function headers():void


//Create QName and SOAPheader objects

var q1:QName = new QName("

header1 = new SOAPHeader(q1, {string:"userName",


trace("soap headers work");


//*********************** End SOAP headers

It looks like my headers are getting through, but I when I
click a button that is connected to a getData() function, I get a
" Server.Error.Request" error from the Flash Player.

I used Firebug to try and determine what is wrong, and I saw
that when the POST is called, I get back a .NET error message that
"The magic number in GZip header is not correct. Make sure you
are passing in a GZip


Any ideas????????
0 Replies