Hi,
We are trying to achieve the following using mediabin web service:
we have certain assets in MB which has associated files attached to it. For eg: a flash file with related xml files.
The users in TeamSite forms publisher, browse the mediabin repository to add such file in a content page.
While publishing the content page the file is extracted from the mediabin using iwov_mediabin_import tag in TPL.
Since, the iwov_mediabin_import tag does not import the associated files, we are planning the following
way to achieve this:
Invoke the webservices to get a list of associated files for the selected file and then import them into teamsite using the
iwov_mediabin_import tag
The basic problem we are facing is that, the webservice when invoked from the teamsite server gives a
401 Unauthorized error.
I'm testing this with the following code snippet
print SOAP::Lite
-> service('
http://servername/MediaBinWebService/MediaBinServer.asmx?WSDL') -> GetContainer();
This gives the error:
Service description '
http://servername/MediaBinWebService/MediaBinServer.asmx?WSDL' can't be loaded: 401 Unauthorized
The web services are running fine and i have tested that the page comes up properly in the browser. I was also able to
invoke 'ValidateCurrentUser' method from the test form.
Additionally I tried the following in the web.config:
I removed the windows authentication and enabled anonymous access on the IIS. But still the error persists.
Both TeamSite and MB is in the same network and is accessible
only via intranet. Is there a way to remove the authentication completely from the webservices? else, is there a way to pass
the authentication using perl?
Environment: MB 4.5.1
TS 6.5 SP2
ecm connector 2.0
TIA