Skip to main content

developerWorks >  SOA and Web services  >  Forums  >  IBM WebSphere DataPower SOA Appliance  >  developerWorks

Forward from WS Proxy to MPG    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 4 - Pages: 1 - Last Post: Nov 9, 2009 9:09 AM Last Post By: Liv2luv
Liv2luv

Posts: 25
Registered: Sep 26, 2009 12:29:39 PM
Forward from WS Proxy to MPG
Posted: Nov 06, 2009 01:55:20 PM
Click to report abuse...   Click to reply to this thread Reply
Currently, I am validating a SOAP request using ws proxy. How can I forward the same request to a MPG object from ws proxy ?

Do I have to write a stylesheet, any example or any pointers please.

Thanks
IBM employee or contractor cscobie

Posts: 514
Registered: Oct 26, 2007 12:34:15 AM
Re: Forward from WS Proxy to MPG
Posted: Nov 08, 2009 12:38:05 AM   in response to: Liv2luv in response to: Liv2luv's post
Click to report abuse...   Click to reply to this thread Reply
This sounds like a bad idea. If schema validation is the only value that you get from WS-Proxy, why not pull a VALIDATE step into the MPGW policy and do it all in one step (with a dynamically determined schema of course)?

Don't be fooled into service chaining because it is convenient. Every chained service incurs additional overhead in payload serialization, parsing and XML validation. It is possible to undo all the inherent performance optimization of the SOA Appliance platform by bouncing the same payload off of a bunch of services.

The most successful SOA Appliance customers have a maximum of 2 chained services (only when necessary), and a minimum of rules to drive those services, but each action is driven dynamically with multi-step variables.

Corey
Liv2luv

Posts: 25
Registered: Sep 26, 2009 12:29:39 PM
Re: Forward from WS Proxy to MPG
Posted: Nov 08, 2009 10:24:26 PM   in response to: cscobie in response to: cscobie's post
Click to report abuse...   Click to reply to this thread Reply
Thanks for your input Corey. Your point is well taken and I completely understand what you say.

But I wanted to see service chaining in action and did not get to understand how to forward a request from ws proxy to a mpgw. Appreciate if you can throw some light on it.

Thanks
terza

Posts: 46
Registered: Feb 28, 2008 07:33:08 AM
Re: Forward from WS Proxy to MPG
Posted: Nov 09, 2009 01:28:47 AM   in response to: Liv2luv in response to: Liv2luv's post
Click to report abuse...   Click to reply to this thread Reply
In the "Proxy settings" tab for the Web Services Proxy you have the field "Backend URL". Enter the MPG address there and thats all. Remember that for the proxy "Type" you need to have "static backend" to be able to enter the backend url.
Liv2luv

Posts: 25
Registered: Sep 26, 2009 12:29:39 PM
Re: Forward from WS Proxy to MPG
Posted: Nov 09, 2009 09:09:16 AM   in response to: terza in response to: terza's post
Click to report abuse...   Click to reply to this thread Reply
I believe you mean the IP and Port combination of the MPGW front side handler in the 'Backend URL' field. Correct me if I am wrong.

Thank you.

Point your RSS reader here for a feed of the latest messages in all forums