Hi, in Axis 1 in wsdd (wsdl in classpath I think) <service ...> ... <wsdlFile>original.wsdl</wsdlFile> </service>
in Axis2 in services.xml (wsdl in META-INF) <service ...> ... <parameter locked="false" name="useOriginalwsdl">true</parameter> </service> Hope this helps. Upul On 8/16/07, sjtirtha <[EMAIL PROTECTED]> wrote: > > Hi, > > I use Eclipse WTP to generate a java skeleton for a Web > Service implementation based on the existing WSDL. > After creating the java skeleton, I realized that Axis generated a new > WSDL that is possibly in run time by the servlet generated. > But this generated WSDL is not the same one with the existing WSDL that I > used to generate the java skeleton. > > For example, Axis changes the following datatype from a simpleType into > complexType. And when I see into the deploy.wsdd, axis map "char8" into a > simple String without restriction. It should cause a incompatibility between > the the WS Client that is built based on the existing WSDL and the WS > implementation that uses the new generated WSDL. > > How can I set Axis to use always the existing WSDL and not using the > generated WSDL. The problem is the WS client communicates with some other WS > implementation that use this existing WSDL. > > <xsd:simpleType name="char8" > > <xsd:restriction base="xsd:string" > > <xsd:maxLength value= "8"/> > </xsd:restriction> > </xsd:simpleType > > to > > <complexType name="char8"> > <simpleContent> > <extension/> > </simpleContent> > </complexType> > > Regards, > > Steve >
