There is an interop issue here. We don't support publishing doc/lit endpoints 
yet. There is an open issue, BPEL-76 tracking that.

Let's focus on what we can do right now to handle the problem. According to 
WS-I Basic Profile, RPC/literal operations must use messages with parts 
described only with XML Schema types. When presented with an element part, each 
implementation will react differently to this outruled situation.

Your client seems to put the element content directly in the part accessor. 
However, jBPM BPEL expects the element to be the only child of the part 
accessor:
<jbpm:msg0 xmlns:jbpm="http://jbpm.org/bpel";>
  |   <parameters>
  |     <my:ReverseAndConcatNames xmlns:my="http://my.namespace";>
  |       <firstName>Martin</firstName>
  |       <secondName>Steinle</secondName>
  |     </my:ReverseAndConcatNames>
  |   </parameters>
  | </jbpm:msg0>
As a workaround, convert the received message to the expected form:
<variables>
  |   <variable name="myVar" messageType="rcn:ReverseAndConcatNamesSoapIn" />
  |   <variable name="myVar2" messageType="rcn:ReverseAndConcatNamesSoapIn" />
  | </variables>
  | <sequence>
  |   <receive variable="myVar" operation="ReverseAndConcatNames" 
portType="rcn:SampleServiceSoap" [...]/>
  |   <assign>
  |     <copy>
  |       <from variable="myVar" part="parameters"/>
  |       <to variable="myVar2" part="parameters" 
query="/rcn:ReverseAndConcatNames"/>
  |     </copy>
  |   </assign>
  |   <invoke inputVariable="myVar2" operation="ReverseAndConcatNames" 
portType="rcn:SampleServiceSoap" [...]/>
  |   <reply [...]/>
  | </sequence>

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916754#3916754

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916754


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to