Hi,

I'm using Axis2 to consume web service from another company. In WSDL I
have a type which should be no more than 40 characters, here's the
definition:

            <xs:simpleType name="Name_Type">

                        <xs:restriction base="xs:string">

                                    <xs:maxLength value="40"/>

                        </xs:restriction>

            </xs:simpleType>

 

However, Axis2 allow me to construct a SOAP with morn than 40 chars and
send out. Is there a way to configure Axis2 so it validates the soap
before sending out?

 

Thanks a lot.

Ren


This e-mail message (including any attachments) is private, intended solely for 
the recipient(s) or entity to whom it
is addressed and may contain material which is confidential and privileged.  No 
one other than the named recipient(s)
may read, copy, rely on, redirect, save or alter any part of this message or 
attachment(s) in any way. The views,
opinions and information expressed in this message represent those of the 
individual sender and do not reflect the 
views of the Travelex Group. Please take notice that the employees and/or 
agents of the Travelex Group are not 
authorized to make corporate commitments or representations via e-mail and no 
statement or representation made in this 
e-mail is binding upon the Travelex Group.  While reasonable effort has been 
made to ensure this message (including any 
attachments) is free of viruses, opening and using this message (including any 
attachments) is at the risk of the 
recipient(s). The Travelex Group consists of Travelex Limited, Ruesch 
International, Inc. and any subsidiaries,
affiliates or related entities.  Travelex can be found on the World Wide Web at 
www.travelex.com.  Ruesch can be found 
on the World Wide Web at www.ruesch.com.

Reply via email to