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.




Server error while generating XML response

api

On a number of the WS functions, I'm getting an error back that the server couldn't generate the XML document because an unexpected type was encountered. Here's the specific message for a call to GetIssueTypes():

Server was unable to process request. ---> There was an error generating the XML document. ---> The type CounterSoft.Gemini.Commons.IssueTypeEN was not expected. Use the XmlInclude or SoapInclude attribute to specify types that are not known statically.

I found the following threads where others were encountering similar errors, but there was never a reply:

http://community.countersoft.com/forums/post/1534.aspx http://community.countersoft.com/forums/post/6699.aspx

Is this a bug that should be filed, or is there something I need to do client-side that I'm not aware of?

bobw
· 1
bobw
Replies (5)
helpful
0
not helpful

Which web service and web method are you using?

 


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Sorry for the delayed reply; the forum software wasn't letting me log in until this morning.

Which web service

Is there more than one? I'm using the WSDL available at /webservices/Gemini.asmx?WSDL

Which web method

As indicated in my post above, I was quoting the server response to a call to GetIssueTypes(); however, I'm seeing the same thing with other methods.


bobw
· 1
bobw
helpful
0
not helpful

I see, this is a legacy web service and it seems like there is a bug with it.

You should use the WSE web wervices for this. The MetaDataServices service (GeminiLookUpsWS.asmx) is the one you are after.

See our web services sample for how to access these services: http://www.countersoft.com/Libraries/DownloadsSamples/GeminiSDKSampleApplicationv31_2.sflb.ashx


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Unfortunately, I don't think that's an option, as I'm not using .NET (or any other MS platform) to access the service. Am I mistaken, or is there another workaround?


bobw
· 1
bobw
helpful
0
not helpful

This issue has been addressed in 3.5. We have intoduced REST web services, so you could call these easily from non .NET etc...


Saar Cohen
· 5000
Saar Cohen