473,791 Members | 2,949 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WSE And Dime

Hi All,

I posted this at "webserviceehna ncement" 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.InvalidO perationExcepti on: Request format is
unrecognized.

_______________ _______________ _______________ __

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

_______________ _______________ _______________ ____
System.InvalidO perationExcepti on: Client found response content type of '',
but expected 'text/xml'.

at
System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.ReadRes ponse(SoapClien t
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 1663
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.co m

"Champika Nirosh" <te**@test.lk > wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
Hi All,

I posted this at "webserviceehna ncement" 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.InvalidO perationExcepti on: Request format is
unrecognized.

_______________ _______________ _______________ __

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

_______________ _______________ _______________ ____
System.InvalidO perationExcepti on: Client found response content type of
'',
but expected 'text/xml'.

at
System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.ReadRes ponse(SoapClien t
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.c om> wrote in
message news:Oo******** ******@TK2MSFTN GP09.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.co m

"Champika Nirosh" <te**@test.lk > wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
Hi All,

I posted this at "webserviceehna ncement" 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.InvalidO perationExcepti on: Request format is
unrecognized.

_______________ _______________ _______________ __

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

_______________ _______________ _______________ ____
System.InvalidO perationExcepti on: Client found response content type of
'',
but expected 'text/xml'.

at
System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.ReadRes ponse(SoapClien t 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
3608
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 5-20MB!!!! Q1. How do I send DIME attachments to the WebSvc from my Portal?
0
1659
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 would mean that for each web method call the file would have to be loaded into memory for encoding and returning. This will easily turn out to be a performance bottleneck if multiple calls are being made to the web method.
1
1436
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 find another route if possible. I have started to read bits and pieces about DIME and WSE but what i need to know is can i utilise this technology cross platform?? For instance someone who will consume this web service is coding in some form of...
0
1463
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 message: "Error: one or more required WSDL extension elements were ignored. Errors were encountered. Review generated source comments for more details." More specifically, for each of the binding places (inside wsdl:output/wsdl:input) where I use:
3
4005
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 well. I'll probably getting VS.NET 2005 soon, which uses Extension pack 3.0. I know this extension pack includes MTOM - supposed to be DIME's successor - but does it also include DIME? Anyone know?
0
9515
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10427
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10207
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9029
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7537
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5559
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3718
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2916
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.