Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Web Service and Distant authentification

Avatar

Avatar
Level 5
_jerome_dinnat_
Level 5

Likes

0 likes

Total Posts

180 posts

Correct Reply

0 solutions
View profile

Avatar
Level 5
_jerome_dinnat_
Level 5

Likes

0 likes

Total Posts

180 posts

Correct Reply

0 solutions
View profile
_jerome_dinnat_
Level 5

19-09-2008

Hi,



I use short-lived process as WebServices in my forms.



When I use them in the workspace on a distant computer, a prompt appears for authentification.



There is the code I use to invoke my WebServices. I try with and without the line : service.authenticator = oAuthenticator;



----------------------------------------------------

var secure = true;



var oAuthenticator =



{



Username: "administrator",



Password: "password"



};

------------------------------------------------------

var service = SOAP.connect(cWSURLliste);



if (secure){



service.authenticator = oAuthenticator;

xfa.host.messageBox("authentification");



}



if(typeof service != "object")



xfa.host.messageBox("Couldn't get WSDL object");



if(service.invoke == "undefined")



xfa.host.messageBox("Couldn't get webservicex.invoke Call");



var param =



{



nom_client:nom,



};



Thanks

Replies

Avatar

19-09-2008

Hi Jerome,



Were you responding to my request for WSDL/Web Service sharing? If so! Thanks!

Avatar

Avatar
Level 5
_jerome_dinnat_
Level 5

Likes

0 likes

Total Posts

180 posts

Correct Reply

0 solutions
View profile

Avatar
Level 5
_jerome_dinnat_
Level 5

Likes

0 likes

Total Posts

180 posts

Correct Reply

0 solutions
View profile
_jerome_dinnat_
Level 5

19-09-2008

Hi,



No sorry but indeed there is missing parts in my message.



What I want is to script the authentication for my web service because I don't want prompt appears when I call a web service.



What is your question , maybe can I help you.

Avatar

19-09-2008

I have never written a web service so I was looking for someone who can share a working WSDL for either MS Access or SQL Server. If you can help me I would appreciate it very much!

Avatar

Avatar
Level 5
_jerome_dinnat_
Level 5

Likes

0 likes

Total Posts

180 posts

Correct Reply

0 solutions
View profile

Avatar
Level 5
_jerome_dinnat_
Level 5

Likes

0 likes

Total Posts

180 posts

Correct Reply

0 solutions
View profile
_jerome_dinnat_
Level 5

22-09-2008

What you want to use to written your Web Services ?