473,396 Members | 2,111 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,396 software developers and data experts.

SOAPFormatter not deserializing SOAP message

Hi,

I'm new to all this and having tremendous difficulty trying to
deserialize
the following:

<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Header><TransactionID
xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-0"
soap-env:mustUnderstand="1">-1433961100312413552</TransactionID></soap-env:Header><soap-env:Body><SubmitReq
xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-0"><MM7Version>5.3.0</MM7Version><SenderIdentification><VASPID>AIRBORN</VASPID><VASID>ABTEST_100</VASID><SenderAddress>27839300004</SenderAddress></SenderIdentification><Recipients><To><Number
displayOnly="false">27832229614</Number></To></Recipients><MessageClass>Informational</MessageClass><TimeStamp>2005-05-25T11:01:31+02:00</TimeStamp><DeliveryReport>false</DeliveryReport><Priority>Normal</Priority><Subject>Craigs
SOAP Sample MMS message</Subject><Content
href="Cid:SOAPContentID"/></SubmitReq></soap-env:Body></soap-env:Envelope>

Could anyone with a clue as to what to do give me a step by step
explanation
as to how I go about doing this.
What I have done and that hasn't worked is copied the schema at
http://www.3gpp.org/ftp/Specs/archiv.../REL-5-MM7-1-0

and used xsd.exe to create class files. Once done, I tried using the
SOAPFormatter class to deserialize the contents of mm7soap.txt but the
following exception was thrown:

System.Runtime.Serialization.SerializationExceptio n: Parse Error, no
assembly associated with Xml key _P1 SubmitReq at
System.Runtime.Serialization.Formatters.Soap.SoapH andler.ProcessGetType(String
value, String xmlKey, String& assemblyString) at
System.Runtime.Serialization.Formatters.Soap.SoapH andler.ProcessType(ParseRecord
pr, ParseRecord objectPr) at
System.Runtime.Serialization.Formatters.Soap.SoapH andler.ProcessAttributes(ParseRecord
pr, ParseRecord objectPr)

I set the AssemblyFormat property to Simple thinking that would solve
my
problem, but the same exception is still being thrown.
Any help will be greatly appreciated.
Best regards,
Craig

Nov 12 '05 #1
0 1419

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

Similar topics

0
by: Philip Reed | last post by:
I'm trying to write a preferences-handling infrastructure that serializes prefs to XML. Basically I want to read in a common "default" prefs set, then read in the user's prefs and override the...
1
by: Philip K | last post by:
I was trying to use Soap serialisation to save some systems settings how ever it fails if the settings contain a Font object, works fine if the Font object is not in the object being serialised. ...
0
by: Chris Newby | last post by:
Given: public class MyClass{ public String MyPropertyOne; } I have a soap document created by serializing an instance of a previous version of MyClass. However, now MyClass looks like: ...
2
by: Phillip Galey | last post by:
I have an object called Place which contains only string properties and has the <Serializable()> flag before the class name declaration. I also have a collection object called Places, which is...
0
by: JackRazz | last post by:
I'm trying to serialize a collection to a file stream by serializing each object individually. The code below works fine with the BinaryFormatter, but the SoapFormatter reads the first object and...
4
by: laplas | last post by:
Hello, what is the internal difference between them in FW 2.0? I'm trying to serialize SqlConnectionInfo from SQL SMO and Soap works just fine but XML throws an exception SqlConnectionInfo has...
1
by: Hotlips | last post by:
I'm trying to use an SoapFormatter with a generic List (List<int>) (.NET 2.0) When I use it I get an exception that states that the collections from Generic-namespace cannot be used with the...
3
by: Wiebe Tijsma | last post by:
Hi, I'm trying to serialize a KeyedCollection with the SoapFormatter, however I'm getting the exception: System.Runtime.Serialization.SerializationException: Soap Serializer does not support...
0
by: Alphamacaroon | last post by:
All, I am using the SoapFormatter class to parse/deserialize SOAP/RPC calls from a remote client. The SoapFormatter works like a charm when the message contains simple parameter types (like...
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: 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
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
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
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
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...
0
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
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,...

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.