[prev in list] [next in list] [prev in thread] [next in thread] 

List:       esb-java-dev
Subject:    [esb-java-dev] [jira] Created: (ESBJAVA-533) REST based calls seem
From:       "Jonathan Holmes (JIRA)" <jira () wso2 ! org>
Date:       2008-06-25 20:19:34
Message-ID: 82400216.1214425174859.JavaMail.jira () wso2 ! org ! ec2 ! wso2 ! com
[Download RAW message or body]

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
Esb-java-dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic