tecdoc WebService apache axis in .net client

I am trying to use a Web Service generated on Apache Axis:

http://webservicepilot.tecdoc.net/pegasus-2-0/wsdl/TecdocToCatWL

VehicleManufacturers3Request req = new VehicleManufacturers3Request()
    {
        provider = 289,
        lang = "fr",
        carType ="1",
        evalFavor = false,
        favouredList = 1,
        countryGroupFlag = false,
        countriesCarSelection = "fr"
    };

getVehicleManufacturers3RequestBody requestBody = new getVehicleManufacturers3RequestBody(req);
getVehicleManufacturers3Request request = new getVehicleManufacturers3Request(requestBody);

TecdocToCat cat = new TecdocToCatClient();           

getVehicleManufacturers3Response response = cat.getVehicleManufacturers3(request);

Using fiddler I see that I get response:

<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope 
        xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
        xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <getVehicleManufacturers3Response 
            xmlns="http://webservicepilot.tecdoc.net/pegasus-2-0/services/TecdocToCatWL">
        <getVehicleManufacturers3Return xmlns="">
            <data>
                <array>
                <array>
                    <manuId>609</manuId>
                    <manuName>AC</manuName>
                </array>
                <empty>false</empty>
            </data>
            <status>200</status>
            <statusText xsi:nil="true"/>
        </getVehicleManufacturers3Return>
    </getVehicleManufacturers3Response>
</soapenv:Body></soapenv:Envelope>

But response.Body is empty.

Can somebody say what are the possbile problems?

Answers


The problem was that I was using wrong version of the web service.


Need Your Help

Android emulator doesn't work properly

android android-emulator

I have installed all the necessary files from android site, but when I run my emulator it just displays "ANDROID" and nothing else. I am using Intel Dual core (2.20GHz), ASUS motherboard and 3gb o...

How can I atomically update a row with a timestamp?

transactions oracle11g sql-update rowlocking

I have a distributed application that uses the database to synchronize clients. Clients will attempt to update a record, but will only do so if no other client has done so in the past 1 hour.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.