java - soap header issues <wsse:Security> header -


so, i've been given wsdl link through have consume soap services.as i'm running java code exception : exception in thread "main" javax.xml.ws.soap.soapfaultexception: error discovered processing header after trying testsuit soupui i'm receiving same error ns1:invalidsecurity error discovered processing <wsse:security> header i'm pretty new soap web services.can please guide me steps how add headers in java code authentication. thank :)

okay have fixed issue had manually add custom headers request message. had detach previous header , append custom header request message. hope next time getting type of exception may this.


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -