Monday, December 26, 2011

SOAP Headers

In any BPEL process there is a limitation while invoking web-services and that is that we cannot send/receive any other variable/s other than the input and the output.
These scenarios mainly involve these activities : invoke, receive, pick etc.

The way around this is sending multiple variables using the SOAP headers wherein we can send and receive any number of variables.

There is a set format,syntax for that and can be implemented quite easily.
bpelx:inputHeaderVariable="Var1,Var2,..."

BPEL PM will take care of inserting the headers while creating SOAP envelope

Please refer to Oracle Documentation here

No comments:

Post a Comment