We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

Error Parsing Vxml-Servlet

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

phani2223
Posts: 13
Joined: Tue Aug 23, 2011 10:51 am

Re: Error Parsing Vxml-Servlet

Post by phani2223 »

HI,

How can we assign file name similar to [object __SBjsiContent] when accessing far end...

Please Help.

Thanks,
Phani.

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: Error Parsing Vxml-Servlet

Post by support »

Hi Phani,

We are unsure what you are referring to. Please clarify.

Regards,
Plum Support

phani2223
Posts: 13
Joined: Tue Aug 23, 2011 10:51 am

Re: Error Parsing Vxml-Servlet

Post by phani2223 »

Hi,

What i meat was how to assign the value of Recorded audio content to a session value...
For ex..
I had a recorded audio in "feedback" how to assign this to session value "121223;444;43434.wav" to make unique value...

Please help,

Thanks,
Phani.

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: Error Parsing Vxml-Servlet

Post by support »

Hi Phani,

To save the audio recording under a new name, you would need to submit the file to a far-end server where it is locally saved using whatever name you would like. The recording name cannot be modified utilizing VXML.

Regards,
Plum Support

phani2223
Posts: 13
Joined: Tue Aug 23, 2011 10:51 am

Re: Error Parsing Vxml-Servlet

Post by phani2223 »

Hi,

When i try to connect servlet page through the expr I am able to connect and my java log shown log are written to the file.

But plum shown following error in logs

line 1, column 1 - The main XML document cannot be empty

DocumentParser::FetchDocument - Parse error in file "http://209.190.17.2/knowtate/servlet/Lo ... 1315584171", line 1, column 1 - The main XML document cannot be emptyerrno: 205 uri http://209.190.17.2/knowtate/servlet/Lo ... 1315584171

This is my servlet call...

<var name="waitForUserRegister"
expr="'$WEBSERVER/knowtate/servlet/LogUserPermissionAnswer?answer=no&phone=' + session.telephone.ani + '&session.sessionId=' + session.id "/>
<goto expr='waitForUserRegister'/>
<clear/>

Please suggest..
Thanks,
Phani

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: Error Parsing Vxml-Servlet

Post by support »

Hi Phani,

Your script "LogUserPermissionAnswer" needs to return VXML. The error "line 1, column 1 - The main XML document cannot be empty" shows that the platform did not receive any VXML when the script was called.

Regards,
Plum Support

phani2223
Posts: 13
Joined: Tue Aug 23, 2011 10:51 am

Re: Error Parsing Vxml-Servlet

Post by phani2223 »

Hi,

Thanks, For the Support and valuable suggestions.

Phani.

Post Reply