Resolved.


Using the Adobe Specifications, I did not create an array within the
content:Object.



Was:

             public function headers():void

             {

                  // Create QName and SOAPHeader objects.

                  var q1:QName=new QName("http://ws.indymanage.com";,
"authHeader");

                  header1=new SOAPHeader(q1, {"userName":"xxxxx"});

                  header2=new SOAPHeader(q1, {"passCode":"yyyyy"});





                  // Add the header1 SOAP Header to all web service
requests.

                  wsClients.GetClients.addHeader(header1);

                  wsClients.GetClients.addHeader(header2);

         }



Now:

             public function headers():void

             {

                  // Create QName and SOAPHeader objects.

                  var q1:QName=new QName("http://ws.indymanage.com";,
"authHeader");

                  header1=new SOAPHeader(q1, {"userName":"xxxxx",
"passCode":"yyyy"});





                  // Add the header1 SOAP Header to all web service
requests.

                  wsClients.GetClients.addHeader(header1);

         }



Still not sure why the headersXML did not work, but I think that has to
with .NET, not FLEX.



Thanks to everyone who came to my assistance,

Brian

--- In [email protected], "bsausser" <[EMAIL PROTECTED]> wrote:
>
>
> .NET Web Services
>
>
>
> [Novice Notification (Trying out the Flex Platform)]
>
>
>
> Goal: pull an array of clients from a .NET 2.0 Web Service and
populate
> a Flex DataGrid.
>
> Spec: use Soap Headers to restrict access to web service.
>
>
>
> Models copied from:
>
> 1) Adobe's Specification,
>
> 2) Cynergy's Census Mashups Using StrikeIron Web Services and
> Yahoo Maps in Flex 2
>
>
>
> Successful without Soap Headers; Unsuccessful with Soap Headers in
both
> models.
>
>
>
> Model 1: screen shots
>
> NET-Code <http://www.dendera.com/images/NET-code.jpg>
>
> http://www.dendera.com/images/flex-code.gif
> <http://www.dendera.com/images/flex-code.gif>
>
> http://www.dendera.com/images/flex-debug-var.gif
> <http://www.dendera.com/images/flex-debug-var.gif>
>
>
>
> Model 2: screen shots
>
> http://www.dendera.com/images/flex-code-xml.gif
> <http://www.dendera.com/images/flex-code-xml.gif>
>
> http://www.dendera.com/images/flex-debug-var-xml.gif
> <http://www.dendera.com/images/flex-debug-var-xml.gif>
>
>
>
> Any help or opinions would be greatly appreciated,
>
> Brian
>

Reply via email to