Expand my Community achievements bar.

webservice

Avatar

Former Community Member
I have made a webservice on http://www.dtp-tjanst.com/artikelbas/GetAnr.asmx?WSDL

if submitting 8852536 then "DRAGREGULATORFÄSTE 60351" is returned.

If it is a non existing article number then the article number is returned.

Please feel free to use it.

The problem is that it's not working in Designer

I have made dataconnection and then daggled it out.

Is it bug or should it be done in a different way?

/Ulf
11 Replies

Avatar

Former Community Member
Hi Ulf,



It works just fine for me using Designer 6 and/or 7 to make form that consumes this web service.



These are the steps that I followed:



- Open a new form.

- Go to "File" > "New Data Connection" .

- Enter a name (the default is "DataConnection") for your connection and select "WSDL File" radio button

- Then click on "Next"

- In the next window, enter "http://www.dtp-tjanst.com/artikelbas/GetAnr.asmx?WSDL" in the WSDL file field

- Then click on "next"

- In the next screen, select "GetDesc" as the Operation. Then click "Finish".

- You should now see your newly created DataConnection in your Data View.

- Use your mouse to drag this DataConnection onto the working area.

- There will be 2 text fields and a button that are created and bind to the appropriate elements and operation.



- Finally, you can test to make sure it works.



Good luck.



Jimmy

Avatar

Former Community Member
Thanks Jimmy

As you say it works fine

It was a firewal problem

/Ulf

Avatar

Former Community Member
hi,



i tried your sample but it do not work :(

if i set the execution Option for the button Run At: "Client" -> nothig happens

if i set the execution Option for the button Ran at: "server" or "client and server" i get an error message:



"couldn't post data to ''."



where is my mistake?



thank you



Andrej

Avatar

Former Community Member
Hi Andrej

Do you run version 7

Do you allow Acrobat pas trough your firewal

You don't need to change anything!

Drag the dataconnection to the working area

select preeview

type a number

click the button

ulf.a@dtp-tjanst.se

Avatar

Former Community Member
hi Ulf,



i am running adobe designer 6.0 trial version. is there a difference between designer 6.0 (stand alone) and designer 7.0 which is included in acrobat professional 7.0?



i tried to access the webservice in this thread and my own webservice which i created local on my machine with visual studio 2003.



Andrej

Avatar

Former Community Member
Designer 6 is a pain

Download version 7 and use Acrobat Reader 7

If you send me a mail I can send you a version 7 pdf thats working.

ulf.a@dtp-tjanst.se

Avatar

Former Community Member
Hi,

I am using designer 7.0. I have made data connection and

if I set the execution Option for the button Ran at: "server" or "client and server" I get an error message:



"couldn't post data to ''."



Can you please tell me if you figure out the reason for this error?



Thanks you...

Avatar

Former Community Member
hi,



so you made a dataconnection to a webservice?

you shold be able to access the webservice as anonymus. if you need a credentials to access the webservice it wouldnt work.



after you past your dataconnection in to formular do not change anything. the settings for the button must be client.



i can send you a formular which works. it access a simple webservice with one string parameter and get a string back.



so if you post your e-mail adress i will send it to you



Andrej

Avatar

Former Community Member
Hi Andrej

Thanks for the reply. Here is my e-mail address (oya.kuzugudenli@allstream.com). Can you please send me example?

Thanks

Oya

Avatar

Former Community Member
Hi Guys,



I am also trying to use WS but does not work at all, though I get returned data in console if I set the SOAP.wireDump to true.

Appreciate if you could please help me this solve.



Best Regards,

Thank you.

Praveen (p.thakur@zensar.com)

Avatar

Level 1

Hi,

I'm using LC Designer 8, I'm trying to use a web service but it doesn't work. I follow those steps:

1. Open LC Designer and create a blank form

2. Chose File -> New Data Connection

3. Write the name of new connection, in this case "CurrencyConvertor". Chose WSDL file.

4. Write the url of WSDL file, in this case http://www.webservicex.net/CurrencyConvertor.asmx?wsdl

5. Select the ConversionRate operation and finish

6. Drag and drop the object CurrencyConvertor from the tab DataView to the form

7. Save the document and select preview PDF

In the preview screen appears the pdf form, but if I clic on the execute button, nothing happens. I proved that web service with another software and it works. I tried changing the form properties choosing Dynamic XML Form.

Can anyone help me with this.

Thanks in advance.