home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
WebService and Mobile Access
Popular Plugins
aMPdroid
[Android] aMPdroid 0.8 - Streaming and more
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="jurr3" data-source="post: 812414" data-attributes="member: 101027"><p>so i just installed everything, but when i tried to test gmawebservices at <a href="http://localhost:4321/GmaWebService/MediaAccessService/json/GetServiceDescription" target="_blank">http://localhost:4321/GmaWebService/MediaAccessService/json/GetServiceDescription</a> i got </p><p>[CODE]{"ExceptionType":"System.Xml.XmlException","Message":"There are multiple root elements. Line 28, position 6.","StackTrace":" at System.Xml.XmlTextReaderImpl.Throw(Exception e)\u000d\u000a at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)\u000d\u000a at System.Xml.XmlTextReaderImpl.ParseDocumentContent()\u000d\u000a at System.Xml.XmlTextReaderImpl.Read()\u000d\u000a at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)\u000d\u000a at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)\u000d\u000a at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)\u000d\u000a at System.Xml.XmlDocument.Load(XmlReader reader)\u000d\u000a at System.Xml.XmlDocument.Load(String filename)\u000d\u000a at GmaWebService.Code.Helper.Utils.GetWebBannerPaths()\u000d\u000a at GmaWebService.MediaAccessService..ctor()\u000d\u000a at CreateGmaWebService.MediaAccessService()\u000d\u000a at System.ServiceModel.Dispatcher.InstanceProvider.GetInstance(InstanceContext instanceContext, Message message)\u000d\u000a at System.ServiceModel.Dispatcher.InstanceBehavior.GetInstance(InstanceContext instanceContext, Message request)\u000d\u000a at System.ServiceModel.InstanceContext.GetServiceInstance(Message message)\u000d\u000a at System.ServiceModel.Dispatcher.InstanceBehavior.EnsureServiceInstance(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)"}[/CODE]</p><p></p><p>instead of </p><p></p><p>[CODE]01 {</p><p>02 "MovingPicturesApiVersion":1,</p><p>03 "MusicApiVersion":1,</p><p>04 "MyFilmsApiVersion":0,</p><p>05 "PicturesApiVersion":1,</p><p>06 "ServiceVersion":"1.0.0.0",</p><p>07 "StreamingApiVersion":0,</p><p>08 "SupportsMovingPictures":true,</p><p>09 "SupportsMusic":true,</p><p>10 "SupportsMyFilms":false,</p><p>11 "SupportsPictures":false,</p><p>12 "SupportsTvSeries":true,</p><p>13 "SupportsVideos":true,</p><p>14 "TvSeriesApiVersion":1,</p><p>15 "VideoApiVersion":1</p><p>16 }[/CODE]</p><p></p><p>and i really dont know why, anyone whos willing/able to help me?<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" /></p></blockquote><p></p>
[QUOTE="jurr3, post: 812414, member: 101027"] so i just installed everything, but when i tried to test gmawebservices at [url]http://localhost:4321/GmaWebService/MediaAccessService/json/GetServiceDescription[/url] i got [CODE]{"ExceptionType":"System.Xml.XmlException","Message":"There are multiple root elements. Line 28, position 6.","StackTrace":" at System.Xml.XmlTextReaderImpl.Throw(Exception e)\u000d\u000a at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)\u000d\u000a at System.Xml.XmlTextReaderImpl.ParseDocumentContent()\u000d\u000a at System.Xml.XmlTextReaderImpl.Read()\u000d\u000a at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)\u000d\u000a at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)\u000d\u000a at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)\u000d\u000a at System.Xml.XmlDocument.Load(XmlReader reader)\u000d\u000a at System.Xml.XmlDocument.Load(String filename)\u000d\u000a at GmaWebService.Code.Helper.Utils.GetWebBannerPaths()\u000d\u000a at GmaWebService.MediaAccessService..ctor()\u000d\u000a at CreateGmaWebService.MediaAccessService()\u000d\u000a at System.ServiceModel.Dispatcher.InstanceProvider.GetInstance(InstanceContext instanceContext, Message message)\u000d\u000a at System.ServiceModel.Dispatcher.InstanceBehavior.GetInstance(InstanceContext instanceContext, Message request)\u000d\u000a at System.ServiceModel.InstanceContext.GetServiceInstance(Message message)\u000d\u000a at System.ServiceModel.Dispatcher.InstanceBehavior.EnsureServiceInstance(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)"}[/CODE] instead of [CODE]01 { 02 "MovingPicturesApiVersion":1, 03 "MusicApiVersion":1, 04 "MyFilmsApiVersion":0, 05 "PicturesApiVersion":1, 06 "ServiceVersion":"1.0.0.0", 07 "StreamingApiVersion":0, 08 "SupportsMovingPictures":true, 09 "SupportsMusic":true, 10 "SupportsMyFilms":false, 11 "SupportsPictures":false, 12 "SupportsTvSeries":true, 13 "SupportsVideos":true, 14 "TvSeriesApiVersion":1, 15 "VideoApiVersion":1 16 }[/CODE] and i really dont know why, anyone whos willing/able to help me?:S [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
WebService and Mobile Access
Popular Plugins
aMPdroid
[Android] aMPdroid 0.8 - Streaming and more
Contact us
RSS
Top
Bottom