Hi,
here i m testing java with Xml...here i need to send a http request with xml data as
parameter name(i don't know whether this is right method,since proxy has recorded like
that..)
xml data is
<ClientRequest><ClientTransientData><module_type>1</module_type><first_name>asd</first_name><last_name>asd</last_name><tax_id></tax_id><middle_initial></middle_initial><birth_date>1/1/1970</birth_date><selectedTaxId></selectedTaxId><broker_name>Mkagan</broker_name><firm_name></firm_name><plan_name>Perf</plan_name><show_accounts_in_plan>true</show_accounts_in_plan><show_accounts_not_in_clients>false</show_accounts_not_in_clients><on_refresh_view>enableAccountsInViewButtons();</on_refresh_view><on_double_click_avail>addAccountToPlan();</on_double_click_avail><on_double_click_inplan>removeAccountFromPlan();</on_double_click_inplan><disable_double_click>false</disable_double_click><branch></branch><assign_token>wbe10</assign_token></ClientTransientData></ClientRequest>
After I run this and check the content in view tree i find the response as:
<?xml version="1.0" encoding="UTF-8"?>
<AppError>
<code>6650796</code>
<message>Premature end of file.</message>
<description>org.xml.sax.SAXParseException: Premature end of file.</description>
<actor>org.xml.sax.SAXParseException</actor>
<detailed_error_code>6650796</detailed_error_code>
</AppError>
please any one through light once on this.
Suggesions are appreciated.
Thanks
Prabhu
---------------------------------
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!