Ask a Question related to ASP.NET Web Services, Design and Development.
-
Vaylor Trucks #1
DIME attachments break double-byte characters using WSE 1.0 SP1
Using the .NET framework and WSE 1.0 SP1, I have built a web service
which receives data from a web service client and saves it to disk in a
text file, and it works with no problem. However, when I modify the web
service to accept an attachment and save it to disk as well (resulting
in 2 files saved - txt file and attachment) then any special characters
in the text file (such as the N~ combination used in Spanish) appear as
2 question marks "??".
I have traced the HTTP traffic and see no difference in the datastream
between the DIME and non-DIME versions of the web service call, with the
obvious exception of the data added by the attachment.
Is this fixed with WSE 2.0? If not, any clue as to why this is
happening? I can provide source if necessary.
Vaylor Trucks Guest
-
DIME Attachments & WSDL
I was working on WSE 2.0 & DIME. I used the Attachments sample provided by SDK and saved the SOAP request (with headers) into a file. What I noticed... -
Doubt in SOAP with DIME attachments!
Hi! I was going through the WSE 2.0 documentation to try SOAP with DIME attachments. The example shows the server sending an image file and the... -
Using DIME Attachments with AXIS 1.1
I try to to post attachments to a server from a client app. The attachments can be very large 200MB or more. The server and a proxy class for the... -
FW Double byte characters & OS X
Hi all, How do you copy and paste double byte characters to Fireworks MX? It worked for me in Mac OS 9 but not X. Thanks, Hendri -
SOAP with Attachments using MIME, no DIME
Hello Craig - Many have asked for this, but MS hasn't widely publicized the fact that MSDN magazine had a sample back in Feb.... -
Dan Rogers #2
RE: DIME attachments break double-byte characters using WSE 1.0 SP1
Hi Vaylor,
How are you creating the text file? It sounds like an encoding problem
that would happen if you saved as ASCII rather than using a unicode or
UTF-8 encoding. If the XML coming in has one encoding and you write it out
without accounting for an encoding difference, then the observed behaviors
are expectable.
I hope this helps
Dan Rogers
Microsoft Corporation
--------------------cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!newsfeed00.s>From: Vaylor Trucks <vaylor@hotmail.com>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
>Subject: DIME attachments break double-byte characters using WSE 1.0 SP1
>Date: Wed, 27 Oct 2004 15:31:27 -0400
>Organization: [url]http://newsguy.com[/url]
>Lines: 14
>Message-ID: <clot2c1es9@news1.newsguy.com>
>NNTP-Posting-Host: p-108.newsdawg.com
>Mime-Version: 1.0
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>Content-Transfer-Encoding: 7bit
>User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
>X-Accept-Language: en-us, en
>Path:
ul.t-online.de!t-online.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!b
order1.nntp.dca.giganews.com!nntp.giganews.com!pln-w!spln!dex!extra.newsguy.
com!newsp.newsguy.com!news1microsoft.public.dotnet.framework.aspnet.webservic es:26285>Xref: cpmsftngxa10.phx.gbl>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
>
>Using the .NET framework and WSE 1.0 SP1, I have built a web service
>which receives data from a web service client and saves it to disk in a
>text file, and it works with no problem. However, when I modify the web
>service to accept an attachment and save it to disk as well (resulting
>in 2 files saved - txt file and attachment) then any special characters
>in the text file (such as the N~ combination used in Spanish) appear as
>2 question marks "??".
>
>I have traced the HTTP traffic and see no difference in the datastream
>between the DIME and non-DIME versions of the web service call, with the
>obvious exception of the data added by the attachment.
>
>Is this fixed with WSE 2.0? If not, any clue as to why this is
>happening? I can provide source if necessary.
>Dan Rogers Guest



Reply With Quote

