Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. Import XSD in WSDL

Import XSD in WSDL

Scheduled Pinned Locked Moved XML / XSL
questionwcf
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Subramaniam s V
    wrote on last edited by
    #1

    Hi All, Can anyone tell me if I can import two XSD's at the same time in my WSDL's section? if yes, how do i do it? Thanks

    S 1 Reply Last reply
    0
    • S Subramaniam s V

      Hi All, Can anyone tell me if I can import two XSD's at the same time in my WSDL's section? if yes, how do i do it? Thanks

      S Offline
      S Offline
      Stefan Troschuetz
      wrote on last edited by
      #2

      Inside the types section define a schema that imports the two schemas.

      wsdl:types
      xsd:schema
      <xsd:import namespace="..." schemaLocation="..." />
      <xsd:import namespace="..." schemaLocation="..." />
      ...
      </xsd:schema>
      </wsdl:types>


      "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

      www.troschuetz.de

      S 1 Reply Last reply
      0
      • S Stefan Troschuetz

        Inside the types section define a schema that imports the two schemas.

        wsdl:types
        xsd:schema
        <xsd:import namespace="..." schemaLocation="..." />
        <xsd:import namespace="..." schemaLocation="..." />
        ...
        </xsd:schema>
        </wsdl:types>


        "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

        www.troschuetz.de

        S Offline
        S Offline
        Subramaniam s V
        wrote on last edited by
        #3

        Thanks for the information provided. We have already tried the above mentioned suggestion. It doesnt work for us. It says the below error. Port 'PreBpelService83Port' can not be imported. PortType 'PreBpelService83' can not be imported. The http://schemas.xmlsoap.org/wsdl/:operation 'process' was ignored Any help on this is appreciated. Thanks

        S 1 Reply Last reply
        0
        • S Subramaniam s V

          Thanks for the information provided. We have already tried the above mentioned suggestion. It doesnt work for us. It says the below error. Port 'PreBpelService83Port' can not be imported. PortType 'PreBpelService83' can not be imported. The http://schemas.xmlsoap.org/wsdl/:operation 'process' was ignored Any help on this is appreciated. Thanks

          S Offline
          S Offline
          Stefan Troschuetz
          wrote on last edited by
          #4

          Subramaniam s.V. wrote:

          It says the below error.

          Who is it?

          Subramaniam s.V. wrote:

          Port 'PreBpelService83Port' can not be imported. PortType 'PreBpelService83' can not be imported. The http://schemas.xmlsoap.org/wsdl/:operation 'process' was ignored

          Are you sure you're trying to import XML Schema documents? The error complains about not being able to import WSDL elements.


          "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

          www.troschuetz.de

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups