all groups > dotnet web services > october 2005 >
You're in the

dotnet web services

group:

WSDL Generated Proxy Classes Generating Strange SOAP Envelope



WSDL Generated Proxy Classes Generating Strange SOAP Envelope Ben Crinion
10/24/2005 2:16:18 PM
dotnet web services: I dont think my generated classes are creating a correctly formatted soap
envelope

I have entered the WSDL into the WebServices Studio app (app is from here
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c)
and used the Studio to invoke the service.

It gives you the option to view the envelope and it looks like this:-

<?xml version="1.0" encoding="utf-16"?>
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://thor.mediaburst.net/wsdl/SearchService"
xmlns:types="http://thor.mediaburst.net/wsdl/SearchService/encodedTypes"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<xsd:string xsi:type="xsd:string">fasdfasd</xsd:string>
</soap:Body>
</soap:Envelope>

There is no function name element and the element which is present should be
called <searchString> not <xsd:string>.

Im sure that this is a problem with the WSDL but it was verifired as ok by
Altova XML Suite. WSDL can be found here
www.mediaburst.com/testsite/wsdl/SearchService.wsdl It imports this wsdl
www.mediaburst.com/testsite/wsdl/Types.wsdl

Thanks for any help.

Ben Crinion

Re: WSDL Generated Proxy Classes Generating Strange SOAP Envelope Marvin Smit
10/25/2005 10:39:45 AM
Hi,

i tried to take a look at the wdsl's you link to at the bottom of your
post, but i'm getting an access denied.

Can you post them?

Marvin Smit.


On Mon, 24 Oct 2005 14:16:18 +0100, "Ben Crinion"
[quoted text, click to view]
AddThis Social Bookmark Button