Modify WSDL Output Schema on ASMX .net

27 views Asked by At

Im having an issue with asp.net asmx output schemas, I also tried WCF method. But still failed

I create a WSDL with .net ASMX and wanted to have an output like this

Expected result

But my code generated another output format like this one

What I got

I expected SOAP-ENV:Body

  • InquiryResponse
    • (Child Element)

Current format soap:Body

  • GetinquiryResponse
    • GetinquiryResult
      • (Child Element)

Here's my code on .asmx file my code

Here's my model my model

I also tried WCF and still getting same format. Thanks

0

There are 0 answers