Hi, I'm trying to call the GetMetadataGroups webservice call, but I'm getting the following error and stacktrace:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> MBException: Unknown name. (Exception from HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME)) (0x80020006)
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at ClassLibrary1.MediaBinSoapDev.MediaBinServer.GetMetadataGroups() in C:\Documents and Settings\undeed\My Documents\Visual Studio 2005\Projects\ClassLibrary1\ClassLibrary1\Web References\MediaBinSoapDev\Reference.cs:line 5606
at MyClassLibrary.MediaBinLib.getMetadataGroups() in C:\Documents and Settings\undeed\My Documents\Visual Studio 2005\Projects\ClassLibrary1\ClassLibrary1\MediaBinLib.cs:line 163
at TestWebService.Service1.getMetaDataGroups() in C:\Documents and Settings\undeed\My Documents\Visual Studio 2008\Projects\TestWebService\TestWebService\Service1.asmx.cs:line 50
the functions I'm calling (reversing the stacktrace) are:
Service1.asmx.cs:line 50:
[WebMethod]
public MBMetadataGroup[] getMetaDataGroups()
{
MediaBinLib mediabin = new MediaBinLib();
mediabin.initService(); // initializes connection to mediabin service
return mediabin.getMetadataGroups();
}
MediaBinLib.cs:line 163
public MBMetadataGroup[] getMetadataGroups()
{
// service is the mediabin webservice object
return service.GetMetadataGroups(); // this is a call to the mediabin webservice API method GetMetadataGroups
}
I've also gone to the webserive server itself, and brought up the webservice test page, like so:
http://spmidevap01/mediabinwebservice/MediaBinServer.asmx/GetMetadataGroupsthat gives me a Http500 Internal Server error, which I'm guessing is the same error. Other methods, like GetMetadataGroup (supplying groupID) work in both my code, and directly on the service server,
Has anyone else come across this error?
thanks for your time.