내가 자바 기반의 웹 서비스를 소비하기 위해 노력하고있어 및 매번 난 그냥 그 같은 errror 얻을 연결을 시도 :C#을 소모 자바 SOAP 서비스 WSSecurity
org.apache.ws.security.WSSecurityException를 : 보안 토큰은 인증 또는 허가되지 않을 수 있습니다.
서비스 관리자는 내가 보낸 AES 키로 암호화 된 암호를 보내야한다고 말했습니다.
내가 그 서비스에있는 모든 방법을 실행하려고하면 오류가 발생 지금까지
<client>
<endpoint address="http://webservicer2:8088/billing/"
binding="basicHttpBinding" bindingConfiguration="ServiceBill3"
contract="ServiceBilling.ServiceBillingContract" name="ServiceBill3">
<headers>
<wsse:Security soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"
soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<wsse:UsernameToken wsu:Id="UsernameToken-1" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>ohmygod</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">bbqsauce</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</headers>
</endpoint>
</client>
내 Web.config의에 어떤 이잖아. 내 키를 추가하려면 어떻게해야합니까? 누구?
, 거기에 감사를 깊게 살펴볼 것이다! – Alexandre