Hi Michael,

According to the current implementation faultSequence is executed only if an
internal server (Synapse server) error has occurred. That is for runtime
errors in Synapse, not for the proxied service faults.

But you could easily do the custom Fault generation if there is a Fault from
the proxied service by using a Filter mediator in the out sequence to filter
the faults. Then inside that filter you can use the makeFault mediator to
generate custom faults to the client.

Just give it a try;

Thanks,
Ruwan.

On 6/22/07, Michael Griffin <[EMAIL PROTECTED]> wrote:

Thanks for the ideas.  I'll give them a try.

Do you know under what conditions the faultSequence is executed for a
proxy?
What I want to do is intercept faults generated by the proxied service and
generate a fault that is aligned with the published WSDL on the client
side
of the proxy.
  -----Original Message-----
  From: Asankha C. Perera [mailto:[EMAIL PROTECTED]
  Sent: Friday, June 22, 2007 1:34 PM
  To: [email protected]
  Subject: Re: Dynamic Proxy??


  Hmm.. Just looked at the code, and I must admit, I never tried sending
messages out of Synapse through another proxy.. The default Java settings
"-DproxySet=true -DproxyHost=myhost -DproxyPort=myport" may help when
starting up Synapse - but I am not sure this may work with the low level
NIO
transport - but you could give it a try. As for logging, why not use
Synapse
to log the messages? Also TCPMon would be useful..

  asankha

  Michael Griffin wrote:
I'm just looking for some direction on how to configure synapse to send
it's
outbound requests through a proxy server so that I may watch the
traffic...

-----Original Message-----
From: Asankha C. Perera [mailto:[EMAIL PROTECTED]
Sent: Friday, June 22, 2007 12:35 PM
To: [email protected]
Subject: Re: Dynamic Proxy??


Michael

Both are possible.. I don't see any specific problems.. however, if you
have a specific concrete scenario for which you require implementation
help, I would be glad to help

asankha

Michael Griffin wrote:
  I'm sorry.  I wasn't clear.  I really want to do both.  Using Synapse as
a
proxy to an existing web service, I would like to use a dynamic definition
which I can't do but can use dynamic resources for the various things that
make up the definition of the proxy :-)  I would also like to interpose a
proxy server between Synapse and the proxied service's endpoint.
  -----Original Message-----
  From: Asankha C. Perera [mailto:[EMAIL PROTECTED]
  Sent: Friday, June 22, 2007 12:18 PM
  To: [email protected]
  Subject: Re: Dynamic Proxy??


  Michael

  Sorry, your question is not clear to me.. do you want to use Synapse as
    a
  proxy? (i.e. for clients that connect to services through Synapse) or
for
Synapse to connect to external services (on behalf of its clients) through
    a
  proxy?

  asankha

  Michael Griffin wrote:
Okay thanks.  Do you know of an easy way to get the synapse to use a proxy
server?

-----Original Message-----
From: Asankha C. Perera [mailto:[EMAIL PROTECTED]
Sent: Friday, June 22, 2007 12:01 PM
To: [email protected]
Subject: Re: Dynamic Proxy??


Michael

This is a mistake in our documentation and I apologize for any
inconvenience caused. We currently do not support Dynamic proxies

asankha

Michael Griffin wrote:
  In the documentation for the configuration language there is a reference
    to
  being able to create a dynamic proxy using a key to a remote registry
definition.  Does anyone know how to configure this?  I tried things like
<proxy key="..."/> without any luck.  Ideally I would like to put my
complete proxy definition in an external file, and reference it in the
synapse configuration via key.

Thanks,
Michael



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




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





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


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



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





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


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




--
Ruwan Linton
http://www.wso2.org - "Oxygenating the Web Services Platform"

Reply via email to