This discussion is archived
0 Replies Latest reply: Apr 19, 2012 2:54 AM by 510974 RSS

Using jLiveID. javax.xml.soap.SOAPException

510974 Newbie
Currently Being Moderated
Hello,

Is it possible that I may have some guidance on this issue please:

I am using jLiveID (a free API, http://www.jproductivity.com/products/jliveid/index.htm)

I have JDeveloper 11g, I created a new Generic Application, included the jLive-id.jar and other jLiveID related files.
Other libraries are: JSP Runtime, Java EE 1.5, Oracle SOAP.

I created one jsp and calling the following code from it:

SecurityToken securityToken = new LogonManager().logon("mydomain", "theuser", "thepassword");
out.println("Logon succeeded!");
out.println("Passport Token: " + securityToken.getBinarySecurityToken());

But it is throwing following exceptions:

javax.xml.soap.SOAPException: There was no Content-Type header

and

[ServletContext@16404998[app:WindowsLiveTest module:WindowsLiveTest path:/WindowsLiveTest spec-version:2.5]] Servlet failed with Exception
java.lang.NullPointerException

Any assistance in getting this API work with me will be really appreciated. Thanks.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points