Michael
I changed the subject so that the mail indexes would be better for other
users who may be looking for the same topic..
The fault sequence of a proxy relates to the default 'fault' sequence of
a Synapse configuration. i.e. the faultSequence is used by Synapse when
it encounters an erroneous situation.
See
http://ws.apache.org/synapse/Synapse_Configuration_Language.html#sequence
"Synapse considers a sequence named "fault", or in its absence a
registry entry with a key "fault" as its general fault handler sequence.
If Synapse encounters an erroneous situation, it executes the defined
error handling sequence for the current context - which may be specified
as the 'onError' sequence for a sequence mediator. If a fault sequence
is not specified or cannot be found through the registry, Synapse will
create a defualt fault sequence that will perform a log of the message
at the log level 'full'."
The backend service returning a SOAP fault is not such a case. To handle
this particular case, you could use a filter mediator on the outSequence
to detect a SOAP fault and then a transformation to your desired
response/fault.
asankha
Michael Griffin 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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]