Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Calling a web service in Delphi 2010

Avatar of soozh
soozhFlag for Sweden asked on
DelphiC#Web Services
10 Comments1 Solution2830 ViewsLast Modified:
Hello,

I have been given some C# code that demostrates how to acess a web service.  I want to make the call in Delphi.  I have imported the wsdl etc into my project however I do not know what the "theProxy.ClientCredentials" are and how to set them in Delphi 2010.

the wsdl is: https://eurequo.integration-ag.eu/WebService/FormWebService.svc

Can someone help out here?

//instantiate proxy
                    using (EUREQUO_Webservice.FormWebServiceClient theProxy = new EUREQUO_Webservice.FormWebServiceClient())
                    {
                        //add username and password
                        theProxy.ClientCredentials.UserName.UserName = tbUsername.Text;
                        theProxy.ClientCredentials.UserName.Password = tbPassword.Text;

                        //call webservice (sync)
                        tbResult.Text = theProxy.processForm(tbControlXml.Text, tbDataXml.Text);

                    }
                }
ASKER CERTIFIED SOLUTION
Avatar of soozh
soozhFlag of Sweden imageCEO

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 10 Comments.
See Answers