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

List:       synapse-dev
Subject:    [jira] Issue Comment Edited: (SYNAPSE-401) New Sample to
From:       "Hiranya Jayathilaka (JIRA)" <jira () apache ! org>
Date:       2008-07-30 8:15:31
Message-ID: 1459176349.1217405731802.JavaMail.jira () brutus
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/SYNAPSE-401?page=com.atlassian.jira.plugin \
.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618245#action_12618245 ] 

hiranya edited comment on SYNAPSE-401 at 7/30/08 1:13 AM:
----------------------------------------------------------------------

I tried to run this sample on the latest snapshot bit faced some problems. First I \
got the following error in the Axis2 side.

2008-07-30 13:21:20,753 [-] [HttpServerWorker-1] ERROR AxisEngine The service cannot \
be found for the endpoint reference (EPR) \
                http://localhost:9000/soap/SimpleStockQuoteService
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference \
                (EPR) http://localhost:9000/soap/SimpleStockQuoteService
        at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:64)
  at org.apache.axis2.engine.Phase.invoke(Phase.java:334)
        at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:248)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:157)
        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
                
        at org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:244)
                
        at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:185)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
                
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
  at java.lang.Thread.run(Thread.java:595)
2008-07-30 13:21:20,755 [-] [HttpServerWorker-1] ERROR ServerWorker Error processing \
POST request 

Then I changed the address URI parameter in the Synapse configuration to \
http://localhost:9000/services/SimpleStockQuoteService and tried again. This time I \
got the following error.

2008-07-30 13:34:52,809 [-] [HttpServerWorker-1] ERROR RPCInOnlyMessageReceiver \
                Exception occurred while trying to invoke service method placeOrder
org.apache.axis2.AxisFault: namespace mismatch require http://services.samples found \
                http://services.samples/xsd
        at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:177)
                
        at org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:63)
                
        at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:112)
  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:170)
        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
                
        at org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:244)
                
        at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:185)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
                
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
  at java.lang.Thread.run(Thread.java:595)

However in both occasions Synapse didn't given any errors.

Any idea what's wrong? 


      was (Author: hiranya):
    I tried to run this sample on the latest snapshot bit faced some problems. First \
I got the following error in the Axis2 side.

2008-07-30 13:21:20,753 [-] [HttpServerWorker-1] ERROR AxisEngine The service cannot \
be found for the endpoint reference (EPR) \
                http://localhost:9000/soap/SimpleStockQuoteService
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference \
                (EPR) http://localhost:9000/soap/SimpleStockQuoteService
        at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:64)
  at org.apache.axis2.engine.Phase.invoke(Phase.java:334)
        at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:248)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:157)
        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
                
        at org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:244)
                
        at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:185)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
                
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
  at java.lang.Thread.run(Thread.java:595)
2008-07-30 13:21:20,755 [-] [HttpServerWorker-1] ERROR ServerWorker Error processing \
POST request 

Then I changed the address URI parameter in the Synapse configuration to \
http://localhost:9000/soap/SimpleStockQuoteService and tried again. This time I got \
the following error.

2008-07-30 13:34:52,809 [-] [HttpServerWorker-1] ERROR RPCInOnlyMessageReceiver \
                Exception occurred while trying to invoke service method placeOrder
org.apache.axis2.AxisFault: namespace mismatch require http://services.samples found \
                http://services.samples/xsd
        at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:177)
                
        at org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:63)
                
        at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:112)
  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:170)
        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
                
        at org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:244)
                
        at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:185)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
                
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
  at java.lang.Thread.run(Thread.java:595)

However in both occasions Synapse didn't given any errors.

Any idea what's wrong? 

  
> New Sample to demonstrate FIX to HTTP switching 
> ------------------------------------------------
> 
> Key: SYNAPSE-401
> URL: https://issues.apache.org/jira/browse/SYNAPSE-401
> Project: Synapse
> Issue Type: Improvement
> Components: Transports
> Affects Versions: 1.2
> Reporter: Asanka Abeysinghe
> Assignee: Hiranya Jayathilaka
> Attachments: SYNAPSE-401.patch
> 
> 
> Add a new Sample to demonstrate FIX to HTTP switching  to the Synapse sample \
> library. 

-- 
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


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

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