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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]