How does a wsimport generated client work?

Before I answer the questions, some clarification: JAX-WS is a specification for implementing web services in Java. It describes how WSDL artifacts can be mapped to Java classes and how this mapping can be applied using annotations. You can download the specification here. The tool wsimport is part of the reference implementation of this specification … Read more

How to generate OAuth 2 Client Id and Secret

As section 2.2 of The OAuth 2.0 Authorization Framework says: The authorization server issues the registered client a client identifier — a unique string representing the registration information provided by the client. The client identifier is not a secret; it is exposed to the resource owner and MUST NOT be used alone for client authentication. … Read more

WCF using computer name instead of domain name when viewing MyService.svc?wsdl

WCF 4.0 has solved this issue in some instances with a new config option that use Request Headers: <behaviors> <serviceBehaviors> <behavior name=”AutoVaultUploadBehavior”> <useRequestHeadersForMetadataAddress> <defaultPorts> <add scheme=”https” port=”443″ /> </defaultPorts> </useRequestHeadersForMetadataAddress>

HTTP Basic Authentication instead of TLS client certification

[the] poster says if we dont use client SSL certification server does not really know whom its talking to. That’s not what I said 🙂 This is what I said: Unless you’re using TLS client authentication, SSL alone is NOT a viable authentication mechanism for a REST API. alone being the key word here. Also: … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)