前台和Java后台之间用Restful Service通讯,Java端需要访问有安全认证(Username/Password Authentication)的Web Service,请求和响应的xml都蛮复杂的,xml还要和json进行转换。因为我的App Server是支持JavaEE 7的WebLogic,J2EE 7里的Jax-rs 2.0和Jsonp对restful支持蛮不错的,那访问Web Service应该怎么实现呢?尤其是Authentication怎么做比较好?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
小伙看你根骨奇佳,潜力无限,来学PHP伐。