Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix or Usage Issue
-
Affects Version/s: 2.1.1
-
Fix Version/s: None
-
Component/s: Modules: CXF
-
Labels:None
-
Environment:
mule-2.1.1-EE
-
User impact:Medium
-
Configuration:
-
Affects Docs:Yes
-
Similar Issues:None
Description
1.6 endpoint:
<endpoint address="xfire:http://localhost:65071/services" transformers="HttpRequestToSoapRequest" remoteSync="true"/>
2.2 endpoint:
<cxf:inbound-endpoint address="http://localhost:65071/services" transformer-refs="HttpRequestToSoapRequest" frontend="simple" synchronous="true"/>
HTML Client:
<script type="text/javascript">document.write('<form action="http://localhost:65071/services" method="GET">');</script>
<input name="method" type="hidden" value="create"/>
<input name="product" type="text"/>
<input type="submit" value="Submit Order"/>
</form>
The HttpRequestToSoapRequest transformer is expecting the 'method' property to be set in the MuleMessage. In 1.6 we were able to set that by including a hidden field in the html form called 'method'. But that approach is not working in 2.x.