WSDL types question

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?

Who is Participating?
apeterConnect With a Mentor Commented:
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.
MurpheyApplication ConsultantCommented:
Namespaces are not related to the data, but to the interpretation of it
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.