[flexcoders] UTC Date in Webservice operation request

2007-01-29 Thread mrinal.wadhwa
Hi All,

I am struggling with a webservice call that looks like this:

mx:WebService
  id=testWS
  wsdl=http://localhost:8000/TestService?wsdl;
  result=handleResult(event);
  fault=handleFault(event);
  load=handleLoad(event);
  useProxy=false 

  mx:operation
  name=testOP_1
  result=handleResult(event);
  fault=handleFault(event); 

mx:request
pDateMon Jan 29 10:30:59 2007/pDate
   pOneOne/pOne
   pTwoTwopTwo
/mx:request
  /mx:operation


  mx:operation
  name=testOP_2
  result=handleResult(event);
  fault=handleFault(event); 

mx:request
   ptesting/p
/mx:request
  /mx:operation


/mx:WebService

The opearation testOP_1 expects a UTC date in pDate parameter of the
request.
Now when i call this operation as

testWS.testOP_1.send();

I get a fault in my fault handler

[RPC Fault faultString=Error #1009: Cannot access a property or method
of a null object reference. faultCode=EncodingError
faultDetail=null]


I am using a network sniffer to look at the network traffic and when I
make the above call I don't see any network traffic.

On the other hand if I make a call to the second operation testOP_2
which does not have a date involved it works fine and I see proper SOAP
request and responses sent over the network.

Also if I fiddle with request that I am sending the testOP_1 and do not
send the date at all    I  get  and HTTP request error  as
expected but there is proper exchange of soap packets that happens.

I don't understand why flex is not sending any soap request when it has
a UTC date in it.

I would be grateful if all you flex experts out there could help.

Thank you,
Mrinal Wadhwa



[flexcoders] My Blog in Flex .. design challenges

2007-01-15 Thread mrinal.wadhwa
I am developing my homepage/blog in flex and designing the blog is
presenting a lot of design challenges. Here's one of them...

I don't particularly like scroll bars, especially not more that one on
a page. I'd appreciate if all the design experts on this list could
suggest on how a flex blog should look.



[flexcoders] Network Monitor in Flex Builder

2007-01-10 Thread mrinal.wadhwa
I have Flex Builder 2.0.1 (standalone) installed  I am not able to
find the Network Monitor view ... Not even through the Window menu ...
where did it go??



[flexcoders] Re: Network Monitor in Flex Builder

2007-01-10 Thread mrinal.wadhwa
Hmm .. no replies ... I tried my best to find it. I think I am looking
at some old documentation . guys at Adobe .. what is this page all
about 

http://www.adobe.com/devnet/flex/articles/flexbuilder_ws_06.html

If it is updated, could someone please help me out with this, if it is
not ... what other methods could I employ to look at the soap message
going out and coming in.

Someone please help !!!

Thank you 
Mrinal







--- In flexcoders@yahoogroups.com, mrinal.wadhwa [EMAIL PROTECTED]
wrote:

 I have Flex Builder 2.0.1 (standalone) installed  I am not able to
 find the Network Monitor view ... Not even through the Window menu ...
 where did it go??





[flexcoders] webservice SOAP envelope

2007-01-10 Thread mrinal.wadhwa
Is there a way to see the outgoing/incoming SOAP envelopes when I call
an operation in a webservice from a flex app



[flexcoders] HTTPService GET request headers

2006-12-03 Thread mrinal.wadhwa
Hi all,

This may be too simple a question but I'm new and can't seem to find
an answer, please help 

How do I set a header in a HTTP GET request? The documentation says
that HTTPService takes an Object in the headers property ... what
should this  Object look like ... a String?? 

A simple example would be of enormous help ... thanking everyone in
advance.

With regards,
Mrinal




[flexcoders] Re: HTTPService GET request headers

2006-12-03 Thread mrinal.wadhwa
Thanks Peter :)




--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote:

 You literally create an Object, with header names as the property names
 and header values as property values.
  
 var headers:Object = new Object();
 headers[CustomHeaderA] = SomeValue;
 headers[CustomHeaderB] = SomeValue;
  
 Note that if you're not using the FDS Proxy (i.e. the default state for
 HTTPService is useProxy=false), your request will ultimately make use
 of the Flash Player API URLRequestHeader, which has some restrictions on
 the headers that can be set. See this ASDoc page:
  
 http://livedocs.macromedia.com/flex/2/langref/flash/net/URLRequestHeader
 .html
  
  
 
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of mrinal.wadhwa
 Sent: Saturday, December 02, 2006 11:24 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] HTTPService GET request headers
 
 
 
 Hi all,
 
 This may be too simple a question but I'm new and can't seem to find
 an answer, please help 
 
 How do I set a header in a HTTP GET request? The documentation says
 that HTTPService takes an Object in the headers property ... what
 should this Object look like ... a String?? 
 
 A simple example would be of enormous help ... thanking everyone in
 advance.
 
 With regards,
 Mrinal





[flexcoders] Re: My flex app's content on google search

2006-11-30 Thread mrinal.wadhwa
Hmm .. progressive development .. that's ok for the static content on
my website but .. my goal here is to get the content of my blog
indexed .. I was planning to keep this content in an xml and make it
visible on the flex site using HTTPService .. I cant update the html
page every time I update my blog.

:?


Thank you for the help,
Mrinal






--- In flexcoders@yahoogroups.com, slangeberg [EMAIL PROTECTED] wrote:

 Check out this article on 'progressive enhancement':
 
 http://www.adobe.com/devnet/flash/articles/progressive_enhancement.html
 
 Basically, your content is on the page, whether flash is present or not.
 
 -Scott
 
 On 11/30/06, mrinal wadhwa [EMAIL PROTECTED] wrote:
 
Hi All,
 
  I know that something similar has been discussed here before but I
am new
  to Flex and need some more clarity.
  I am making my personal website in Flex (just so that I could
learn flex)
  , the website will have my blog and my picture gallery  now
here's what
  I want to do:
 
 
 1. Google should index all my blog posts
 2. When some one searches for some content that is present on my
 site he/she should get a link that takes him or her to the
exact content and
 not to my applications home
 
 
  Thank you all for your help,
  Mrinal
 
   
 
 
 
 
 -- 
 
 : : ) Scott





[flexcoders] Re: My flex app's content on google search

2006-11-30 Thread mrinal.wadhwa
Thank you Scott and JD ...

Can you guys please present a comparison of the 2 different approaches
that both of you are suggesting?

Thank you,
Mrinal





--- In flexcoders@yahoogroups.com, slangeberg [EMAIL PROTECTED] wrote:

 No, your page needs to generate the content, which is imported to
Flash at
 runtime.
 
 Sorry if the original link didn't cover the entire gamut. This may
have a
 better overview:
 
 http://blog.deconcept.com/2006/02/27/using-alternate-content-flash/
 
 -Scott
 
 On 11/30/06, mrinal.wadhwa  [EMAIL PROTECTED] wrote:
 
Hmm .. progressive development .. that's ok for the static
content on
  my website but .. my goal here is to get the content of my blog
  indexed .. I was planning to keep this content in an xml and make it
  visible on the flex site using HTTPService .. I cant update the html
  page every time I update my blog.
 
  :?
 
  Thank you for the help,
  Mrinal
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
  slangeberg slangeberg@ wrote:
  
   Check out this article on 'progressive enhancement':
  
  
http://www.adobe.com/devnet/flash/articles/progressive_enhancement.html
  
   Basically, your content is on the page, whether flash is present
or not.
  
   -Scott
  
   On 11/30/06, mrinal wadhwa mrinal.wadhwa@ wrote:
   
Hi All,
   
I know that something similar has been discussed here before but I
  am new
to Flex and need some more clarity.
I am making my personal website in Flex (just so that I could
  learn flex)
, the website will have my blog and my picture gallery  now
  here's what
I want to do:
   
   
1. Google should index all my blog posts
2. When some one searches for some content that is present on my
site he/she should get a link that takes him or her to the
  exact content and
not to my applications home
   
   
Thank you all for your help,
Mrinal
   
   
   
  
  
  
   --
  
   : : ) Scott
  
 
   
 
 
 
 
 -- 
 
 : : ) Scott





[flexcoders] Re: My flex app's content on google search

2006-11-30 Thread mrinal.wadhwa
Thanks a lot JD .. That was exacly the kind of info I was looking for 
Maintaining sitemap looks like the solution for me. 

I plan to store my blog content in an xml and not in a database as I
want to avoid having a server side component like a Java Servelet or
something ... so for now it will be a plain old HTTPService fetching
an xml ... if you have any suggestions for such a setup that would
help me get better viability for my blog content and hopefully a
better PageRanks .. do let me know.

I appreciate your help
Thank you,
 
Mrinal 









--- In flexcoders@yahoogroups.com, John Dowdell [EMAIL PROTECTED] wrote:

 mrinal wadhwa wrote:
   [If I want to write a weblog and display it in SWF, then how could
I help the different search engines find each page?]
 
 The search engines have looked inside static SWF for quite some time. I 
 don't know whether your weblog will use a database or not, so couldn't 
 guess what each engine might see.
 
 But the major search engines recently converged on a sitemap proposal, 
 which particularly helps dynamic sites... if you create a map with each 
 post's keywords then you can assign parameterized URLs to help invoke 
 the desired application state for various types of Flex front ends to a 
 weblog database.
 http://www.sitemaps.org/faq.html
 http://weblogs.macromedia.com/jd/archives/2006/11/swf_seo_rip.cfm
 
 Is this the type of info you were seeking...?
 
 jd
 
 
 
 
 -- 
 John Dowdell . Adobe Developer Support . San Francisco CA USA
 Weblog: http://weblogs.macromedia.com/jd
 Aggregator: http://weblogs.macromedia.com/mxna
 Technotes: http://www.macromedia.com/support/
 Spam killed my private email -- public record is best, thanks.





[flexcoders] Re: My flex app's content on google search

2006-11-30 Thread mrinal.wadhwa
Well John would be better person to answer that  but now as I
think I wonder ... even if I present the search engine with a sitemap
will it be able to index content that is brought into the swf at
runtime using an HTTPService  :?




--- In flexcoders@yahoogroups.com, slangeberg [EMAIL PROTECTED] wrote:

 
  The search engines have looked inside static SWF for quite some time
 
 
 You'd have to tell me how that was done.
 
 There is a pertinent comment at the second site that I agree with,
at this
 time:
 
 (Rich media and advanced interactive features are never going to be
indexed
  conventionally anyway, so Flash is and always has been superb for
embedding
  such things into sites)
 
 
 -Scott
 
 On 11/30/06, mrinal.wadhwa [EMAIL PROTECTED] wrote:
 
Thank you Scott and JD ...
 
  Can you guys please present a comparison of the 2 different approaches
  that both of you are suggesting?
 
  Thank you,
  Mrinal
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
  slangeberg slangeberg@ wrote:
  
   No, your page needs to generate the content, which is imported to
  Flash at
   runtime.
  
   Sorry if the original link didn't cover the entire gamut. This may
  have a
   better overview:
  
   http://blog.deconcept.com/2006/02/27/using-alternate-content-flash/
  
   -Scott
  
   On 11/30/06, mrinal.wadhwa  mrinal.wadhwa@ wrote:
   
Hmm .. progressive development .. that's ok for the static
  content on
my website but .. my goal here is to get the content of my blog
indexed .. I was planning to keep this content in an xml and
make it
visible on the flex site using HTTPService .. I cant update
the html
page every time I update my blog.
   
:?
   
Thank you for the help,
Mrinal
   
--- In flexcoders@yahoogroups.com
flexcoders%40yahoogroups.comflexcoders%40yahoogroups.com,
 
slangeberg slangeberg@ wrote:

 Check out this article on 'progressive enhancement':


 
http://www.adobe.com/devnet/flash/articles/progressive_enhancement.html

 Basically, your content is on the page, whether flash is present
  or not.

 -Scott

 On 11/30/06, mrinal wadhwa mrinal.wadhwa@ wrote:
 
  Hi All,
 
  I know that something similar has been discussed here
before but I
am new
  to Flex and need some more clarity.
  I am making my personal website in Flex (just so that I could
learn flex)
  , the website will have my blog and my picture gallery
 now
here's what
  I want to do:
 
 
  1. Google should index all my blog posts
  2. When some one searches for some content that is present
on my
  site he/she should get a link that takes him or her to the
exact content and
  not to my applications home
 
 
  Thank you all for your help,
  Mrinal
 
 
 



 --

 : : ) Scott

   
   
   
  
  
  
   --
  
   : : ) Scott
  
 
   
 
 
 
 
 -- 
 
 : : ) Scott