Hi guys!, a have been a long time without opening my eclipse ide. But today i start over again in an old Java EE project. My clients needs a webservice to be consumed through soap 1.2 from PHP 5.
I write the webservice using jax-ws ri 2.2.10 (latest) and try to consume it from PHP using SoapClient.
The problem is when i try to map the classes returned by the WS to PHP classes, using classmap array on SoapClient constructor.
My WS returns an object called "InformesListResponse" which has an attribute called "informes" of type ArrayList<InformeResponse>; InformeResponse is an object who has only strings attributes.
This is my code:
The PHP client:
The generated wsdl:
And the schema xsd
If i change the value "name" of @WebResult to something different of "return" (which is the default value). So var_dump($result); returns NULL. But if live the value name to its default, the ws returns this: