Hi,

I am new to webservices and axis. I am using wsdl2java tool to create java 
source files. The problem is that the tool creates a reference of  
org.apache.axis.types.PositiveInteger class for xsd:positiveInteger data 
type. I dont want to make my SOAP service dependent on Axis. Is there any 
way I can plugin my own class for positiveInteger instead of Axis class. 
Or any way in which I can alter the schema definition in such a way that 
it uses only data types matching java types.

My xsd contains following definition:
<xsd:simpleType name="ProductIdInteger">
                <xsd:restriction base="xsd:positiveInteger">
                        <xsd:maxInclusive value="999999"/>
                </xsd:restriction>
        </xsd:simpleType>

regards,
Pankaj




*****************************************************DISCLAIMER*****************************************************

This message and/or attachment(s) contained here are confidential, proprietary 
to HUGHES SYSTIQUE and its customers. 
Contents may be privileged or otherwise protected by law. The information is 
solely intended for the entity it is 
addressed to. If you are not the intended recipient of this message, it is 
strictly prohibited to read, forward, 
print, retain, copy or disseminate this message or any part of it. If you have 
received this e-mail in error, 
please notify the sender immediately and delete the message.

********************************************************************************************************************

Reply via email to