Tuesday, May 25, 2010

OSB Local Transport with Java Request Message Type

I am invoking a Proxy Service defined as
"Local Transport with Java Request Message Type and Java Response Message Type"

and, not matter whan I specify as a payload, I get a:
BEA-382054 :

Expected [[http://www.bea.com/wli/sb/context]java-content] element under $body is missing or invalid

The documentation says:

http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e15034/Router.html


BEA-382054
Error: Expected [[http://www.bea.com/wli/sb/context]java-content] element under $body is missing or invalid

Description
Services of Messaging Type : Java are expected to contain a valid [[http://www.bea.com/wli/sb/context]java-content] child element under $body.
Action
Make sure the contents of $body conforms to expected format. One can use Log action to log and examine the contents of any message context variable, including $body



but the OSB11 documentation doesn't mention Java Request Message Type... so I am not sure what should the java-content  should look like....

This http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/context.html#wp1106656  might give some clues... in fact you are supposed to have in the body an element


<java-content ref="cid:kkkkeeeeyyyy"/>

No comments: