You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class MobileController extends Controller
{
/** * Get all usefull data related to a meeting * * @Soap\Method("getMeetingDetails") * @Soap\Param("userId", phpType = "int") * @Soap\Param("meetingId", phpType = "int") * @Soap\Result(phpType = "PTC\NoventoBundle\TO\MeetingDetail") */publicfunctiongetMeetingDetailsAction($userId, $meetingId)
{
...$this->get('logger')->info('--------- Meeting object Server Side ---------');
$this->get('logger')->info(print_r($meetingDetail, true));
return$meetingDetail;
}
It's easily to show the problem when you set a Client and Server with the same transfer object model.
For example, I have an entity used by Client (classMap) and Server:
Service is defined on server side as:
The call is made from client side as:
Config on client side:
Log of meetingDetail on server side, just before sending response:
Log of meetingDetail on client side when calling service:
As you can see an item node is added in the object.
Currently, the structure of the corresponding complexType in WSDL is:
But I think we should have (like with EJB3):
The text was updated successfully, but these errors were encountered: