Authenticate JDEdwards User in Published business service


Active Member
I'm relatively new to JDE and using jde demo instance (with JDeveloper and weblogic server) for my learning purposes to see how business services works. My question is how to pass jde user credentials from an external non jde application to a published business service to authenticate users. If I try to access the deployed published business service in weblogic after logging into the solution explorer, I'm getting the intended response. But, If I try to access the same published business service without logging into the solution explorer, I get "Credentials could not be validated from the message or configuration file". Looking through the web, I see the E1loginModule is enabled when a published business service is packaged and deployed into the weblogic server. So,my understanding is every published business services that is deployed to weblogic is secured by default. Any help or insight on how to pass the credentials from the client application to published business services or settings that I need to make in the weblogic application server/published business services to accept the credentials?
ws-security is used in the soap document

here is an example of a soap header.

<wsse:Security xmlns:wsse="" xmlns="" xmlns:env="" soapenv:mustUnderstand="1">
@nkuebelbeck.. Thanks for your reply.. just have one question. Should I've to attach any security policies to my published business service deployed in weblogic for the client application to pass the credentials?
Should I've to attach any security policies to my published business service deployed in weblogic for the client application to pass the credentials?

if you mean as part of the wsdl, no. the clients will have to implement that themselves.
@nkuebelbeck .. Thanks that's what I mea..
1. Can I pass even the environment and role in the SOAP header you mentioned ? If so, should be a part of username itself like "DN=USER,ENV=DEMO,ROLE=*ALL" or is it different?
2. Once authenticated, I see a security token that's generated. For subsequent requests, how do I pass the token alone in the SOAP header for authorization?
I tried passing the credentials in the SOAP header. Below is my SOAP request.

<?xml version="1.0" encoding="UTF-8"?>
<S:Envelope xmlns:S="">
<wsse:Security xmlns:wsse="" xmlns="" xmlns:env="">
<wsse:password Type="">DEMO</wsse:password>
<getItemElement xmlns="http://oracle.e1.bssv.JP55IT/">

But I'm getting the following issue

Exception in thread "main" Failed to invoke end component oracle.e1.bssv.JP55IT.ItemManager (POJO), operation=getItem
-> Failed to invoke method
-> Credentials could not be validated from message or from configuration file.

Not sure what I'm missing here...
If I give an input from the SOAP UI without logging in to the fat client, I get the following error.
Please find the attached screenshots on request/response




SOAP Request portion by default doesn't include SOAP header. How can I include that to make them available as a part of SOAP request when using this SOAP UI?
Any help or directions on this would really be helpful... :(


  • Request.jpg
    16.3 KB · Views: 21
Hi karthik9891,

yes, you can include the header in SOAPUI , i have add this portion before the body tag as follow:

<soapenv:Envelope xmlns:soapenv="" xmlns:eek:rac="http://oracle.e1.bssv.JP550009/">
<wsse:Security xmlns:wsse=""
<wsse:UsernameToken xmlns:wsse=""
<wsse:password Type="">PASSWORD</wsse:password>
You just have to put header envelop in beginning of your xml provided in previous posts.