Yes. SOAP-ENC is used to encode several arrays.

Together with our external partner we found the following solution: We 
flattened the hierarchy of the message.

In the original version the message looked something like that:

  | <response>
  |   <component 1>
  |    [...]
  |     <subcomponent>...</subcomponent>
  |   </component1>
  |   ...
  |   <component N>.../componentN>
  | <return href=#1/>
  | </response>
  | 

Our partner changed it to:

  | <response>
  |   <return href=#1>
  | </response>
  | <component1 id=1>
  |   [...]
  |   <subcomponent href=#2 />
  | </component>
  | <subcomponent id=2>...</subcomponent>
  | 
All parts that were previously sub-tags of the reponse tag where moved to the 
same level as the response tag and references were inserted.
With this version of the message JB4.0.2 is quite happy and JB3 accepts it 
without problems too.

To be honest we found this solution by accident. We do not really understand 
why this version works and the other does not. The wsdl for the service was not 
changed - our partner just configured his system to produce "flattened" 
response messages.

Because of the fact that JB4.0.3 does not accept the message we assume that we 
have only found a workarounb but have not solved the problem.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to