Web Service Question Need Help renaming a portType name

Last post 02-16-2006 10:25 PM by netguy. 1 replies.

Sort Posts:

  • Web Service Question Need Help renaming a portType name

    02-15-2006, 5:14 PM
    • Member
      5 point Member
    • ajaac
    • Member since 02-15-2006, 10:00 PM
    • Posts 1

    I need assistance with renaming the portType name that is generated in the WSDL.

    The name generated by dotNet always has the protocol appended to the end, in my case that's Soap. I need it to end with Port.

    The reason is this web service must match an existing client, and the client is expecting to see a specific name for the port.

    I'm sure there must be some way to do this, but I have not been able to find anything that works.

    I have been all over the web and the closest thing I've found so far involves using binding, but my implementation of this changes the wsdl to much, I need to just change the portType name.  I may be just doing it wrong, so an example may be needed.

    Thanks to anyone you tries to help.

     

     

  • Re: Web Service Question Need Help renaming a portType name

    02-16-2006, 10:25 PM
    • Participant
      1,795 point Participant
    • netguy
    • Member since 06-24-2002, 2:03 PM
    • Washington, DC
    • Posts 359

    You will need to generated your own WSDL.

    Do a search for "Contract First" - you will information on how to develop the schema and then generate a wsdl from it. So if you have the 'old' schema you can use it to re-generate your new WSDL.

    ~ Innovative Modules @ Inspector IT
    ~ I Blog @ CTO 2.0
Page 1 of 1 (2 items)