WSE And Dime

C

Champika Nirosh

Hi All,

I posted this at "webserviceehnancement" but no reply please see

I installed WSE 2.0 and then started to write a web service that use DIME.

I fallowed
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwse/html/wsedime.asp

and did exactly what it ask me to do..

hell it is not working.. and continously giving a error..

I try to use

http://localhost and access the web service method... result was, "Page
cannot be displayed" error.. I refresh that page and there I saw an error
saying ..
______________________________________________
Request format is unrecognized.
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.InvalidOperationException: Request format is
unrecognized.

_______________________________________________

Then again I try to access the service using a winform and found that it
gives the following exception..

_________________________________________________
System.InvalidOperationException: Client found response content type of '',
but expected 'text/xml'.

at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClient
Message message, WebResponse response, Stream responseStream, Boolean
asyncCa

_________________________________________________

Is this sample really working or am I doing something wrong..???

Nirosh.
 
N

Nicholas Paldino [.NET/C# MVP]

Champika,

You might want to try MTOM, as it is probably going to be the favored
attachment protocol for web services. DIME fell out of favor a while ago.
WSE 3.0 has support for MTOM.

Hope this helps.
 
C

Champika Nirosh

Yes truely..

but I am already using WSE 2.0 and WSE 3.0 is not there yet to download.. so
considering all I don't have much option other than going with WSE 2.0 and
DIME, you know that WSE 2.0 is not supporting MTOM.

Do you have any comments over my problem?

Any body who has worked with DIME & WSE 2.0?

Nirosh.

Nicholas Paldino said:
Champika,

You might want to try MTOM, as it is probably going to be the favored
attachment protocol for web services. DIME fell out of favor a while ago.
WSE 3.0 has support for MTOM.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Champika Nirosh said:
Hi All,

I posted this at "webserviceehnancement" but no reply please see

I installed WSE 2.0 and then started to write a web service that use DIME.

I fallowed
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwse/html/wsedime.asp

and did exactly what it ask me to do..

hell it is not working.. and continously giving a error..

I try to use

http://localhost and access the web service method... result was, "Page
cannot be displayed" error.. I refresh that page and there I saw an error
saying ..
______________________________________________
Request format is unrecognized.
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.InvalidOperationException: Request format is
unrecognized.

_______________________________________________

Then again I try to access the service using a winform and found that it
gives the following exception..

_________________________________________________
System.InvalidOperationException: Client found response content type of
'',
but expected 'text/xml'.

at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClient
Message message, WebResponse response, Stream responseStream, Boolean
asyncCa

_________________________________________________

Is this sample really working or am I doing something wrong..???

Nirosh.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top