as simple as this:

Go to your domains control panel on google.
User Accounts
Settings
Enable provisioning API

As simple as that... hihihi

Cheers,
Angel


On 14 nov, 17:11, kelete <[EMAIL PROTECTED]> wrote:
> how can it be that from changing this line from:
>     gDataControl client = new gDataControl("[EMAIL PROTECTED]",
> "admin_psw", "the.domain1.es");
> to :
>         gDataControl client = new gDataControl("[EMAIL PROTECTED]",
> "admin_psw", "domain2.com");
>
> the thing stops working?
> What header info am I supposed to send? no help no where on this...
> any guru can help?
>
> many thanks
> Angel
>
> PS: Stack:
> Exception in thread "main" java.lang.NullPointerException: No
> authentication header information
>         at
> com.google.gdata.util.AuthenticationException.initFromAuthHeader(Unknown
> Source)
>         at com.google.gdata.util.AuthenticationException.<init>(Unknown
> Source)
>         at
> com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(Unknown
> Source)
>         at
> com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(Unknown
> Source)
>         at
> com.google.gdata.client.http.HttpGDataRequest.checkResponse(Unknown
> Source)
>         at com.google.gdata.client.http.HttpGDataRequest.execute(Unknown
> Source)
>         at com.google.gdata.client.http.GoogleGDataRequest.execute(Unknown
> Source)
>         at com.google.gdata.client.Service.getFeed(Unknown Source)
>         at com.google.gdata.client.GoogleService.getFeed(Unknown Source)
>         at
> com.google.gdata.client.appsforyourdomain.AppsForYourDomainService.getFeed(Unknown
> Source)
>         at com.google.gdata.client.Service.getFeed(Unknown Source)
>         at
> com.google.gdata.client.appsforyourdomain.AppsForYourDomainService.getFeed(Unknown
> Source)
>         at gData.gDataControl.retrieveAllNicknames(gDataControl.java:768)
>         at gData.gDataControl.activaUsr(gDataControl.java:118)
>         at gData.gDataControl.main(gDataControl.java:1121)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to