Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Flex and SOAP WebService Issue


Level 1
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