2009年6月25日星期四

[fw-webservices] Re: Soap Server incompatiiblity with .NET Client

Ronny Srnka wrote:
> I am now using the trunk version of the Soap component. It resolves my
> previous issue

Good news!

> I ended up using Zend_Soap_Wsdl_Strategy_ArrayOfTypeComplex because
> Zend_Soap_Wsdl_Strategy_ArrayOfTypeSequence did not allow me gave a
> fatal error:
>
> Fatal error: Uncaught exception 'Zend_Soap_Wsdl_Exception' with message
> 'ArrayOfTypeSequence Strategy does not allow for complex types that are
> not in @return type[] syntax. "MyFirstObject" type was specified.' In
> ....
> [...]
>
> It seems that this would be a render ZF-6349 not fixed? Or is this a
> separate issue.
>

This is a separate issue for which you can find a patch in ZF-6742:
http://framework.zend.com/issues/browse/ZF-6742

So I would recommend using ArrayOfTypeSequence with the 'v2' patch. I hope it
will be applied to the official trunk before 1.9 ... it is not the best solution,
but it is simple and solves that particular issue.

- Fabien.

没有评论: