REST based calls seem to not work anymore in 1.7
------------------------------------------------
Key: ESBJAVA-533
URL: https://wso2.org/jira/browse/ESBJAVA-533
Project: WSO2 ESB
Issue Type: Improvement
Components: Core Engine
Reporter: Jonathan Holmes
Assignee: Asankha Perera
Attachments: RESTUtil.zip
As explained in post: http://wso2.org/forum/thread/3710
Ruwan,
Fix this issue on the synapse trunk but this still didn't cover all aspects of
REST based calls. I've attached another version which changes 2 lines. Take a
look and let me know what you think.
Thanks,
J
package: org.apache.synapse.transport.nhttp.util
class: RESTUtil
method: createEnvelopeFromGetRequest
Before:
OMNamespace omNs =
soapFactory.createOMNamespace(service.getSchemaTargetNamespace(),
service.getSchemaTargetNamespacePrefix());
soapFactory.createOMNamespace(getSchemaTargetNamespace(),
service.getSchemaTargetNamespacePrefix());
After:
OMNamespace omNs =
soapFactory.createOMNamespace(service.getTargetNamespace(),//service.getSchemaTargetNamespace(),
service.getSchemaTargetNamespacePrefix());
soapFactory.createOMNamespace(service.getTargetNamespace(),//getSchemaTargetNamespace(),
service.getSchemaTargetNamespacePrefix());
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev