axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shao, Zhiren" <>
Subject How to validate out going SOAP with Axis2?
Date Tue, 21 Oct 2008 00:03:54 GMT

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

            <xs:simpleType name="Name_Type">

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

                                    <xs:maxLength value="40"/>




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.


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
 Ruesch can be found 
on the World Wide Web at

View raw message