6 messages in com.googlegroups.google-finance-apis[Google Finance APIs] Re: Pls help. P...
FromSent OnAttachments
VPNNov 7, 2008 5:41 am 
Doug ChimentoNov 7, 2008 8:48 am 
SBNov 8, 2008 1:00 am 
Doug ChimentoNov 8, 2008 12:56 pm 
salaja K BalakrishnanNov 9, 2008 3:09 am 
salaja K BalakrishnanNov 9, 2008 5:05 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[Google Finance APIs] Re: Pls help. Portfolio add -> (400) Bad RequestActions...
From:SB (sala@gmail.com)
Date:Nov 8, 2008 1:00:42 am
List:com.googlegroups.google-finance-apis

The XML I am sending to the URL is

<entry> <title type='text'>A New Portfolio</title> <gf:portfolioData currencyCode='USD'/> </entry>

String strATOMRequestBody = HttpUtility.UrlEncode("<entry xmlns:gf= \"http://schemas.google.com/finance/2007\" >" + "<title type=\"text\">A New Portfolio</title>" + "<gf:portfolioData currencyCode=\"USD\"/ >" + "</entry>", Encoding.UTF8);

On Nov 7, 9:48 pm, "Doug Chimento" <dchi@gmail.com> wrote:

Can you provide the XML you are sending to the google servers?

On Fri, Nov 7, 2008 at 8:42 AM, VPN <vino@gmail.com> wrote:

The Create Portfolio is resulting in a :- "{"The remote server returned an error: (400) Bad Request."}" exception - For the .NET client library.

Other like retrieval operations works perfectly fine.

What am I doing wrong?. Please guide. Thanks in Advance.- Hide quoted text -

- Show quoted text -