I need to create webservice in soap with wssecurity and the webservice has to be handled in the mobile device. I have generated wsdl with many samples.
for your reference:
Both the link works. But i need to add webservice security for this. I could not access this in android (using 1st link) It returns soap fault.
Can anyone give suggestion on doing this.
What i actually need is need to create the following header in webservice call from android.
<s:header>
<wsse:security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:usernametoken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:username>TestUser</wsse:username>
<wsse:password type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">TestPassword</wsse:password>
</wsse:usernametoken>
</wsse:security>
And I need to access this in my webservice. Please someone do help on doing this.
Thanks in advance.