Reputation: 31
For securing Maximo web services on an environment security has been configured but without succeeding:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns0:Fault xmlns:ns1="http://www.w3.org/2003/05/soap-envelope" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>ns0:Server</faultcode>
<faultstring>javax.xml.ws.WebServiceException</faultstring>
</ns0:Fault>
</S:Body>
</S:Envelope>
Kindly help.
Upvotes: 2
Views: 1010
Reputation: 31
It is working fine now after passing the correct HTTP header, below is the explanation:
When sending the transaction, the specified value for the HTTP Header MAXAUTH value was not in the correct format and encoding.
The correct value should be a in the following format username:password encoded as a Base64 string, where username:password is a valid Maximo user.
Correct value of username:password encoded as a Base64 string, where username:password is a valid Maximo user.
For example, if Maximo username:password is maxadmin:max12345! then the MAXAUTH HTTP header Base64 string value is bWF4YWRtaW46bWF4MTIzNDUh
Upvotes: 1