SOAPs WSDLs and DataTypes
Posted on 2007-03-23
I have a client that has created a bunch of SOAP services via a JBOS thingymagig (i know nothing of java and hopefully it will stay that way). They have a very strange environment which they built themselves, including the programming language - its based on java i believe.
Anyways, i have to connect to their webservices, via their WSDLs, and most paramters are string, with a couple of exceptions being booleans.
The strings however are strange, as in the reference file i have the following SOAP property declarations:
<System.Xml.Serialization.XmlElementAttribute(Form:=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType:="integer")> _
Public Property pWithChangedNameToHide() As String
the attribute says its a datatype of integer, but the property says its a string.
Is it correct that i should be able to send them a integer natively without changing it to a string? Or can SOAP requests only handle strings and booleans?
Thanks for any help as i know nothing of SOAP and Java environments.