Skip to content

@WebParam header doesn't work #53

@dmarczydlo

Description

@dmarczydlo
    /**
     * @WebMethod
     * @WebParam(param="string $token", header=true)
     * @WebParam(param="object $user { string $name int $age }")
     * @WebResult(param="object $userContext { string $token int $id object $userInfo { string $name int $age } }")
     */
    public function getUserContext($token, $user)
    {
        return $user;
    }

The code above doesn't work.
My Soap client return Too few arguments to function getUserContext(), 1 passed and exactly 2 expected

It looks like the $token variable is not handle.

@piotrooo do you know what can be a reason? I based on your test files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions