NetTalk Central

Author Topic: WSDL - How to...  (Read 5232 times)

ralonso2001

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • Qúbigo ERP
    • Email
WSDL - How to...
« on: January 21, 2013, 11:43:38 AM »
Hi, I have my soap web service created with NT working fine. Now I need to create a .wsdl file to be imported into visual studio. I really don't know how to create this file from my Clarion app... Could anyone help me please!
Regards,
Rodrigo Alonso
Mendoza - Argentina

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: WSDL - How to...
« Reply #1 on: January 21, 2013, 10:18:46 PM »
I've not gone down this road myself - perhaps someone else can help?

cheers
Bruce

Stu

  • Hero Member
  • *****
  • Posts: 510
    • View Profile
    • Email
Cheers,

Stu Andrews

ralonso2001

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • Qúbigo ERP
    • Email
Re: WSDL - How to...
« Reply #3 on: January 22, 2013, 11:52:22 AM »
Is there a way to test a web service made with NT with internet explorer? Some visual studio programmers told me that they should get some response from the web service typing the adress and port in ie.
Thank you!
Regards,
Rodrigo Alonso
Mendoza - Argentina

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: WSDL - How to...
« Reply #4 on: January 22, 2013, 10:57:36 PM »
it depends a bit on how you've coded your web service to work. (When getting advice and suggestions form others, bear in mind that there are many forms of this thing we call a web service.)

For example;
the way you allow users to specify input parameters is a key. If you can access your service with a simple GET - using parameters in the URL then it's easy to enter this url into any browser and see the response.

Let me put that another way - if you use the GetValue method to handle incoming options for your service, then you should be able to call the method using the browser URL.

In the examples though, the input comes from an xml packet, sent as a POST to the server. While it's do-able to construct this in a browser, it's a lot more work to do. So in this case it's not really practical to test from a browser.

Of course your program can support both. You can use the xml approach, and also allow for specific values to be passed on the URL. Ultimately you are in control of all this.

cheers
Bruce

ralonso2001

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • Qúbigo ERP
    • Email
Re: WSDL - How to...
« Reply #5 on: January 27, 2013, 03:44:52 AM »
Thank you Bruce, thank you Stu!

Does any one has a wsdl file made from a web service made with NT that can give me? It just to see if I can hand code the wsdl file. I'm trying to learn some wsdl to make it but its taking me too long and my client is gettin mad....
Thank you for your help!!!!!
Regards,
Rodrigo Alonso
Mendoza - Argentina

Neil Porter

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • Email
Re: WSDL - How to...
« Reply #6 on: February 05, 2013, 09:48:59 AM »
I've written an Android app using WinDev, and I decided to use a Nettalk Soap server to transfer data to my MSSQL server.

I wrote the attached wsdl file, by hand, starting with an existing wsdl file that had been generated by another service, and then I stripped out all of the stuff that maybe I didn't need.

This was my first attempt, and I'm not saying that this is the right way to go about it, but it worked for me.

I hope this helps to get you started.

Regards,

Neil.

[attachment deleted by admin]
Clarion 11.0.13244
NetTalk 11.04

ralonso2001

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • Qúbigo ERP
    • Email
Re: WSDL - How to...
« Reply #7 on: February 21, 2013, 10:01:00 AM »
Thank you Neil!!! (Did not answer before because I was out for vacations!)

I'll try to make it work!

Regards

Rodrigo Alonso
Regards,
Rodrigo Alonso
Mendoza - Argentina