Hi all,

I am trying to integrate this two powerful technologies. But I am running one 
problem. I am receiving from the Magnolia's web page the next error:

[b]Error 405: HTTP method POST is not supported by this URL[/b]

Let me explain better.
I have two projects, one related to my GWT app called MagnoliaWidget. And the 
other related to the Magnolia_Author project. Both projects are running under 
WebSphere 7 application server. 


The web.xml of my GWT app is:

[code]<servlet>
    <servlet-name>greetServlet</servlet-name>
    
<servlet-class>uk.co.graydon.magnolia.widget.server.GreetingServiceImpl</servlet-class>
  </servlet>
  
  <servlet-mapping>
    <servlet-name>greetServlet</servlet-name>
    <url-pattern>/magnoliawidget/greet</url-pattern>
  </servlet-mapping>[/code]

As you can see there is one service running called greetServlet (internally 
greet, because I am using the [code]@RemoteServiceRelativePath("greet")[/code] 
inside the GreetingService.java ).

So, after reading 
[url]http://softteco.blogspot.co.uk/2009/12/gwt-and-magnolia-integration.html[/url],
 and 
[url]http://documentation.magnolia-cms.com/reference/module-mechanism.html#Servlets[/url].

I have the next structure in my Magnolia_Author project:
[b]Web Content>docroot>magnoliawidget>... (all the gwt's app compiled files 
)[/b]

All of this configuration I think is correct, because inside one area, I can 
inject the GWT app, and I am able to "play" with it.

In that gwt app there is one button, that call to the GWT app's server, and in 
that moment is when I am receiving that error.

Also, my configuration inside magnolia ([b]Configuration → server  → filters → 
servlets[/b]) for the servlet is the next:

[code]<sv:node sv:name="GwtWidget" xmlns:sv="http://www.jcp.org/jcr/sv/1.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <sv:property sv:name="jcr:primaryType" sv:type="Name">
    <sv:value>mgnl:contentNode</sv:value>
  </sv:property>
  <sv:property sv:name="jcr:mixinTypes" sv:type="Name" sv:multiple="true">
    <sv:value>mix:lockable</sv:value>
  </sv:property>
  <sv:property sv:name="jcr:uuid" sv:type="String">
    <sv:value>c125b9fc-516d-44c9-8b33-f7e21ed107b3</sv:value>
  </sv:property>
  <sv:property sv:name="class" sv:type="String">
    <sv:value> info.magnolia.cms.filters.ServletDispatchingFilter</sv:value>
  </sv:property>
  <sv:property sv:name="enabled" sv:type="String">
    <sv:value>true</sv:value>
  </sv:property>
  <sv:property sv:name="jcr:createdBy" sv:type="String">
    <sv:value>admin</sv:value>
  </sv:property>
  <sv:property sv:name="servletClass" sv:type="String">
    
<sv:value>uk.co.graydon.magnolia.widget.server.GreetingServiceImpl</sv:value>
  </sv:property>
  <sv:property sv:name="servletName" sv:type="String">
    <sv:value>greetServlet</sv:value>[/code]

([i]If you need the metadata information, just let me know[/i]).

Someone has any idea about what is going on?

Thanks in advance,

Adolfo.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=5a7c5315-ec82-412c-bd21-4360ffff8d47


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to