Ah... sorry for double post.

And ok I know where to look at for now.
i use $this->controller->render() and also let header $this-
>RequestHandler->respondAs('xml') (i'm already do var $components =
array('RequestHandler');)
but it still won't work.

so i tried to see the actual header with headers_list()
and it print out

Array
(
    [0] => X-Powered-By: PHP/5.2.6
    [1] => Content-type: text/html
)

the problem is the content-type still not change.
someone know why?

Thanks
ZYP



On Aug 20, 9:17 am, "Dr. Loboto" <drlob...@gmail.com> wrote:
> Set debug to at least 1 to see actual error. Check that in component
> you call $this->controller->render() ( NOT  $this->render() ). Check
> this call params.
>
> On Aug 19, 3:29 pm, ZYP <sita...@gmail.com> wrote:
>
> > Hi, I'm new here :)
>
> > I'm trying to create web service in CakePHP but I have some problem.
> > First of all I would like you to look at this 
> > ...http://bakery.cakephp.org/articles/view/soap-services-in-cakephp
>
> > I followed this article to make web service. And please browse to page
> > 3 and scroll down you can see "Component" class extends. Please look
> > at "Component->startup()" their is a line that call "Render()".
>
> > The problem is when it came to display in browser, something wrong so
> > in the browser there's nothing to see! ... but if I change to another
> > way to "Render()" without using "Component" (place "Render() directly
> > in controller) it's fine :> I can see "XML" file smoothly.
>
> > So I don't understand why :(
> > If someone can help I'm really love you a lot :)
>
> > Thanks
> > ZYP
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to