When using the published API for the publisher has been changed for the endpoints. According to: http://docs.wso2.org/display/AM160/Publisher+APIs#PublisherAPIs-AddUpdateAPI
From APIM 1.6.0 this service accepts endpoint configuration data as a JSON value. In endpoint config JSON you have to specify "endpoint_type" and "production_endpoints" and/or "sandbox_endpoints".
We configure the endpoint as
endpoint_config={"production_endpoints":{"url":"http://my.backend.server/HelloWorldService","config":null},"endpoint_type":"http"}
But what is the syntax if I want to define a WSDL endpoint? And how do I configure basic authentication in the API (username,password)?