You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by ku...@wipro.com on 2008/10/09 23:25:18 UTC

signed float value in DDL - corrupts the WSDL

Hi,
 
we have the following field in DDL, and we use SOAP/Apache Axis2 for our project to devleop a web based applciation.
 
DDL isin COBOL 
  Amount  T999999V99 
 
its mapped to WSDL 
 
- <http://10.116.194.32:9080/screenpoc/pway-wsdl/SoapPW_TC02.wsdl#>  <xsd:complexType name="detail_line_s1">
- <http://10.116.194.32:9080/screenpoc/pway-wsdl/SoapPW_TC02.wsdl#>  <xsd:sequence>
- <http://10.116.194.32:9080/screenpoc/pway-wsdl/SoapPW_TC02.wsdl#>  <xsd:element name="amount" minOccurs="1" maxOccurs="1">
- <http://10.116.194.32:9080/screenpoc/pway-wsdl/SoapPW_TC02.wsdl#>  <xsd:simpleType>
- <http://10.116.194.32:9080/screenpoc/pway-wsdl/SoapPW_TC02.wsdl#>  <xsd:restriction base="xsd:string">
  <xsd:maxLength value="10" /> 
  </xsd:restriction>
  </xsd:simpleType>
  </xsd:element>
 
 
 
when the server sends a negatvie value(3.15) in the amount filed to the client html page. i am getting the following error:
 
 

An invalid character was found in text content. Error processing resource 'http://10.116.194.32:9080/screenpoc/TC02.pway'. ... 

<dtl_ref_amt>3.1
 
Please let me know if any of you have any inputs. Basically It will be of great help 
if any of you can suggest me, how a signed float should be represented in DDL, and in SDL.
Thanks in advance
Kumaresh


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com