Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Using jLiveID. javax.xml.soap.SOAPException

510974Apr 19 2012
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.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 17 2012
Added on Apr 19 2012
0 comments
863 views