On December 4, 2004 05:57 pm, V D wrote:
> I am not sure this is my own case, or it's general to other people.
>
> I got Axis to work well with rpc/encoding style.  However, since
> switching to document/literal style, I have all kind of problems.
> Problem with Java2Wsdl generating wrong wsdl file, problem with requests
> works and fail randomly, problem with some parameters within a request
> being sent, and some not, and problem with some request does not work at
> all.
>
> It's strange to me that Axis 1.2 is at RC2, and I am still having these
> problems.  Because RPC is the default mode of Axis, I think that's why
> it's working with in this mode.
>
> How was your experience with Axis handling document/literal style?
>

With doc/lit, we found that we need to pass data structures back and forth in 
String array form. We cannot pass anything more complex (like Hashmaps of 
Hashmaps or ArrayLists of custom objects). So if we need to pass complex data 
structures, we "serialize" it into a few arrays containing all the 
information in the complex data structure, then put it into a custom object 
containing just all arrays, then we "de-serialize" it back into the actual 
complex data structure on the other end.

We however do not experience random error as you described.

I would like to suggest you keep things simple when using doc/lit as doc/lit 
is not a complete part of axis and can have a lot of undefined behavior.

I am wondering why axis still insists on use rpc as default as it does not 
scale well and is effectively useless in production environments with more 
than one concurrent hit?

--
Lyndon Tiu

Reply via email to