Hello!
Try to get the XML request: switch on log and trace (full) in SOAMANAGER, restart Your application and invoke the webservice:
Transaction SOAMANAGER, tab 'Logs and Traces'
- 'Logs Configuration': create a new entry with Your interface name and username, log level: all entries
- 'Trace Configuration': create a new entry with Your interface name and username, trace level: full trace
Restart and invoke Your interface (the webservice consumer). Back to the SOAMANGER, go to 'Logs/Trace Viewer'; search for the last 30 minutes and select Your line (probably marked with a red icon). Then select the tab 'Payload Trace' and inspect the XML request:
- verify the UsernameToken - element,
- verify username/password
Inspect also the XML response, maybe the server requires the password type, which is usually NOT provided by SAP. If this is the case, please reply.
After the test, remove Your log/trace settings (for performance and disk space saving).
It is always a good idea to test the webservice with SOAPUI (which will surely succeed) and to compare both requests.