Forwarding from axis-user

---------- Forwarded message ----------
From: Martin Gainty <[EMAIL PROTECTED]>
Date: Apr 20, 2007 7:20 PM
Subject: Re: Axis2 dispatcher and receiver
To: [EMAIL PROTECTED]




Ron/Paul--

are you verified synapse has run thru all the published SI testcases
with AXIS2 ?

(I did a quick run and see this displayed)

C:\Synapse\synapse-0.91\samples\axis2Client>ant stockquote

Buildfile: build.xml
init:
   [mkdir] Created dir:
C:\Synapse\synapse-0.91\samples\axis2Client\target\classes

compile:
   [javac] Compiling 10 source files to C:\Synapse\synapse-0.91\samples\axis2Cl
ient\target\classes
stockquote:
    [java] org.apache.axis2.AxisFault: SOAP message MUST NOT contain a Document
Type Declaration(DTD); nested exception is:
    [java]     org.apache.axiom.om.OMException: SOAP message MUST NOT contain a
Document Type Declaration(DTD)

???
I assume synapse is still in alpha ?

M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.


----- Original Message -----
From: Soactive Inc
To: [EMAIL PROTECTED]
Sent: Friday, April 20, 2007 1:00 PM
Subject: Re: Axis2 dispatcher and receiver

Can you or someone else provide a step by step approach (concrete
example) to use Synapse to route to a simple external service without
hardwiring any service information within the Synapse configuration.

I have tried to use Synapse but so far it doesn't seem to work for me.


On 4/20/07, Paul Fremantle <[EMAIL PROTECTED]> wrote:
Ron

You might like to take a look at Apache Synapse
(http://ws.apache.org/synapse) which is build on top of Axis2 and does
exactly that.

We have a flexible model where you can deploy any mediation before
routing the message on to an external service.

Paul

On 4/19/07, Soactive Inc <[EMAIL PROTECTED]> wrote:
> I am trying to use axis2 to dispatch all requests to a particular service.
> This service also has a registered receiver which executes the appropriate
> business logic (essentially calling other external services). All logic is
> currently within the receiver and there is not much to be done in the actual
> service invoked by the dispatcher. I am faced with an issue where the
> receiver is being called but not the service. Is there a particular
> signature for the service operation that I need to use. Currently I use the
> following:
>
> public boolean mediate(MessageContext synCtx) {...}
>
> I am wondering why the receiver is invoked but not the actual service. Is
> there a way to return / truncate processing directly from the receiver back
> to the caller?
>
> Thanks in advance,
> Ron
>


--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to