INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: MCWS WSDL  (Read 1785 times)

rmss

  • Member
  • *
  • Posts: 3
MCWS WSDL
« on: July 22, 2010, 05:12:51 am »

I'm trying to test the Web Service Interface but I'm not able to get the WSDL.
http://myserver:52199/MCWS/v1/WSDL returns empty

Documentation pages (http://myserver:52199/MCWS/v1/doc) works fine, but I would like to get to wsdl and generate a proxy class in my dev environment.
Version I'm using is 15.0.73

Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: MCWS WSDL
« Reply #1 on: July 22, 2010, 07:23:35 am »

Are you starting with documenation from our wiki?  Devzone ....
Logged

rmss

  • Member
  • *
  • Posts: 3
Re: MCWS WSDL
« Reply #2 on: July 22, 2010, 08:17:52 am »

Yes I've searched the wiki (http://wiki.jrmediacenter.com/index.php/Web_Service_Interface)
and it only directs to download WSDLfrom http://[library server address]/MCWS/v1/WSDL

If somebody has the WSDL-page working could you please post it here. I can proceed with that.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: MCWS WSDL
« Reply #3 on: July 22, 2010, 09:22:16 am »

Sorry, it looks like there's a bug where it can return an empty WSDL.  Here's the WSDL.

But let me warn you that we gave up on WSDL for the time being because MCWS is a REST based interface, not a strict web service.  Although the latest WSDL spec can support REST interfaces, .NET can not import a WSDL for a REST interface.  Hopefully this will get cleaned up by Microsoft at some point and we'll do some work to make sure importing the WSDL into .NET makes a nice wrapper.

For now, if you're using .NET, it might be easier to just make the calls directly.

Thanks.
Logged
Matt Ashland, JRiver Media Center

rmss

  • Member
  • *
  • Posts: 3
Re: MCWS WSDL
« Reply #4 on: July 23, 2010, 05:25:23 am »


Thank you for the quick reply and information.

Yes I'm using .Net, so I decided to build calls directly.

It looks like the volume command has a bug.
It allways sets volume to all zones even if zone is defined in the call.
Logged

SteveV

  • Regular Member
  • Recent member
  • *
  • Posts: 37
  • software geek
Re: MCWS WSDL
« Reply #5 on: April 01, 2012, 08:56:14 am »

Sorry, it looks like there's a bug where it can return an empty WSDL.  Here's the WSDL.

But let me warn you that we gave up on WSDL for the time being because MCWS is a REST based interface, not a strict web service.  Although the latest WSDL spec can support REST interfaces, .NET can not import a WSDL for a REST interface.  Hopefully this will get cleaned up by Microsoft at some point and we'll do some work to make sure importing the WSDL into .NET makes a nice wrapper.

For now, if you're using .NET, it might be easier to just make the calls directly.

Thanks.

Hi Matt,

Did you guys ever make any progress on this?  I'm looking for a .NET wrapper for the MCWS and would prefer to not start from scratch building my own.

Thanks -- Steve
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: MCWS WSDL
« Reply #6 on: April 01, 2012, 09:57:02 am »

Did you guys ever make any progress on this?  I'm looking for a .NET wrapper for the MCWS and would prefer to not start from scratch building my own.

There have been no changes.

Maybe when we switch to VS 11 in a year or so we'll revisit this with the hope that Microsoft has updated the .NET WSDL parser.
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up