CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2007
    Posts
    54

    Implement a webservice starting from a WSDL

    At the moment i have to forget C++ and start developping in C#,
    specific starting form scratch with WebServices,

    The project:
    Our company has a partnership to exchange data through WebService with another company. I have to make a webservice that connects to an existant websevice and give my url to that webservice, when this is done the existant webservice will send in periods information to my webservice.

    As usal i started with an easy pratical example,

    1)Make new website
    2)Implement web methods
    3)Create windows form
    4)Add Web reference to windows form
    5)Make instance of service class
    6)Call webmethods

    This went well, but how do i create a webservice that connects to another, the only thing that i get from the company is a WSDL file,

    Many thanks
    Last edited by Smetje; March 21st, 2008 at 07:37 AM.

  2. #2
    Join Date
    Nov 2003
    Posts
    2,185

    Re: Implement a webservice starting from a WSDL

    Right-mouse click the project -> add web reference... -> add the url to the wsdl

  3. #3
    Join Date
    Jul 2007
    Posts
    54

    Re: Implement a webservice starting from a WSDL

    Thanks,

    I have imported the WSDL, called the method i needed but an exception happens,

    "The AXIS engine could not find a target service to invoke! targetService is pushapi/PushAPITSystems"

    Anyone an idee?
    Thx

  4. #4
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: Implement a webservice starting from a WSDL

    Quote Originally Posted by Smetje
    "The AXIS engine could not find a target service to invoke! targetService is pushapi/PushAPITSystems"
    Where did this error come from? Was it from the webservice you are trying to connect to?

    Have you tried to create a simple winforms app, add the web service reference and try a simple test?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured