WSDL types question

Posted on 2012-09-05
Last Modified: 2012-09-20
I have a wsdl file that was automatically generated by a a windows client when a service reference was added for the WCF service in Visual Studio.

I'm trying to use gsoap under linux to access this web service and I'm trying to understand exactly the wsdl file as I'm having some problems because the interface returns a stream and not a simple int or string type.

I understnd that the types element describes the data types used between the client and the server.

Here is the types element:

<xsd:schema targetNamespace="">      
<xsd:import namespace="" />      
<xsd:import namespace="" />      
<xsd:import namespace="" />    

Open in new window

What exactly does each of the lines mean in the types element??
And how do they relate to the data that is exchanged between client and server?

Question by:Wanting2LearnMan
    LVL 16

    Expert Comment

    by:theo kouwenhoven
    Namespaces are not related to the data, but to the interpretation of it
    LVL 25

    Accepted Solution

    In WCF, the namespace for a service should be a valid URN. Else it should be default namespace( or it should be empty.

    namespace just scopes the name of the interface in the WSDL.

    Featured Post

    Gigs: Get Your Project Delivered by an Expert

    Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

    Join & Write a Comment

    Suggested Solutions

    Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…
    These instructions are based on installing Owncloud on your new raspberry pi connected with a usb HDD. What do you need Part A? A Raspberry Pi, model B. A boot SD card for the Raspberry Pi. A usb HDD An Ethernet cable to connect to the lo…
    The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now