[ http://issues.apache.org/jira/browse/AXIS2-1308?page=comments#action_12442782 ] Eran Chinthaka commented on AXIS2-1308: ---------------------------------------
Hi Giuseppe Chiumento, There was bit of a problem in this in Axis2 1.0. But it should now be fixed in latest nightly builds. We removed the enableREST param completely as you don't need to explicitly turn it on as we have enabled REST handling by default. Sorry for the confusion with enableREST param. Can you please check the above with latest nightly build. Send your request to /axis2/rest/MyService but not to /axis2/service/MyService. > SOAP request doesn't work after enabled REST Suoport by enableREST in > axis2.xml and get an AxisFault: First Element must contain the local name, > Envelope; > ---------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: AXIS2-1308 > URL: http://issues.apache.org/jira/browse/AXIS2-1308 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: core > Affects Versions: 1.0 > Environment: JRE 1.5.0_06; WIndows XP SP2; Apache Tomcat/5.5.17; > Axis2 1.0 (war distribution) > Reporter: Giuseppe Chiumento > Assigned To: Eran Chinthaka > Priority: Blocker > Attachments: RestBUGerr2.JPG > > > When REST support is disabled, all SOAP applications work correctly (included > Axis2 userguide examples). > I need to use REST feature, so I have to enable it modifying axis2.xml file > and adding: > <parameter name="enableREST" locked="false">true</parameter> > This seems to be the only way to enable REST, since if I try to use theese > others: > <parameter name="enableRESTInAxis2MainServlet" locked="true">true</parameter> > <parameter name="disableSeparateEndpointForREST" > locked="true">true</parameter> > Axis2 seems don't answer and REST doesn't work. > After REST is enabled, alla REST invokations work perfectly but SOAP code > invokation begin to give AxisFault: First Element must contain the local > name, Envelope; > For the code reference I tried with MyService's userguide example (for echo > operation is available both REST and SOAP (blocking) version client). > The problem appears also for all codes I write for now. > Is really possible use both REST and SOAP or there's a bug? > Regards, > Giuseppe. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
