none
wsdl:import namespace RRS feed

Answers

All replies

  • Why would you want to do this?  You shouldn't have to modify this manually.

     

    -James

     

    Friday, May 9, 2008 10:56 PM
    Moderator
  • only to clean up the wsdl, all my other namespaces are setup to match our corporate namespace guidlines. This one remains tempuri.org.

    Monday, May 12, 2008 3:13 PM
  • What remains tempuri.org?  Can you post the wsdl namespace you want to change?  It may be "action" or something that is easily configurable.

     

    Monday, May 12, 2008 4:53 PM
    Moderator
  • I have the same problem (or at least similar):

    Code Snippet

     

    <wsdl:definitions name="ACISService" targetNamespace="http://www.deetc.isel.ipl.pt/ACISService" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:tns="http://www.deetc.isel.ipl.pt/ACISService" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:i0="http://tempuri.org/" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex">

      <wsdl:import namespace="http://tempuri.org/" location="http://localhost:1344/ACISService.svc?wsdl=wsdl0" />

     

     

    In the wsdl: definitions the namespace appears as I want, but in the wsdl:import it remains http://tempuri.org/

    Wednesday, May 14, 2008 3:06 PM
  • Hi Johnny-T,

     

    Check out this post:

    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2029998&SiteID=1.

     

    In your case the namespace on the binding should let you change the namespace on wsdl:import.

     

    Code Snippet
    <
    endpoint bindingNamespace="foo" address="" binding="wsHttpBinding" contract="IService1">

     

    Thanks,

    -Yavor

     

     

    Wednesday, May 14, 2008 11:47 PM
  • Guess I didn't search hard enough, or I would've found the other post.

    It solved my problem.

    Thanks for the help!

    (This is Johnny-T, just changed the nickname to the real name).

    Friday, May 16, 2008 10:02 AM