Create Issue in VB.Nat with WebServices
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 |
|
Monday, October 15, 2007, 11:44:36 AM |