Author |
Message
|
spider |
Posted: Wed Nov 08, 2006 6:42 am Post subject: Calling webservice with WAS security from MB |
|
|
Novice
Joined: 19 Feb 2006 Posts: 23
|
Hi,
Am trying to call a webservice using HTTPRequest node. But the problem is that the security has been enabled at the WAS level and hence it fails to autheticate.
If I try to call the webservice without security, it works fine, but with security it fails.
Should I make any changes to the SOAP msg structure or is there something else to be done from MB side.
Thanks in advance... |
|
Back to top |
|
 |
mgk |
Posted: Wed Nov 08, 2006 8:42 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
The HTTPRequest node does not really support security (apart from SSL). However, you can make basic auth work if that is that kind of security you are using. What security is the server expecting? _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
spider |
Posted: Wed Nov 08, 2006 8:51 am Post subject: |
|
|
Novice
Joined: 19 Feb 2006 Posts: 23
|
Hi mgk,
The server is expecting LDAP security...
Is it possible to make it work? |
|
Back to top |
|
 |
mgk |
Posted: Wed Nov 08, 2006 9:03 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
Hi,
You did not answer the question. LDAP is the backend (how the credentials are verified), what is the HTTP level security the sever expecting? HTTP BasicAuth?, WS-Security? something else? _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
spider |
Posted: Wed Nov 08, 2006 9:08 am Post subject: |
|
|
Novice
Joined: 19 Feb 2006 Posts: 23
|
Hi mgk,
Actually the webservice is on WAS which is configured with the LDAP security. So its the WS-Security and the type of auth is basic.
Plss help... |
|
Back to top |
|
 |
mgk |
Posted: Wed Nov 08, 2006 9:28 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
Can you post a sample message that shows what the server is expecting?
If you are using WS-Security, you should know that the HTTPRequest node does not support WS-Security. You may be able to make it work by writing the code to do this in a JavaCompute node but it would not be a simple task. _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
spider |
Posted: Wed Nov 08, 2006 10:10 pm Post subject: |
|
|
Novice
Joined: 19 Feb 2006 Posts: 23
|
Hi mgk,
Looks like i will hav to do it using the java compute node...
Thanks anyways... |
|
Back to top |
|
 |
|