Forum OpenACS Development: Re: Problem while sending an array to an axis2 web service

Hi Javi!

Try the following (beware, this is untested!):

1) Set the marshalling style to document/literal:

set s4 [SoapGlueObject new \
-endpoint "http://192.168.1.102:8080/WWS-Server/services/ArrayWS"; \
-callNamespace "http://server.com"; \
-messageStyle "DocumentLiteral"
]

2) Change your Axis2 web service to run in RPC/literal mode (which is the default of xosoap).

Note that xosoap has never been fully tested regarding Document/Literal style marshalling.

//stefan

Hi Stefan

Thanks for your help.

Unfortunately I have to use Doc/literal style due to interoperability reasons, and when I pass the messageStyle parameter it produces this error even if I send a string:

-can't read "message": no such variable-

Are there any other way to consume this kind of service or should I to develop my own one?

Thanks again.

Javi