« Return to Thread: Lookup of http repsonse

Re: Lookup of http repsonse

by MichaelCh :: Rate this Message:

Reply to Author | View in Thread


Hello Geert, Daniel!

Thank you for your support.
It could help me to find the issue I am fighting with.

I am sending xml response using xml template. In the first line there
is a declaration:
<?xml version="1.0" encoding="UTF-8"?>

1. When I do not include in main template other template there is no
space " " in front of  <?xml version="1.0" encoding="UTF-8"?>
2. When I include in main template other template there IS a space " "
in front of  <?xml version="1.0" encoding="UTF-8"?>

So in a second case client can not parse the response.

Could it be some bug in rife? Or the problem can be somewhere else ?

Kind regards,
Michael Chudas.



On Mar 24, 3:49 pm, "Daniel K. Nyoto" <dny...@...> wrote:

> Hi Michael,
>
> You can do template.getContent() before you print it. Maybe it's enough to serve your need.
>
> Kind regards,
> Daniel K. Nyoto
>
> > Date: Tue, 24 Mar 2009 06:34:30 -0700
> > Subject: [rife-users] Lookup of http repsonse
> > From: michaelchu...@...
> > To: rife-users@...
>
> > Hi Geert!
>
> > Could you explain me where I can lookup generated body of the http
> > response after calling print(template) in the Element?
>
> > Kind regards,
> > Michael Chudas.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-users" group.
To post to this group, send email to rife-users@...
To unsubscribe from this group, send email to rife-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: Lookup of http repsonse

 
 
 
Google
rifers.org web