JHoreczky
15 years agoContributor
Error on soap request when using data source
Hello support team,
Below is a schema snippet of a data definition used in a web services interface
<xs:element name="myId" nillable="false" type="xs:integer">
<xs:annotation>
<xs:documentation>
id assigned to application
</xs:documentation>
</xs:annotation>
</xs:element>
When I try to populate this data element from a 'dataSource' defined in soapUI Pro, I get an error returned from the web services:
<env:Fault>
<faultcode>env:Server</faultcode>
<faultstring>error: decimal: Invalid decimal value: expected at least one digit</faultstring>
<detail>
<java:string xmlns:java="java.io">com.bea.xml.XmlRuntimeException: error: decimal: Invalid decimal value: expected at least one digit</java:string>
</detail>
</env:Fault>
In the above case the data in the data source was specified as the following integer: 2002
Note when this data is directly input into the request then the request succeeds and a response is received back from the service without any errors.
The web services is hosted on Weblogic server 10, and soapUI Pro 3.6.1, Build dist-118-2010-10-18, Build Date 2010/10/18 15:21 was used to send the request to the service.
Please advise how to resolve this problem.
Thanks,
Joseph H.
Below is a schema snippet of a data definition used in a web services interface
<xs:element name="myId" nillable="false" type="xs:integer">
<xs:annotation>
<xs:documentation>
id assigned to application
</xs:documentation>
</xs:annotation>
</xs:element>
When I try to populate this data element from a 'dataSource' defined in soapUI Pro, I get an error returned from the web services:
<env:Fault>
<faultcode>env:Server</faultcode>
<faultstring>error: decimal: Invalid decimal value: expected at least one digit</faultstring>
<detail>
<java:string xmlns:java="java.io">com.bea.xml.XmlRuntimeException: error: decimal: Invalid decimal value: expected at least one digit</java:string>
</detail>
</env:Fault>
In the above case the data in the data source was specified as the following integer: 2002
Note when this data is directly input into the request then the request succeeds and a response is received back from the service without any errors.
The web services is hosted on Weblogic server 10, and soapUI Pro 3.6.1, Build dist-118-2010-10-18, Build Date 2010/10/18 15:21 was used to send the request to the service.
Please advise how to resolve this problem.
Thanks,
Joseph H.