Re: [flexcoders] Re: How to Access Microsoft Reporting Services (RS) Webservices (reportservice2005.asmx?wsdl)

2009-04-20 Thread f3l
This is SO microsoft trying to vendor locking by creating special auth
mechanisms

so much for WS*



On Thu, Apr 16, 2009 at 2:57 PM, valdhor valdhorli...@embarqmail.comwrote:



 The thing is, a web service is a very low level thing. You post XML to it
 and it responds in XML. Authentication is usually done in a SOAP header or
 less often as parameters in the SOAP body. Generally there is no other
 mechanism (Except maybe HTTP Auth). I can't see how you would use a .NET
 service with it.


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Baz
 thinkl...@... wrote:
 
  I have read the wsdl and imported it into my ide so that is could provide
  code insight on whats available. There are no problems there, the issue
  arises when running the code. I get an authorization denied (or similar)
  error. Googling about I noticed that .net has some special functions for
  opening an authorized connection. The phrase forms auth has been thrown
  about too. But there are no definitive resources on how to reproduce this
  with non .net environments.
 
  Baz
 
 
  On Thu, Apr 16, 2009 at 12:27 PM, valdhor valdhorli...@...wrote:
 
  
  
   Nope, the WSDL should show the operations and data types the service
 uses.
   It is just an XML file so you should be able to copy and paste it.
  
   Also, is there an API reference for Microsoft Reporting Services (RS)
   webservice?
  
   --- In flexcoders@yahoogroups.com 
   flexcoders%40yahoogroups.comflexcoders%
 40yahoogroups.com, Baz
   thinkloop@ wrote:
   
Valdhor, thanks for the response. Unfortunately the server is behind
 my
corporate firewall. Is there anything I can do and send you the
 results
   for?
   
Baz
   
On Thu, Apr 16, 2009 at 12:18 PM, valdhor valdhorlists@wrote:
   


 Can you post the WSDL? Or location of one on the net?


 --- In flexcoders@yahoogroups.com 
 flexcoders%40yahoogroups.comflexcoders%
 40yahoogroups.comflexcoders%
   40yahoogroups.com, Baz
 thinkloop@ wrote:
 
  I would like to build a flex front-end to Microsoft Reporting
   Services
 (RS)
  using the provided webservice at
  http://mydomain/reportserver/reportservice2005.asmx?wsdl. I am
 able
   to
 view
  the wsdl when I navigate to it using a web browser. The problem
 is
   that I
  can't seem to authenticate against it using flex no matter what
  usernames/passwords I provide. I think I may need to implement
 some
 special
  authentication, but I'm not sure.
 
  Has anyone succesffuly connected to the Microsoft Reporting
 Services
   (RS)
  webservice?
 
  Thanks,
  Baz
 



   
  
  
  
 

  




-- 
What a Great Day*
http://whatagreatday.wordpress.com/


Re: [flexcoders] How can I receive the smallest value within an Array?

2009-04-16 Thread f3l
why not get the max from SQL (sisn't that where your data comes from in the
first place?)

On Thu, Apr 16, 2009 at 2:39 PM, Tracy Spratt tspr...@lariatinc.com wrote:



  Be aware that if you have two loops in a function and use this syntax,
 you will get a duplicate variable definition warning.



 Tracy Spratt,

 Lariat Services, development services available
   --

 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *- -
 *Sent:* Thursday, April 16, 2009 1:39 PM
 *To:* flexcoders@yahoogroups.com

 *Subject:* Re: [flexcoders] How can I receive the smallest value within an
 Array?






   Thanks Paul!


  --

 *From:* Paul Andrews p...@ipauland.com
 *To:* flexcoders@yahoogroups.com
 *Sent:* Thursday, April 16, 2009 12:44:18 PM
 *Subject:* Re: [flexcoders] How can I receive the smallest value within an
 Array?

 Just for the future, most people would do this:



 *for* ( var i:int =1; iarray.length; i++)



  - Original Message -

 *From:* - - sailorse...@yahoo.com

 *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com

 *Sent:* Thursday, April 16, 2009 5:06 PM

 *Subject:* Re: [flexcoders] How can I receive the smallest value within an
 Array?



 I got it:



 *public* *function* maxValue(array: Array):int

 {

 *var* value:int = array[0];

 *var* i:int = *new* int(0);

 *for* (i; iarray.length; i++)

 {

 *if* (array[i]value)

 {

 value = array[i];

 }

 }

 *return* value;

 }

 *public* *function* minValue(array: Array):int

 {

 *var* value:int = array[0];

 *var* i:int = *new* int(0);

 *for* (i; iarray.length; i++)

 {

 *if* (array[i]value)

 {

 value = array[i];

 }

 }

 *return* value;

 }




  --

 *From:* sailorsea21 sailorsea21@ yahoo.com
 *To:* flexcod...@yahoogro ups.com
 *Sent:* Thursday, April 16, 2009 11:56:01 AM
 *Subject:* [flexcoders] How can I receive the smallest value within an
 Array?

 Hi everyone, if I have an array as

 var boxSize:Array = new Array(25, 45, 32, 70, 50, 46, 80, 10);

 Is there a function that will return me the smallest value within that
 array?

 Thanks.

 -David





  




-- 
What a Great Day*
http://whatagreatday.wordpress.com/