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.




Create Issue in VB.Nat with WebServices

web-app

Hi,

 

I try to create a Custom Field in an VB. Net application ; I use the Web Reference http://localhost/Gemini/webservices/CustomFieldsWS.asmx : my application display this message :

 

System.Web.Services.Protocols.SoapException: Server was unable to process request.

---> System.ApplicationException: Only SOAP requests are permitted.

   at Gemini.BaseWS.IsWSECompliant()

   at Gemini.CustomFieldsWS.CreateCustomField(Int32 projectID, WSCustomFieldEN data)

   --- End of inner exception stack trace ---

 

I try the URL http://localhost/Gemini/webservices/CustomFieldsWS.asmx  in my IE browser, I use the GetCustomField function with the projectID and customFieldID parameters, I click on INVOKE button and the brower display a same message :

System.ApplicationException: Only SOAP requests are permitted.
   at Gemini.BaseWS.IsWSECompliant()
   at Gemini.CustomFieldsWS.GetCustomField(Int32 projectID, Int32 customFieldID)
 

But, with the function Create Isssue I have no problem with use the Web Reference http://localhost/Gemini/webservices/gemini.asmx

 

Have you an idea ?

Thanks a lot !

 

________________

My configuration:

Microsoft Windows XP Pro  SP2

Microsoft Visual Studio 2005

Microsoft .NET Framework 2.0

Web Services Enhancements (WSE) 2.0 SP3 for Microsoft .NET Redistributable Runtime MSI

 

An example of my web.config file :

 

<webServices>

<soapExtensionTypes>

<add type="Microsoft.Web.Services2.WebServicesExtension, Microsoft.Web.Services2, Version=2.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" priority="1" />

</soapExtensionTypes>

 

francis1
· 1
francis1
Replies (4)
helpful
0
not helpful

Which version of Gemini?  Looks like 2.0.x.

The web service you are trying to use is a WSE web services and requires some security tokens to be setup before calling it.

See this sample: http://www.countersoft.com/Downloads/old/webservicessample.zip


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Hi,

I use the 2.0.5 version of Gemini.

About security token, I do not find where you initialize this information. Why is it not necessary with the webservices http://localhost/Gemini/webservices/gemini.asmx ?

I already used this webservice example: when i run the C# program, I edit the user name and password of my Gemini and I have this message : The request failed with the state HTTP 404 : Not found

I valid the message and i have an another message : Invalid User Name / password

Thanks


francis1
· 1
francis1
helpful
0
not helpful

The gemini.asmx web service is the only non-WSE web service and takes a security code as a parameter.

Please check the web service sample app's contsant to make sure you are connecting to the correct url.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Hi,

I succeeded to compile and run the Webservices Samples; i understand how to use the issuews.asmx.

Thanks very much for you help! 

Regards


francis1
· 1
francis1