Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » web service data source and security
web service data source and security [message #362073] Tue, 29 April 2008 13:40 Go to next message
Eclipse UserFriend
Originally posted by: orinakar.inter.net.il

Hello,

I have a web service data source that requires security. I have to add
header to the SOAP request with the user name and password.
When the request is static (I edited the request at design time) everything
is working but I don't want my data source to hold the user name and
password - I want to get the username and password from the session.

I thought of doing it using parameters. The data source request looks like
this:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="http://services.MyCompany.com">
<soapenv:Header>
<wsse:Security
xmlns:wsse=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wsse curity-secext-1.0.xsd">
<wsse:UsernameToken>
<wsse:Username>&?Username?&</wsse:Username>
<wsse:Password>&?Password?&</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<ser:MyWSDLMethodCall/>
</soapenv:Body>
</soapenv:Envelope>

Now again, when I give my parameters static values it works fine - but I
need to get the data from the session. I haven't found a way to write a
script for a parameter value, and I'm not sure if I should use external
script to update the parameter value (is it possible), and if so - which
script?

If there is another (working) way to do I'll be very glad to know.

Thanks,
Ori
Re: web service data source and security [message #894564 is a reply to message #362073] Mon, 09 July 2012 15:38 Go to previous message
Jana Fischereit is currently offline Jana FischereitFriend
Messages: 1
Registered: July 2012
Junior Member
Hi Ori,

I was wondering whether you found a solution for your problem? I am looking for a solution for that exact problem but couldn't find one until now.

Hope to hear from you.
Previous Topic:Error in Localization?
Next Topic:How to add a value in dynamic filter to select all the values of that filter
Goto Forum:
  


Current Time: Thu Apr 25 12:44:57 GMT 2024

Powered by FUDForum. Page generated in 0.05192 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top