Hi,
I am trying to send a SOAP Message from a HCP Application to a Webservice from Cloud for Customer.
The request uses basic authentication.
My problem now is, that I get a SOAP Exception saying that there is a illegal character in the auth header.
Illegal character(s) in message header value:Basic
After searching in google I think that there is a new line character at the end of the credentials which causes
the error and this seems to be a bug in a library from sun. However I use the apache implementation of the
Base64 class and I tested whether there is such a new line character but everything is alright.
If I run it as a local Java application every works fine and the request is successful but in the cloud environment
I always get this error.
Does anyone face the same issue or know a resolution to this problem?
Any help will be appreciated.
Thanks in advance and best regards
Felix