473,387 Members | 1,483 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,387 software developers and data experts.

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 1125

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

Similar topics

0
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
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
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
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
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
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
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
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
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
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...

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.