Hi,
I have 2 web services, "client_side" and "server_side". Both have a
reference to WSE 2.0 SP 3.
One of the functions is to transfer files between the server and the client.
I developed both web services on my development machine and they work great.
Now I wanted to move the "server_side" web service to the test server. So I
installed WSE 2.0 SP 3 run-time version on the test server and copied
"server_side.dll" to the test server.
(when I try to upload a file from client to server, the client attaches the
file stream as a DIME attachment to the request Soap Context Object).
Now from "client_side" web service, when I hit the "server-side" web serice
hosted on the test server and call function "Upload File", I get an WSE error
"Client got response of type "application/dime" but expected "text/xml".
This is clearly bcos the WSE installed on server is not being recognized by
the "server_side.dll".
What am I missing here? How should I deploy "server-side.dll" from my
developmenr machine to test server, so it can recognize WSE functions?
p.s: The non-WSE functions like "get Folder view" etc work fine. Only the
WSE functions are failing.
Manfred Gloiber - 31 Aug 2005 16:22 GMT
Hi Srilatha,
where do you use the "server_side.dll"? If you use it in a WinForms
application you need to add the reference to the WSE in you app.config. If
you use it in a "web-based application (Web Service, Web Site ...)" you need
to add the reference in the corresponding web.config file.
The easiest way to add this references is within the VS IDE:
1. Right click the project for which you want to enable WSE
2. Select "WSE 2.0 Settings..."
3. Select the checkbox labeled "Enable this project for Web Services
Enhancements"
4. For an ASP.NET Project select the second checkbox labeled "Enable
Microsoft Web Services Soap Extensions"
HTH
--
Manfred
> Hi,
> I have 2 web services, "client_side" and "server_side". Both have a
[quoted text clipped - 30 lines]
> p.s: The non-WSE functions like "get Folder view" etc work fine. Only the
> WSE functions are failing.