Return-Path: Delivered-To: apmail-synapse-dev-archive@www.apache.org Received: (qmail 44039 invoked from network); 5 Sep 2009 18:30:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Sep 2009 18:30:20 -0000 Received: (qmail 66477 invoked by uid 500); 5 Sep 2009 18:30:19 -0000 Delivered-To: apmail-synapse-dev-archive@synapse.apache.org Received: (qmail 66367 invoked by uid 500); 5 Sep 2009 18:30:19 -0000 Mailing-List: contact dev-help@synapse.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@synapse.apache.org Delivered-To: mailing list dev@synapse.apache.org Received: (qmail 66359 invoked by uid 99); 5 Sep 2009 18:30:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 18:30:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 18:30:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 78955234C051 for ; Sat, 5 Sep 2009 11:29:57 -0700 (PDT) Message-ID: <551494848.1252175397479.JavaMail.jira@brutus> Date: Sat, 5 Sep 2009 11:29:57 -0700 (PDT) From: "Supun Kamburugamuva (JIRA)" To: dev@synapse.apache.org Subject: [jira] Commented: (SYNAPSE-577) WSDL Endpoints Stored in the Registry Cannot be Used In-Reply-To: <2102165372.1251692252805.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SYNAPSE-577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751778#action_12751778 ] Supun Kamburugamuva commented on SYNAPSE-577: --------------------------------------------- We've tested this with the WSO2 ESB and it seems to be working fine. That is why I deleted my patch. Is there something missing in synapse? Supun.. > WSDL Endpoints Stored in the Registry Cannot be Used > ---------------------------------------------------- > > Key: SYNAPSE-577 > URL: https://issues.apache.org/jira/browse/SYNAPSE-577 > Project: Synapse > Issue Type: Bug > Components: Core, Endpoints > Affects Versions: NIGHTLY > Environment: Any > Reporter: Hiranya Jayathilaka > Assignee: Hiranya Jayathilaka > Fix For: 1.3, NIGHTLY > > Attachments: WSDLEndpoint.patch > > > 1. Define a valid registry provider in the Synapse configuration > 2. Store a WSDL endpoint definition in the registry > 3. Create a proxy service which refers to the WSDL endpoint in the registry > 4. Start Synapse and send a message to the proxy service > Message will be dispatched to the back end service, but Synapse will fail to route the response back. The following NPE occurs. > [2009-08-31 08:47:51,883] ERROR - NativeWorkerPool Uncaught exception > java.lang.NullPointerException > at org.apache.synapse.endpoints.WSDLEndpoint.onSuccess(WSDLEndpoint.java:59) > at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:208) > at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:135) > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:178) > at org.apache.synapse.transport.nhttp.ClientWorker.run(ClientWorker.java:230) > at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:58) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) > at java.lang.Thread.run(Thread.java:595) > This is because the endpoint returned by the AbstractRegistry is not initialized and hence does not have an associated EndpointContext. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org For additional commands, e-mail: dev-help@synapse.apache.org