Web service

  • Thread starter Thread starter John Wels
  • Start date Start date
J

John Wels

Hi.

I would like to ask.

IN my program I have refferences to any web Service.

When I want call some method of this service I use:

Dim myservice As New cx.dragon.amaral.Calculator

Messagebox.show(myservice.Add(10, 10))

It returns 20.

How can I receive response from that method in xml format?

Thanks for answers.
 
YOu need to make your web service function return a dataset



<webMethod>_
public function BLA() as dataset

if you are just trying to return XML then

public function BLA() as string
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top