Jun 20, 2011, 7:14 AM
Treepanel webservice issue
Hi There,
My scenario is to load a tree panel from a webserice which is written in Delphi and returns Json file or XML. I'm having some issues with this,
I m trying to load using the WebServiceTreeLoader.
<ext:TreePanel Flex="1" ID="treeView" runat="server" Region="West" Collapsible="true"
Width="300">
<Root >
<ext:AsyncTreeNode NodeID="0" Text="Root"/>
</Root>
<Loader>
<ext:WebServiceTreeLoader DataUrl="http://MySVC/name.xml/?KeyDepth=-1&Groups=true&WithVisRuns=true&SubkeysIdent=childr en&IDIdent=id&TextIdent=text&PathIdent=path" />
</Loader>
</ext:TreePanel>
When I debug using IE it is showing exception as below
--------------------------------------
Received post
Files.Count=0
Request=TSockWebRequest
ContentType=application/x-www-form-urlencoded; charset=UTF-8
ContentParser=TContentParser
Content=node=0
ContentEncoding=
RawContent=node=0
URL=
ContentLength=6
InternalPathInfo=/VisFolders.xml/
Method=POST
PathInfo=/RestDatastoreDebug.RestDatastore/VisFolders.xml/
PathTranslated=/RestDatastoreDebug.RestDatastore/VisFolders.xml/
ParamStr(0)=C:\Program Files\Apache Software Foundation\Apache2.2\cgi-bin\RestDatastoreDebug.exe
ConfigINI at: C:\Program Files\Apache Software Foundation\Apache2.2\cgi-bin\RESTDataStore.ini
Calling HandleAttachment
In HandleAttachment
--------------------------------------
Mozilla shows Communication failure. As I mentioned the Webservice is a delphi program.
My scenario is to load a tree panel from a webserice which is written in Delphi and returns Json file or XML. I'm having some issues with this,
I m trying to load using the WebServiceTreeLoader.
<ext:TreePanel Flex="1" ID="treeView" runat="server" Region="West" Collapsible="true"
Width="300">
<Root >
<ext:AsyncTreeNode NodeID="0" Text="Root"/>
</Root>
<Loader>
<ext:WebServiceTreeLoader DataUrl="http://MySVC/name.xml/?KeyDepth=-1&Groups=true&WithVisRuns=true&SubkeysIdent=childr en&IDIdent=id&TextIdent=text&PathIdent=path" />
</Loader>
</ext:TreePanel>
When I debug using IE it is showing exception as below
--------------------------------------
Received post
Files.Count=0
Request=TSockWebRequest
ContentType=application/x-www-form-urlencoded; charset=UTF-8
ContentParser=TContentParser
Content=node=0
ContentEncoding=
RawContent=node=0
URL=
ContentLength=6
InternalPathInfo=/VisFolders.xml/
Method=POST
PathInfo=/RestDatastoreDebug.RestDatastore/VisFolders.xml/
PathTranslated=/RestDatastoreDebug.RestDatastore/VisFolders.xml/
ParamStr(0)=C:\Program Files\Apache Software Foundation\Apache2.2\cgi-bin\RestDatastoreDebug.exe
ConfigINI at: C:\Program Files\Apache Software Foundation\Apache2.2\cgi-bin\RESTDataStore.ini
Calling HandleAttachment
In HandleAttachment
--------------------------------------
Mozilla shows Communication failure. As I mentioned the Webservice is a delphi program.
Last edited by anulall; Jun 20, 2011 at 8:43 AM.
Reason: code included