axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giuseppe Chiumento (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-1308) 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;
Date Thu, 05 Oct 2006 11:56:21 GMT
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
    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


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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message