473,513 Members | 2,366 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Soap Extension -- Dime Parsing

Trying to download a .wav file from a Java Axis web service that is using DIME.

Unfortunately, the returned data is not properly formed so cannot use WSE
with Dime handling to read the data.

Used chain stream and process message to get the stream at
BeforeDeserialize. Can then delineate the .wav part from the incoming stream
by locating the start and end of the data.

Using following to save the data to file:

Dim fsWav As New FileStream(filepath & "Input.wav",
FileMode.Create, FileAccess.Write)
Dim wWav As New BinaryWriter(fsWav)
newStream.SetLength(CType(EndBoundary - 2, Long))
newStream.Position = StartFile
Copy(newStream, fsWav)
wWav.Close()

My problem is that this does not successfully save a .wav file. Try to run,
says data corrupted. Also appears that the file size is about 55% of the
original .wav file.

Saw one posting on the web saying that MS .wav format is little-endian while
java .wav format is big-endian.

Is that my problem? If so, thoughts on how to correct would be appreciated.

Thanks.
Nov 23 '05 #1
0 1133

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

Similar topics

0
3002
by: Lupin | last post by:
Hi all, I know that with soap it is possible to transfer a binary file, using the DIME protocol. Has this DIME protocol been implemented in a PHP class that handle SOAP, such as Nusoap or PEAR...
0
1798
by: Eric Lavitsky | last post by:
Hi, I'm trying to connect using PHP5 to a web service created with the MS SOAP Toolkit3 that supports DIME attachments. PHP fails connecting to the service, for example: <?php $wsdl =...
2
2139
by: Bernard D | last post by:
Someone here wrote that MS has dropped its commitment to DIME (see link below). I could not find any other info on this from googling around. Has MS made this public anywhere? Links would be...
3
5094
by: Ipsita | last post by:
Hi! I am trying SOAP with DIME attachments in web services. For example say, I have a file resume.pdf stored somewhere on my server. How does the web service send the file to the client, so that...
4
6005
by: pepcag | last post by:
I used http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconalteringsoapmessageusingsoapextensions.asp as a template to create a very simple web method with soap...
0
1431
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...
0
216
by: Tom_B | last post by:
Trying to download a .wav file from a Java Axis web service that is using DIME. Unfortunately, the returned data is not properly formed so cannot use WSE with Dime handling to read the data. ...
1
3281
markmcgookin
by: markmcgookin | last post by:
Hi Folks, Sorry if this is a bit vague, but I am REALLY struggling to find an answer to this (hopefully simple) question. I have a web service running on a system that we are using to...
1
4810
by: klerik123456 | last post by:
I try set soap extension attributes on client side. For example: Implementation in web service: public class EncryptMessageAttribute : SoapExtensionAttribute { private string...
0
7267
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7391
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,...
0
7553
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...
1
7120
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7542
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5697
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,...
1
5100
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...
0
4754
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...
0
466
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...

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.