on 02-09-2010 7:16 AM
Hi experts,
I have a senario of Proxy to webservices.
I have imported the wsdl file as external defination, and have to use two message inside 1) to Insert 2) To Update.
Now proxy will run twice a month with same data structure,
I have to do insert action first and 2nd time Update.
I have only one receiver. So How to achive this in communication channel >> Soap Action.
1> Is is possible to provide two Soap action in a single communication channel.?
2> do i need to create 2 mapping and two interface ? My Source coming from Proxy is with one structure.
Regards,
Sumit Gupta
>
> Hi experts,
>
> I have a senario of Proxy to webservices.
>
> I have imported the wsdl file as external defination, and have to use two message inside 1) to Insert 2) To Update.
>
> Now proxy will run twice a month with same data structure,
>
> I have to do insert action first and 2nd time Update.
>
> I have only one receiver. So How to achive this in communication channel >> Soap Action.
> 1> Is is possible to provide two Soap action in a single communication channel.?
> 2> do i need to create 2 mapping and two interface ? My Source coming from Proxy is with one structure.
>
> Regards,
>
> Sumit Gupta
You can either go for dynamic configuration and configure the action or you can go for two different Communication channels with separate actions.
In the proxy use a field as an indicator for the required action i.e INSERT or UPDATE and based on XPATH in your interface determination call the required channel or in case you are using a single channel create the dynamic action in your mapping based on that field.
Ref:
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
/people/suraj.sr/blog/2006/01/05/multiple-inbound-interfaces-within-a-service
/people/shabarish.vijayakumar/blog/2009/03/26/dynamic-configuration-vs-variable-substitution--the-ultimate-battle-for-the-file-name
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Make use of Dynamic Configuration to dynamically configure SOAP Action in the channel....do a validation in the mapping and check if it is an update/ insert and then accordingly configure the action....one channel will be sufficient then.
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.