on 08-21-2009 12:30 PM
Hello,
I have Idoc to SOAP scenario. We I send Idoc, I get following error,
SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: java.lang.NumberFormatException Message being parsed:
To be on safer side, I have populated all the fields with values. I have tested the same scenarion using SOAP UI tool with payload from XI & it works fine.
This is very annoying. Can anybody help?
Regards,
Sunil
Are you sure you are providing Numeric input to all Fields which require integral values?
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Prateek,
Here is my xml which goes to web service via SOAp adopter,
470 {/ns0:company_code}
Constant {/ns0:userid}
Constant {/ns0:password}
-
1 {/ns0:acklm}
20090821 {/ns0:badat}
1020104878 {/ns0:banfn}
A {/ns0:banst}
NB {/ns0:bsart}
20090821 {/ns0:erdat}
Constant {/ns0:temp1}
Constant {/ns0:temp2}
Constant {/ns0:temp3}
Sunil.Joyous com {/ns0:email}
146474 {/ns0:ernam}
Sunil Joyous {/ns0:name}
{/ns0:zossatb}
-
TEST OSAT {/ns0:afnam}
1 {/ns0:anln1}
1 {/ns0:anln2}
1 {/ns0:aufnr}
1020104878 {/ns0:banfn}
1 {/ns0:bednr}
00010 {/ns0:bnfpo}
NB {/ns0:bsart}
1.000 {/ns0:bsmng}
1.000 {/ns0:bumng}
1 {/ns0:catalog_info}
1 {/ns0:ebakz}
T02 {/ns0:ekgrp}
IZ {/ns0:ekorg}
IZ {/ns0:gsber}
5300642603 {/ns0:infnr}
1 {/ns0:knttp}
1 {/ns0:kostl}
20090812 {/ns0:lfdat}
1 {/ns0:lifnr}
X {/ns0:loekz}
BOX CARDBOARD TELESCOPIC PART {/ns0:maktx}
00441010 {/ns0:matkl}
000000000002647430 {/ns0:matnr}
ST {/ns0:meins}
10.000 {/ns0:menge}
1 {/ns0:mfrpn}
1 {/ns0:peinh}
10.000 {/ns0:preis}
0 {/ns0:pstyp}
X {/ns0:repos}
1 {/ns0:saknr}
1 {/ns0:statu}
470 {/ns0:temp1}
PACKING {/ns0:temp2}
20090821 {/ns0:temp3}
BOX CARDBOARD TELESCOPIC PART {/ns0:txt01}
TRY {/ns0:waers}
1 {/ns0:wempf}
X {/ns0:wepos}
IZ {/ns0:werks}
1 {/ns0:zdegsta}
TEST TEST {/ns0:zsastxt}
F442617301 ,4085212101 ,JL/QSC-70108949 ,OUT ,7064 58 049 , , , , , , , , , , {/ns0:ztanim}
{/ns0:zossatd}
-
1020104878 {/ns0:banfn}
00010 {/ns0:bnfpo}
NB {/ns0:bsart}
470 {/ns0:temp1}
Constant {/ns0:temp2}
Constant {/ns0:temp3}
PO TEXT {/ns0:zmetin1}
1 {/ns0:zmetin10}
1 {/ns0:zmetin2}
1 {/ns0:zmetin3}
1 {/ns0:zmetin4}
1 {/ns0:zmetin5}
Constant {/ns0:zmetin6}
Constant {/ns0:zmetin7}
Constant {/ns0:zmetin8}
Constant {/ns0:zmetin9}
{/ns0:zossatt}
Out of these following fields are of decimal type,
BSMNG, BUMNG, MENGE, PEINH, PREIS
Rest all are of string type.
Edited by: Sunil Joyous on Aug 21, 2009 2:01 PM
Edited by: Sunil Joyous on Aug 21, 2009 2:02 PM
Edited by: Sunil Joyous on Aug 21, 2009 2:02 PM
Hi ,
Check Date time format in all Date Fields:
Should be like this: 2007-02-01T16:32:34.948Z
Refer this:
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/NumberFormatException.html
Please post Idoc name and target Soap structure.
Regards,
Anurag
Edited by: Anurag Gargh on Aug 21, 2009 1:08 PM
Edited by: Anurag Gargh on Aug 21, 2009 1:13 PM
Hi Sunil,
Check for any enumerated values in the data types.It might be due to the restriction because of the enumerated values.
I assume that your wsdl file is an external definition. Please check whether any fields have enumerated values.
Thanks,
Tiny
Edited by: TINY MAMPILLY on Aug 21, 2009 2:08 PM
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.