Hello,

I have this mehod declared in an interface.

  @WebMethod(operationName = "validate")
   @WebResult(name = "validateResult", targetNamespace = "
http://soap.easysol.net/detect/";)
   WSCommonResult validate(
           @WebParam(name = "sharedKey") String sharedKey,
           @WebParam(name = "processIdentifier") String processIdentifier);



And also have the implementation ... the webservice is executing fine but I
need to further customize the generated WSDL

Right now, this is the definition I'm getting

.
.
.
<xsd:schema xmlns:xsd=" http://www.w3.org/2001/XMLSchema";
attributeFormDefault="qualified
" elementFormDefault="qualified" targetNamespace="
http://impl.ws.detect.easysol.net";>
<xsd:complexType name="WSCommonResult">
<xsd:sequence>
<xsd:element minOccurs="0" name="resultCode" type="xsd:int"/>
<xsd:element minOccurs="0" name="resultDescription" nillable="true"
type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
.
.
.


Is there a possibility to chage it, especially the complexType name and the
targetNamespace so the resulting WSDL would be something like...

.
.
.
<xsd:schema xmlns:xsd=" http://www.w3.org/2001/XMLSchema";
attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="
http://soap.easysol.net/detect/";>
<xsd:complexType name="validationResultType">
<xsd:sequence>
<xsd:element minOccurs="0" name="resultCode" type="xsd:int"/>
<xsd:element minOccurs="0" name="resultDescription" nillable="true"
type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
.
.
.


Any reference or link ???

Regards,


David Castaneda.

Reply via email to