473,383 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

WSE And Dime

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/de...ml/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.SoapHttpClientProtoc ol.ReadResponse(SoapClient
Message message, WebResponse response, Stream responseStream, Boolean
asyncCa

_________________________________________________

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

Nirosh.
Nov 16 '05 #1
2 1646
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]
- mv*@spam.guard.caspershouse.com

"Champika Nirosh" <te**@test.lk> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
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/de...ml/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.SoapHttpClientProtoc ol.ReadResponse(SoapClient
Message message, WebResponse response, Stream responseStream, Boolean
asyncCa

_________________________________________________

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

Nirosh.

Nov 16 '05 #2
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 [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:Oo**************@TK2MSFTNGP09.phx.gbl...
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]
- mv*@spam.guard.caspershouse.com

"Champika Nirosh" <te**@test.lk> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
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/de...ml/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.SoapHttpClientProtoc ol.ReadResponse(SoapClient Message message, WebResponse response, Stream responseStream, Boolean
asyncCa

_________________________________________________

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

Nirosh.


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Vai2000 | last post by:
Thanks for all responses Please advice! Hi All, Clients are uploading large files to my Web Portal. I need to validate these files using a WS. Problem is file sizes are in the range of...
0
by: LearninGuru | last post by:
Hi, I have a situation where I need to return bulky PDF files from a web service method. The easiest way to do this is return base64 encoded strings. But as the PDF files are bulky this...
1
by: Modica82 | last post by:
Hi all, I have been trying to find a way to send a PDF from my web service. I have had the idea of sending back a byte array, but to be honest the efficiency issue is there and i would like to...
0
by: AndyO | last post by:
Following what is found out at http://www.gotdotnet.com/team/xml_wsspecs/dime/WSDL-Extension-for-DIME.htm for composing my WSDL, when using the wsdl.exe, I can't seem to get around the error...
3
by: Matt B | last post by:
Does anyone know if DIME is available for Visual Studio.NET 2005? I have Visual Studio.NET 2003 and I installed the Web Services Extension pack 2.0 in order that I could use DIME. Seems to work...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.