Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » WS authentication
WS authentication [message #111026] Mon, 13 June 2005 18:09 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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
>
Re: WS authentication [message #115351 is a reply to message #113311] Fri, 01 July 2005 18:17 Go to previous message
Eclipse UserFriend
Originally posted by: mylastname.mycompany.com

On Thu, 23 Jun 2005 10:30:28 -0400, Jeff Liu wrote:

> definitely something that we want to support. Can you open an enhancement
> request?

Done: https://bugs.eclipse.org/bugs/show_bug.cgi?id=102538

Matt
Previous Topic:XML source editor missing?!
Next Topic:Folding of XML files
Goto Forum:
  


Current Time: Tue Apr 22 12:43:50 EDT 2025

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

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

Back to the top