Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Issue with Webservice call GetIssue

web-app

Hi
I hope that this is the correct place to post issues.  When I call this webmethod this error reported.  
My installation is a vanilla install of v 2.0.4 and is the demo database issue id 1 with no data modifications.
Other webmethod appear to work OK.
Any help would be appreciated.  
Regards
Andrew Bexon
P.S. What are the plans for releasing the source as this would be useful.
System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidOperationException: The type CounterSoft.GeminiLib.IssueExtraEN was not expected. Use the XmlInclude or SoapInclude attribute to specify types that are not known statically.
   at System.Xml.Serialization.XmlSerializationWriter.WriteTypedPrimitive(String name, String ns, Object o, Boolean xsiType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write2Object(String n, String ns, Object o, Boolean isNullable, Boolean needType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write8IssueEN(String n, String ns, IssueEN o, Boolean isNullable, Boolean needType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write23_IssueEN(Object o)
   at Microsoft.Xml.Serialization.GeneratedAssembly.IssueENSerializer.Serialize(Object objectToSerialize, XmlSerializationWriter writer)
   at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
   --- End of inner exception stack trace ---
   at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
   at System.Xml.Serialization.XmlSerializer.Serialize(TextWriter textWriter, Object o)
   at System.Web.Services.Protocols.XmlReturnWriter.Write(HttpResponse response, Stream outputStream, Object returnValue)
   at System.Web.Services.Protocols.HttpServerProtocol.WriteReturns(Object[] returnValues, Stream outputStream)
   at System.Web.Services.Protocols.WebServiceHandler.WriteReturns(Object[] returnValues)
   at System.Web.Services.Protocols.WebServiceHandler.Invoke()

 

AndrewCB
· 1
AndrewCB
Replies (3)
helpful
0
not helpful

We can not seem to replicate this issue.

How are you referncing the enteties?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Hi,

We are running into the same issue.

What do you mean by "how are you referencing the entities?"

We are using the following url to access the web service: http://localhost/gemini/webservices/gemini.asmx?op=GetIssue

When we put the accessCode and issueID, the error shows up.

Other web methods are working fine.

Brian


bain
· 1
bain
helpful
0
not helpful

This will not work through a browser. You have to write a client using a proxy.

See our web services sample: http://www.countersoft.com/Default.aspx?PageID=58 or the mailbox processor that is shipped with Gemini.


Mark Wing
· 9108
Mark Wing