facebook

Myeclipse Web Service Client Tutorial

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #302090 Reply

    jlewis8139
    Member

    I am trying to invoke a method on a .net webservice. The developer keeps sending me an URL with .svc ending instead of pointing to a wsdl. First, I don’t know anything about .net webservices, so should there be a wsdl file available and would I follow the steps in this tutorial if there were. If a wsdl file is not available for a .net webservice is there any example of building a java client to invole a .net webservice?

    #302179 Reply

    Brian Fernandes
    Moderator

    jlewis,

    I’m afraid there is no way you can generate a client without the WSDL. WSDL files are standard for all SOAP based webservices, whether implemented in Java or .NET.

    I have a feeling that appending “?wsdl” to the svc URL may give you the WSDL you need. So if the URL is “http://mydomain.com/web/service.svc”, try “http://mydomain.com/web/service.svc?wsdl”

    If this does not work, please go ahead and ask the developer for the WSDL, he should be able to generate one for you.

    Hope this helps.

    #302180 Reply

    Ton Huisman
    Member

    My experiences with all Java (Axis2), .NET and Delphi webservices has been that pointing at the supplied url using Internet Explorer (not with other browsers) I’ve been able to view the available wsdl’s from the serviceinterfaces provided. Pasting the final url, indeed ending in ?wsdl, into the WebService discovery tool, either MyEclipse, Visual Studio, or SoapUI (and probably should work in Delphi as well), I successfully generated the required stubs for using/testing the service.

    Hope This Helps,
    Ton

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Myeclipse Web Service Client Tutorial

You must be logged in to post in the forum log in