Webservice Error
I have been able to retrieve projects and issue types etc, but when trying to retrieve a list of users using the AuthWS.GetAllUsers(AccessCode) method I get:
"Server was unable to process request. ---> The message must contain a wsa:To header"
" at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at AuthWS.GetAllUsers(String accessCode) in C:\Documents and Settings\UseName\My Documents\Visual Studio 2005\Projects\GMBP (2)\GeminiWSWrapper\AuthWS.cs:line 149
at AdminReporterSettings.PageLoad(Object sender, EventArgs e) in C:\projects\GMBP\GMBP\Admin\ReporterSettings.ascx.vb:line 19
at System.Web.UI.Control.OnLoad(EventArgs e)
Simon@MailboxPro
· 1 |
|
Friday, August 17, 2007, 4:00:07 PM |
0
|
Any thoughts what might be causing this? |
||||
|
0
|
Hi, Is WSE 3.0 installed? |
||||
|
0
|
No, only WSE2.0 SP3, but I wasn't using WSE3.0, does the AuthWS have to use WSE? |
||||
|
0
|
Just installed WSE3.0 and same error :-( |
||||
|
0
|
Might need a reboot -- we have seen occassions where it helps. |
||||
|
0
|
The machine has been rebooted, but no success they keep erroring on that line. |
||||
|
0
|
Hi, Why don't you reference CounterSoft.Gemini.Services, create an instance of the Service Manager, and invoke web services via the Service Manager? If you are a commercial License holder, you can download the Gemini Scheduler source code from the portal to see WSE calls in action. Hopefully I haven't missed the point! |
||||
|
0
|
Where is that DLL, does it have to use WSE? I know some people dont/are not able to use it. I was planning on adding WSE support later. |
||||
|
0
|
You can download the services DLL from http://www.countersoft.com/Default.aspx?PageID=58 Unfortunately, there is no way to do this using the non WSE web service. |
||||
|
0
|
Ok thanks, I have changed the code to use this DLL, seems to work a treat... |
||||
|
0
|
Just provides a means to invoke a web service method to ensure you can actually get through to the machine where Gemini Web Services are running. We have seen instances where this method call actually fails which tells us there is a problem connecting to the server. |
||||
|