May be the 'action' header is garbled or something in the request.

Did you check sample 1 in the Synapse. It does not use addressing but sample
0 does, I think. Or try sample 1 directly without Synapse.
ant stockquote -Dtrpurl=http://localhost:9000/soap/SimpleStockQuoteService

Was there a WARN log before the ERROR log in the axis2server logs? You may
need to enable the root log level in the log4j.xml.

Could you put something like tcpmon between axis2server and client and see
what axis2server gets and the fault axis2server is returning.  The fault
should have some details about the problem.

Upul

On Fri, May 9, 2008 at 7:58 PM, <[EMAIL PROTECTED]> wrote:

> Hi all,
>
> I downloaded the latest Synapse 1.1.1 with Axis2 to implement it on the
> as400 system. (Java 1.5)
> When trying samples by Synapse, I can start Synapse and Axis2server
> successfully both on the PC and on the as400(without any error), but just
> cannot use the clientservice to call axis2server listener on as400, which
> works well on PC.
>
> So I've tested Axis2server seperately (without using Synapse) and directly
> called service between Client and Server.
>
>
> Client  ----->  Synapse  ----->  Axis2Server(Service)
>         8080             9000
>
> Client  ----->  Axis2Server
>         9000
>
>
> It worked great on PC and got the stockquote=xxxxx result. However on the
> as400, axis2server did not work but reported an ERROR.
>
>
> 2008-05-09 09:28:49,080 [-] [HttpServerWorker-1] ERROR ServerWorker Error
> processing POST request
> org.apache.axis2.AxisFault: The [action] cannot be processed at the
> receiver.
>        at java.lang.Throwable.<init>(Throwable.java:181)
>        at java.lang.Exception.<init>(Exception.java:29)
>        at java.io.IOException.<init>(IOException.java:28)
>        at java.rmi.RemoteException.<init>(RemoteException.java:51)
>        at org.apache.axis2.AxisFault.<init>(AxisFault.java:126)
>        at org.apache.axis2.AxisFault.<init>(AxisFault.java:269)
>        at
>
> org.apache.axis2.addressing.AddressingFaultsHelper.triggerAddressingFault(AddressingFaultsHelper.java:355)
>        at
>
> org.apache.axis2.addressing.AddressingFaultsHelper.triggerActionNotSupportedFault(AddressingFaultsHelper.java:320)
>        at
>
> org.apache.axis2.handlers.addressing.AddressingValidationHandler.checkAction(AddressingValidationHandler.java:140)
>        at
>
> org.apache.axis2.handlers.addressing.AddressingValidationHandler.invoke(AddressingValidationHandler.java:53)
>        at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
>        at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
>        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
>        at
>
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
>        at
>
> org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:226)
>        at
> org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:190)
>        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)
>
>
> Does anyone know, what's wrong here with axis2 and as400????? I really
> really need to solve this problem soonly and begin my implementation of
> Synapse............
>
>
>
>
> Thousand thanks,
> Cynthia
>
>
>

Reply via email to