Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6849379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:59:03+00:00 2026-05-27T00:59:03+00:00

I created a couple of WCF services. One very robust one that can accept

  • 0

I created a couple of WCF services. One very robust one that can accept both SOAP and RESTful requests, and provide XML and JSON responses.

–EDIT: FYI: Enabling an SOAP endpoint to accept a RESTful request requires the use of [WebGet…, and as such, all input parameters must be of type string.

The other, a simple RESTful connector. The WSDL for the first service validates, however for the second, very simple RESTful connector – invalid.

I was using WSDL2Java to to complete the connection process, but fails, due to an invalid WSDL.

Am I mistaken in thinking that WSDL v2.0 is being generated?

Here is the WSDL from the service:

<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions name="RESTService" targetNamespace="http://antennasoftware.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://antennasoftware.com" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <wsdl:types>
        <xsd:schema targetNamespace="http://antennasoftware.com/Imports">
            <xsd:import schemaLocation="http://localhost/VRPCWebServices/RestService.svcxsd=xsd0" namespace="http://antennasoftware.com"/>
            <xsd:import schemaLocation="http://localhost/VRPCWebServices/RestService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
        </xsd:schema>
    </wsdl:types>
    <wsdl:message name="IRESTService_GetXMLData_InputMessage">
        <wsdl:part name="parameters" element="tns:GetXMLData"/>
    </wsdl:message>
    <wsdl:message name="IRESTService_GetXMLData_OutputMessage">
        <wsdl:part name="parameters" element="tns:GetXMLDataResponse"/>
    </wsdl:message>
    <wsdl:message name="IRESTService_GetJSONData_InputMessage">
        <wsdl:part name="parameters" element="tns:GetJSONData"/>
    </wsdl:message>
    <wsdl:message name="IRESTService_GetJSONData_OutputMessage">
        <wsdl:part name="parameters" element="tns:GetJSONDataResponse"/>
    </wsdl:message>
    <wsdl:portType name="IRESTService">
        <wsdl:operation name="GetXMLData">
            <wsdl:input wsaw:Action="http://antennasoftware.com/IRESTService/GetXMLData" message="tns:IRESTService_GetXMLData_InputMessage"/>
            <wsdl:output wsaw:Action="http://antennasoftware.com/IRESTService/GetXMLDataResponse" message="tns:IRESTService_GetXMLData_OutputMessage"/>
        </wsdl:operation>
        <wsdl:operation name="GetJSONData">
            <wsdl:input wsaw:Action="http://antennasoftware.com/IRESTService/GetJSONData" message="tns:IRESTService_GetJSONData_InputMessage"/>
            <wsdl:output wsaw:Action="http://antennasoftware.com/IRESTService/GetJSONDataResponse" message="tns:IRESTService_GetJSONData_OutputMessage"/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:service name="RESTService"/>
</wsdl:definitions>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T00:59:03+00:00Added an answer on May 27, 2026 at 12:59 am

    .NET does not support WSDL v2. This is WSDL 1.0.


    According to XMLSpy:

    attribute ‘element’ in message part ‘parameters’ (message
    ‘IRESTService_GetXMLData_InputMessage’) refers to element
    ‘tns:GetXMLData’ which is not defined within the WSDL file!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So, I have created a couple of WCF services. Each return lists of a
I've created a search with a couple of comboboxes that allow users to filter
I have a WCF service that provides a couple of methods. A Windows Forms
I've created a function in PostgreSQL that works on a couple of tables and
We have a couple of WCF services hosted in an asp.net application on IIS.
I recently posted a question about a WCF Restful web service that I am
I've created a couple of custom validation methods for jQuery Validate. One is used
I'm studying Juval Lowy's excellent Programming WCF Services and I've just created a really
I have a complex .NET Remoting server app that provides a couple of services.
I created a couple of custom attributes that I attach to my methods in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.