Hi, Please tell us which version of the Axis/Axis2 runtime that you are using inside Eclipse WTP WS Framwork, plus what is the WTP verison that this issue raised. I believe you are using Axis as the runtime not Axis2 in side WTP. AFAIK in Axis
you need to edit the deploy.wsdd. <wsdlFile>your.wsdl</wsdlFile> Then restarting the WS runtime should work. Thanks Lahiru 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 > -- Thanks Lahiru Sandakith http://sandakith.wordpress.com/ GPG Key Fingerprint : 8CD8 68E0 4CBC 75CB 25BC 1AB1 FE5E 7464 1F01 9A0F
