SAP Message WSS039 - Wrong token type received. Endpoint expects &1 token.

Diagnosis
The authentication token type received at this Web Service endpoint wasunexpected. The Trusted Issuer setting for this Web Service Endpointdemanded &V1& tokens but the Web Service Consumer did not provide such atoken.
Requested SAML token types are maintained in Web Service Policies insidetransaction SAML2. Referencing such a Web Service Policy as Trusted SAMLIssuer setting within a Web Service endpoint defines the expected tokentype for this Web Service endpoint. Web Service endpoints are maintainedin transaction SOAMANAGER.

Procedure

Procedure for System Administration
Most probably a SAML token of a wrong version has been sent. Change theWeb Service consumer configuration to provide the expected SAML tokentype.