Home » Language IDEs » ServerTools (WTP) » WS authentication
WS authentication [message #111026] |
Mon, 13 June 2005 18:09  |
Eclipse User |
|
|
|
Originally posted by: mylastname.mycompany.com
Hi,
I'm trying to use the web services explorer to explore some WSDL that
requires authentication (google adwords -
https://adwords.google.com/api/adwords/v2/CampaignService?ws dl ), but I
can't seem to find out to setup authentication information in the explorer.
In my java code I typically do something like:
String API_NS = "https://adwords.google.com/api/adwords/v2";
Stub stub = createService();
stub.setHeader(API_NS, "email", "foo@bar.com");
stub.setHeader(API_NS, "password", "foobar");
stub.setHeader(API_NS, "useragent", "MyID");
stub.setHeader(API_NS, "token", "blah");
Is it possible to set these headers in the explorer, or is it just not
implemented yet?
I'm using wtp-I20050610
Thanks,
Matt
|
|
|
Re: WS authentication [message #113311 is a reply to message #111026] |
Thu, 23 June 2005 10:30   |
Eclipse User |
|
|
|
Hi Matt,
The Web services explorer does not support headers at the moment. This is
definitely something that we want to support. Can you open an enhancement
request?
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Web%20To ols
Thanks,
Jeff
"Matthew Conway" <mylastname@mycompany.com> wrote in message
news:pan.2005.06.13.22.09.29.678744@mycompany.com...
> Hi,
>
> I'm trying to use the web services explorer to explore some WSDL that
> requires authentication (google adwords -
> https://adwords.google.com/api/adwords/v2/CampaignService?ws dl ), but I
> can't seem to find out to setup authentication information in the
explorer.
>
> In my java code I typically do something like:
> String API_NS = "https://adwords.google.com/api/adwords/v2";
> Stub stub = createService();
> stub.setHeader(API_NS, "email", "foo@bar.com");
> stub.setHeader(API_NS, "password", "foobar");
> stub.setHeader(API_NS, "useragent", "MyID");
> stub.setHeader(API_NS, "token", "blah");
>
> Is it possible to set these headers in the explorer, or is it just not
> implemented yet?
>
> I'm using wtp-I20050610
>
> Thanks,
>
> Matt
>
|
|
| |
Goto Forum:
Current Time: Tue Apr 22 12:43:50 EDT 2025
Powered by FUDForum. Page generated in 0.04209 seconds
|