07-29-04 07:48 AM
I Found a solution to my problem:
I used the BizTalk Web Services Publishing Wizard to publish my schema as a
webservice. This wizard make a Datatypes.cs which types all data in the docu
ment.
The xs:float was typed into System.Single a type that obviously likes to do
a exponentiation of large numbers.
I tried to change this type to System.Double which moved the upper limit bef
ore exponentiation a little bit.
I ended up with typing these fields as string, since the only task for this
web service is to send the received document into BizTalk and not perform an
y calculations.
brgds
Hans Erik
"Hans Erik" wrote:
> Hi,
>
> I use a SOAP (adaper) receive loation in BizTalk 2004 to receive a XML doc
ument.
> One of the fields in this document is of xs:float type. When I get a large number
in this field it seems like the SOAP adapter does a exponentiation of the number. Th
e number sent in the document to the receive location is 70200554912 and the number
sto
red in the tracking of the received document is 7.020056E+10.
> When I use a file receive location and drop the exact same document to thi
s location as sent with SOAP the number is received correctly in BizTalk.
> I have also traced the SOAP message before it's received by BizTalk and th
e number is correct in the trace.
>
> Is this a bug in the adapter, or can someone explain if there is a setting
somewhere I have missed?
>
> brgds
> Hans Erik
[ Post a follow-up to this message ]
|