REST based calls seem to not work anymore in 1.7
All,
I seem to be running into some issues with 1.7 and rest based calls. I have this working on my 1.6 instance but it doesn't appear to work on 1.7...
All i get is:
<faultstring>
Cannot create DocumentElement without destination EPR
</faultstring>
Any ideas/suggestions on what changed?
Thanks,
J
- Login or register to post comments
- Printer friendly version
- 331 reads











Hi You will need to post the
Hi
You will need to post the log files and your configuration.. or else there is no way we can find out what went wrong :)
asankha
Gathering now
I'm getting that now but i'm running the out of the box configuration...
Basically running it as the console...
1. Created a Proxy service
2. Tried using both an Endpoint and also a Anonymous Endpoint calling into my WSO2 WSAS web service.
I am able to go directly to WSAS and execute the getVersion web service and I'm also able to do this in the 1.6 version of the ESB... However when i try to do any rest based calls it fails in the 1.7 version...
I'm keeping it simple until in order to test it :)... I'll post the logs soon. Are you able to get a rest based call working?
Thanks,
J
Logs
wso2-esb.log
I Started from where the esb said it was up and running:
INFO ServiceBus [ESB] WSO2 ESB started in 13170 ms
2008-06-17 08:23:31,238 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG ServerHandler HTTP connection [/127.0.0.1:65514]: Connected
2008-06-17 08:23:31,249 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG ServerHandler HTTP connection [/127.0.0.1:65514]: GET /soap/Proxy_GetVersion/getVersion/ HTTP/1.1
2008-06-17 08:23:31,275 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG headers >> GET /soap/Proxy_GetVersion/getVersion/ HTTP/1.1
2008-06-17 08:23:31,276 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG headers >> Host: localhost:8280
2008-06-17 08:23:31,276 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG headers >> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
2008-06-17 08:23:31,276 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG headers >> Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
2008-06-17 08:23:31,276 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG headers >> Accept-Language: en-us,en;q=0.5
2008-06-17 08:23:31,276 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG headers >> Accept-Encoding: gzip,deflate
2008-06-17 08:23:31,276 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG headers >> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
2008-06-17 08:23:31,276 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG headers >> Keep-Alive: 300
2008-06-17 08:23:31,276 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG headers >> Connection: keep-alive
2008-06-17 08:23:31,292 [10.6.12.17-jholmesdell] [HttpServerWorker-1] DEBUG TransportUtils createSOAPEnvelope using Builder (class org.apache.axis2.builder.XFormURLEncodedBuilder) selected from type (application/x-www-form-urlencoded)
2008-06-17 08:23:31,330 [10.6.12.17-jholmesdell] [HttpServerWorker-1] ERROR ServerWorker Error processing GET request for: /soap/Proxy_GetVersion/getVersion/
org.apache.axis2.AxisFault: Cannot create DocumentElement without destination EPR
at org.apache.axis2.builder.XFormURLEncodedBuilder.processDocument(XFormURLEncodedBuilder.java:94)
at org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:164)
at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:112)
at org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:107)
at org.apache.synapse.transport.nhttp.ServerWorker.processGet(ServerWorker.java:464)
at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:193)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
2008-06-17 08:23:31,429 [10.6.12.17-jholmesdell] [HttpServerWorker-1] DEBUG ApplicationXMLFormatter contentType set from messageContext =null
2008-06-17 08:23:31,429 [10.6.12.17-jholmesdell] [HttpServerWorker-1] DEBUG ApplicationXMLFormatter (NOTE) contentType from format is=text/xml
2008-06-17 08:23:31,429 [10.6.12.17-jholmesdell] [HttpServerWorker-1] DEBUG ApplicationXMLFormatter contentType returned =application/xml; charset=UTF-8
2008-06-17 08:23:31,439 [10.6.12.17-jholmesdell] [HttpServerWorker-1] DEBUG ApplicationXMLFormatter start writeTo()
2008-06-17 08:23:31,440 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG ServerHandler HTTP connection [127.0.0.1/127.0.0.1:65514]: Output ready
2008-06-17 08:23:31,440 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG ServerHandler HTTP connection [127.0.0.1/127.0.0.1:65514]: Content encoder [chunk-coded; completed: false]
2008-06-17 08:23:31,441 [10.6.12.17-jholmesdell] [HttpServerWorker-1] DEBUG ApplicationXMLFormatter end writeTo()
2008-06-17 08:23:31,441 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG ServerHandler HTTP connection [127.0.0.1/127.0.0.1:65514]: Output ready
2008-06-17 08:23:31,443 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG ServerHandler HTTP connection [127.0.0.1/127.0.0.1:65514]: Content encoder [chunk-coded; completed: true]
2008-06-17 08:23:31,444 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG ServerHandler HTTP connection [127.0.0.1/127.0.0.1:65514]: Response ready
2008-06-17 08:23:50,910 [-] [WSO2 ESB Shutdown Hook] INFO ServiceBusManager Stopping the WSO2 Enterprise Service Bus..
2008-06-17 08:23:50,910 [-] [WSO2 ESB Shutdown Hook] INFO StatisticsReporterThread Statistics reporter thread is being stopped
2008-06-17 08:23:51,021 [-] [WSO2 ESB Shutdown Hook] INFO ServiceBusManager Embedded Derby database server shutdown
2008-06-17 08:23:51,025 [10.6.12.17-jholmesdell] [HttpCoreNIOListener] INFO HttpCoreNIOListener HTTPS Listener Shutdown
2008-06-17 08:23:51,026 [-] [WSO2 ESB Shutdown Hook] INFO MailTransportListener MAILTO Listener Shutdown
2008-06-17 08:23:51,028 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG ServerHandler HTTP connection [closed]: Closed
2008-06-17 08:23:51,030 [10.6.12.17-jholmesdell] [HttpCoreNIOListener] INFO HttpCoreNIOListener HTTP Listener Shutdown
2008-06-17 08:23:51,030 [-] [WSO2 ESB Shutdown Hook] INFO VFSTransportListener VFS Listener Shutdown
2008-06-17 08:23:51,032 [10.6.12.17-jholmesdell] [HttpCoreNIOSender] INFO HttpCoreNIOSender HTTPS Sender Shutdown
2008-06-17 08:23:51,033 [10.6.12.17-jholmesdell] [HttpCoreNIOSender] INFO HttpCoreNIOSender HTTP Sender Shutdown
2008-06-17 08:23:51,034 [-] [WSO2 ESB Shutdown Hook] INFO JMSSender JMS Sender Shutdown
2008-06-17 08:23:51,034 [-] [WSO2 ESB Shutdown Hook] INFO VFSTransportSender VFS Sender Shutdown
2008-06-17 08:23:51,034 [-] [WSO2 ESB Shutdown Hook] DEBUG SynapseConfiguration Destroying the Synapse Configuration
2008-06-17 08:23:51,034 [-] [WSO2 ESB Shutdown Hook] DEBUG SequenceMediator Destroying child mediators
2008-06-17 08:23:51,034 [-] [WSO2 ESB Shutdown Hook] DEBUG SequenceMediator Destroying child mediators
2008-06-17 08:23:51,034 [-] [WSO2 ESB Shutdown Hook] DEBUG InMediator Destroying child mediators
2008-06-17 08:23:51,034 [-] [WSO2 ESB Shutdown Hook] DEBUG FilterMediator Destroying child mediators
2008-06-17 08:23:51,034 [-] [WSO2 ESB Shutdown Hook] DEBUG OutMediator Destroying child mediators
2008-06-17 08:23:51,044 [-] [WSO2 ESB Shutdown Hook] INFO ServiceBusManager [ESB] Stop request completed
2008-06-17 08:23:51,044 [-] [WSO2 ESB Shutdown Hook] INFO ServiceBusManager Shutting down the JMX connector
2008-06-17 08:23:51,049 [-] [WSO2 ESB Shutdown Hook] INFO ServiceBusManager [ESB] Shutdown completed
2008-06-17 08:23:51,050 [-] [WSO2 ESB Shutdown Hook] INFO ServiceBusManager [ESB] System will exit in approximately 3 seconds..
***************************************************************************
wso2-esb-process.log:
INFO HttpCoreNIOListener HTTP Listener starting on port : 8280
2008-06-17 08:22:42,813 [10.6.12.17-jholmesdell] [WrapperSimpleAppMain] INFO ServerManager Starting transport vfs
2008-06-17 08:22:42,813 [10.6.12.17-jholmesdell] [WrapperSimpleAppMain] DEBUG NativeWorkerPool Using native util.concurrent package..
2008-06-17 08:22:42,869 [10.6.12.17-jholmesdell] [WrapperSimpleAppMain] INFO VFSTransportListener VFS Listener started
2008-06-17 08:22:42,869 [10.6.12.17-jholmesdell] [WrapperSimpleAppMain] INFO ServerManager Ready for processing
2008-06-17 08:22:42,870 [10.6.12.17-jholmesdell] [HttpCoreNIOListener] DEBUG NativeWorkerPool Using native util.concurrent package..
2008-06-17 08:22:42,870 [10.6.12.17-jholmesdell] [HttpCoreNIOListener] DEBUG NativeWorkerPool Using native util.concurrent package..
2008-06-17 08:22:44,719 [10.6.12.17-jholmesdell] [WrapperSimpleAppMain] INFO ServiceBusManager [ESB] Start request completed
2008-06-17 08:22:45,071 [10.6.12.17-jholmesdell] [WrapperSimpleAppMain] INFO TomcatServer Tomcat Server started at https://jholmesdell:9444/esb
2008-06-17 08:22:45,071 [10.6.12.17-jholmesdell] [WrapperSimpleAppMain] INFO ServiceBus [ESB] WSO2 ESB started in 13170 ms
2008-06-17 08:23:31,238 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG ServerHandler HTTP connection [/127.0.0.1:65514]: Connected
2008-06-17 08:23:31,249 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG ServerHandler HTTP connection [/127.0.0.1:65514]: GET /soap/Proxy_GetVersion/getVersion/ HTTP/1.1
2008-06-17 08:23:31,275 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG headers >> GET /soap/Proxy_GetVersion/getVersion/ HTTP/1.1
2008-06-17 08:23:31,276 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG headers >> Host: localhost:8280
2008-06-17 08:23:31,276 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG headers >> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
2008-06-17 08:23:31,276 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG headers >> Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
2008-06-17 08:23:31,276 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG headers >> Accept-Language: en-us,en;q=0.5
2008-06-17 08:23:31,276 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG headers >> Accept-Encoding: gzip,deflate
2008-06-17 08:23:31,276 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG headers >> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
2008-06-17 08:23:31,276 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG headers >> Keep-Alive: 300
2008-06-17 08:23:31,276 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG headers >> Connection: keep-alive
2008-06-17 08:23:31,292 [10.6.12.17-jholmesdell] [HttpServerWorker-1] DEBUG TransportUtils createSOAPEnvelope using Builder (class org.apache.axis2.builder.XFormURLEncodedBuilder) selected from type (application/x-www-form-urlencoded)
2008-06-17 08:23:31,330 [10.6.12.17-jholmesdell] [HttpServerWorker-1] ERROR ServerWorker Error processing GET request for: /soap/Proxy_GetVersion/getVersion/
org.apache.axis2.AxisFault: Cannot create DocumentElement without destination EPR
at org.apache.axis2.builder.XFormURLEncodedBuilder.processDocument(XFormURLEncodedBuilder.java:94)
at org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:164)
at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:112)
at org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:107)
at org.apache.synapse.transport.nhttp.ServerWorker.processGet(ServerWorker.java:464)
at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:193)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
2008-06-17 08:23:31,429 [10.6.12.17-jholmesdell] [HttpServerWorker-1] DEBUG ApplicationXMLFormatter contentType set from messageContext =null
2008-06-17 08:23:31,429 [10.6.12.17-jholmesdell] [HttpServerWorker-1] DEBUG ApplicationXMLFormatter (NOTE) contentType from format is=text/xml
2008-06-17 08:23:31,429 [10.6.12.17-jholmesdell] [HttpServerWorker-1] DEBUG ApplicationXMLFormatter contentType returned =application/xml; charset=UTF-8
2008-06-17 08:23:31,439 [10.6.12.17-jholmesdell] [HttpServerWorker-1] DEBUG ApplicationXMLFormatter start writeTo()
2008-06-17 08:23:31,440 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG ServerHandler HTTP connection [127.0.0.1/127.0.0.1:65514]: Output ready
2008-06-17 08:23:31,440 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG ServerHandler HTTP connection [127.0.0.1/127.0.0.1:65514]: Content encoder [chunk-coded; completed: false]
2008-06-17 08:23:31,441 [10.6.12.17-jholmesdell] [HttpServerWorker-1] DEBUG ApplicationXMLFormatter end writeTo()
2008-06-17 08:23:31,441 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG ServerHandler HTTP connection [127.0.0.1/127.0.0.1:65514]: Output ready
2008-06-17 08:23:31,443 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG ServerHandler HTTP connection [127.0.0.1/127.0.0.1:65514]: Content encoder [chunk-coded; completed: true]
2008-06-17 08:23:31,444 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG ServerHandler HTTP connection [127.0.0.1/127.0.0.1:65514]: Response ready
CTRL-C trapped. Shutting down.
2008-06-17 08:23:50,910 [-] [WSO2 ESB Shutdown Hook] INFO ServiceBusManager Stopping the WSO2 Enterprise Service Bus..
2008-06-17 08:23:50,910 [-] [WSO2 ESB Shutdown Hook] INFO StatisticsReporterThread Statistics reporter thread is being stopped
2008-06-17 08:23:51,021 [-] [WSO2 ESB Shutdown Hook] INFO ServiceBusManager Embedded Derby database server shutdown
2008-06-17 08:23:51,025 [10.6.12.17-jholmesdell] [HttpCoreNIOListener] INFO HttpCoreNIOListener HTTPS Listener Shutdown
2008-06-17 08:23:51,026 [-] [WSO2 ESB Shutdown Hook] INFO MailTransportListener MAILTO Listener Shutdown
2008-06-17 08:23:51,028 [10.6.12.17-jholmesdell] [I/O dispatcher 5] DEBUG ServerHandler HTTP connection [closed]: Closed
2008-06-17 08:23:51,030 [10.6.12.17-jholmesdell] [HttpCoreNIOListener] INFO HttpCoreNIOListener HTTP Listener Shutdown
2008-06-17 08:23:51,030 [-] [WSO2 ESB Shutdown Hook] INFO VFSTransportListener VFS Listener Shutdown
2008-06-17 08:23:51,032 [10.6.12.17-jholmesdell] [HttpCoreNIOSender] INFO HttpCoreNIOSender HTTPS Sender Shutdown
2008-06-17 08:23:51,033 [10.6.12.17-jholmesdell] [HttpCoreNIOSender] INFO HttpCoreNIOSender HTTP Sender Shutdown
2008-06-17 08:23:51,034 [-] [WSO2 ESB Shutdown Hook] INFO JMSSender JMS Sender Shutdown
2008-06-17 08:23:51,034 [-] [WSO2 ESB Shutdown Hook] INFO VFSTransportSender VFS Sender Shutdown
2008-06-17 08:23:51,034 [-] [WSO2 ESB Shutdown Hook] DEBUG SynapseConfiguration Destroying the Synapse Configuration
2008-06-17 08:23:51,034 [-] [WSO2 ESB Shutdown Hook] DEBUG SequenceMediator Destroying child mediators
2008-06-17 08:23:51,034 [-] [WSO2 ESB Shutdown Hook] DEBUG SequenceMediator Destroying child mediators
2008-06-17 08:23:51,034 [-] [WSO2 ESB Shutdown Hook] DEBUG InMediator Destroying child mediators
2008-06-17 08:23:51,034 [-] [WSO2 ESB Shutdown Hook] DEBUG FilterMediator Destroying child mediators
2008-06-17 08:23:51,034 [-] [WSO2 ESB Shutdown Hook] DEBUG OutMediator Destroying child mediators
2008-06-17 08:23:51,044 [-] [WSO2 ESB Shutdown Hook] INFO ServiceBusManager [ESB] Stop request completed
2008-06-17 08:23:51,044 [-] [WSO2 ESB Shutdown Hook] INFO ServiceBusManager Shutting down the JMX connector
2008-06-17 08:23:51,049 [-] [WSO2 ESB Shutdown Hook] INFO ServiceBusManager [ESB] Shutdown completed
2008-06-17 08:23:51,050 [-] [WSO2 ESB Shutdown Hook] INFO ServiceBusManager [ESB] System will exit in approximately 3 seconds..
<-- Wrapper Stopped
Re:REST based calls seem to not work anymore in 1.7
Hi J
I tried this. It seems that when you are doing REST call over http GET (For example - Calling through web browser ) , it doesn't work (I got errors what you got). But it worked when doing REST call over HTTP POST. In the case of Http GET, it seems we are not set request URL as endpoint to the request messagecontext prior to handover to MessageBuilder. This causes the error. After fixing it , I tried and it worked. In the POST case, we do it (Actually axis2 Post Request processing util class do it).
Thanks
Indika
The Fix
Indika,
Thank you for verifying this for me. Can you please post the fix so I can apply the necessary changes.
Once again thank you,
J
Fix
In the synapse codebase , ServerWorker class and there is a private method createMessageContext(HttpRequest request)
add follwing line
msgContext.setTo(new EndpointReference(request.getRequestLine().getUri()));
Thanks
Indika
Awesome
That worked.
Should I add this to JIRA so that it gets fixed in the next version or did you already do that.
Once again thank you,
Indika
REST based calls seem to not work anymore in 1.7 with Parameters
Indika,
While the other fix works for REST based calls with no parameters... There seems to be another issue.. I'm now calling the echo service in WSAS via REST with a query string and this doesn't seem to work... Any ideas/fix
Thanks,
J
Fix for both Parameters and none
It seems the old version supported this.
I've replaced the following and all works now.
Package: org.apache.synapse.transport.nhttp
Class: ServerWorker
Method: private void processGet()
Old Code:
Header contentType = request.getFirstHeader(HTTP.CONTENT_TYPE);
RESTUtil.processURLRequest(msgContext, os, contentType != null ? contentType.getValue() : null);
New Code: (Well from 1.6)
HTTPTransportUtils.processHTTPGetRequest(msgContext, os, null, request.getRequestLine().getUri(), cfgCtx, parameters);
This method is deprecated however it works... I hope this can be fixed using the new methods.
Thanks,
J
Fix for both Parameters and none
Hi J
I have to check each scenarios for REST. I just checked an one scenario. If any scenarios doesn't work, then it need to be fixed. I will look at those.
Thanks
Indika
Lets file a JIRA and fix this issue..
Indika
Please file a JIRA on Synapse, and lets fix this issue on the trunk for now
asankha
Hi all, I have fixed this
Hi all,
I have fixed this issue on the synapse trunk [https://issues.apache.org/jira/browse/SYNAPSE-365] and will be available to the ESB in turn,
Thanks
Ruwan Linton
http://ruwansblog.blogspot.com
Excellent
Thanks Ruwan,
Should I download the ESB nightly build or synapse?
On another note is there anyway/possibly some documentation that would allow me or the ESB team to create a transport that connects via the AJP1.3 protocol?
This request goes with posts:
http://wso2.org/forum/thread/3741
http://wso2.org/forum/thread/3702#comment-5949
I think this would be valuable to many.
Once again thanks,
J
Incorporated the fix
Once again thank you Ruwan,
I incorporated the fix and all is well. :)
However when executing a rest command with a parameter on the Admin port I get an unusual exception... I know this is not really a supported configuration but any help would be greatly appreciated.
I have attached my version of the ESBServlet.java and the exception... This enhances the changes that you and I talked about in post: http://wso2.org/forum/thread/3702
Note that all soap calls are working as needed its just the rest based calls with parameters.
I would also like to note that I don't see this behavior when executing a rest call from a nio non-blocking transport which is why I’m a bit confused.
Thanks,
J
Fix
Ok so I've been able to fix this issue but I'm unsure if this is correct but it works in all cases now....
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());
One thing to note is this way only works when/if a WSDL is attached to the Proxy Service.
Ruwan..
Does this make sense or is there other options to fix the issue above so it works for all cases.
Thanks,
J
I think this is correct, if
I think this is correct, if you would like to contribute this fix you may create a JIRA in the ESB and attach the diff, so that I can have a look and apply that with or without modifications.
Thanks for the effort.
Ruwan Linton
Ok done
https://wso2.org/jira/browse/ESBJAVA-533
Thanks,
J
Fix version for ESBJAVA-533?
When will there be a version assigned to this fix for REST calls?
I have a mix of REST and Soap services. On 1.6, the REST calls work and on 1.7 (and 1.7.1) the REST calls don't. One of my Soap services doesn't work correctly on 1.6 (WS-Addressing issue of some sort) but does work on 1.7.
Please let me know as soon as you can.
Thanks,
Steven Robbins