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.




Error Occuring While Callling the Web Service

web-app

Server Error in '/' Application. System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ApplicationException: The message must contain a wsa:To header
  at CounterSoft.Gemini.Business.WebServices.WebServiceManager.VerifyMessageParts(SoapContext scContext)
  at CounterSoft.Gemini.Business.WebServices.xfd2f8c865f601195.x689a82102d437aca()
  at Gemini.IssuesWS.CreateSourceControlFile(SourceControlEN data)
  --- End of inner exception stack trace ---
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ApplicationException: The message must contain a wsa:To header
  at CounterSoft.Gemini.Business.WebServices.WebServiceManager.VerifyMessageParts(SoapContext scContext)
  at CounterSoft.Gemini.Business.WebServices.xfd2f8c865f601195.x689a82102d437aca()
  at Gemini.IssuesWS.CreateSourceControlFile(SourceControlEN data)
  --- End of inner exception stack trace ---

Source Error:

 
Line 482:        <System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://countersoft.com/gemini/webservices/CreateSourceControlFile", RequestNamespace:="http://countersoft.com/gemini/webservices/", ResponseNamespace:="http://countersoft.com/gemini/webservices/", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)>  
Line 483:        Public Function CreateSourceControlFile(ByVal data As SourceControlEN) As Integer
Line 484:            Dim results() As Object = Me.Invoke("CreateSourceControlFile", New Object() {data})
Line 485:            Return CType(results(0),Integer)
Line 486:        End Function

Source File: C:\Test\WebApplication1\WebApplication1\Web References\syleetemp\Reference.vb    Line: 484

Stack Trace:

 
[SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ApplicationException: The message must contain a wsa:To header
   at CounterSoft.Gemini.Business.WebServices.WebServiceManager.VerifyMessageParts(SoapContext scContext)
   at CounterSoft.Gemini.Business.WebServices.xfd2f8c865f601195.x689a82102d437aca()
   at Gemini.IssuesWS.CreateSourceControlFile(SourceControlEN data)
   --- End of inner exception stack trace ---]
   System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +431678
   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +204
   WebApplication1.syleetemp.IssuesWS.CreateSourceControlFile(SourceControlEN data) in C:\Test\WebApplication1\WebApplication1\Web References\syleetemp\Reference.vb:484
   WebApplication1.Default.Page_Load(Object sender, EventArgs e) in C:\Test\WebApplication1\WebApplication1\Default.aspx.vb:19
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
 

Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

keansuai
· 1
keansuai
Replies (1)
helpful
0
not helpful

You are trying to use a WSE web service but not sending in the WSE headers.

I suggest you download our SDK: http://countersoft.com/downloads.aspx to call the web services.


Mark Wing
· 9108
Mark Wing