473,322 Members | 1,719 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

WSDL Generated Proxy Classes Generating Strange SOAP Envelope

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/U...4-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
http://www.mediaburst.com/testsite/w...chService.wsdl It imports this wsdl
www.mediaburst.com/testsite/wsdl/Types.wsdl

Thanks for any help.

Ben Crinion
Nov 23 '05 #1
1 2162
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"
<be*@dontspam.mediaburst.co.uk> wrote:
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/U...4-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
http://www.mediaburst.com/testsite/w...chService.wsdl It imports this wsdl
www.mediaburst.com/testsite/wsdl/Types.wsdl

Thanks for any help.

Ben Crinion

Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: ffhansix | last post by:
Hi, I am having problems with generating a c# proxy class from a IBM websphere WSDL file, when running the wsdl.exe to create the c# proxy file command i recieve an error: Warning: one or...
2
by: Ryan Folstad | last post by:
Hello, I have been provided a wsdl file for a webservice that i would like to call with .net. Everything works fine however if the method throws an exception (fault) no SoapException is thrown...
0
by: bbalet.free.fr | last post by:
The “Add Web Reference” Visual tool generates bad classes (from WSDL schema) for ComplexType containing only one element (wsdl.exe and wseWsdl3.exe tools have the same problem) : if a...
0
by: dex | last post by:
Hi, I'm trying use a webservice with PHP5 soap extension in WSDL mode. I generated the php classes using wsdl2php. The problem is that 'auth' member of loginRequest (witch is a complex type)...
1
by: Robert | last post by:
Okay i feel like an complete idiot. I have a wsdl file I need to get the body of the Message that would be sent from a client. I am trying to do this in C# .Net20. I can parse the WSDL just...
3
by: Arpan | last post by:
Web Services make use of proxy classes whose methods & properties are accessed in exactly the same way as how a normal class' methods & properties are accessed. So what for does ASP.NET generate...
5
by: ayaz.usman | last post by:
Hi, I've built a web services proxy server, in C# using wsdl.exe, by importing wsdl. Howeever, when I go to : http://localhost/sample.asmx?wsdl, they wsdl there does not match the wsdl I fed...
1
by: sberry | last post by:
I have an Adobe InDesign server running that includes a built-in SOAP server. The wsdl is located here: http://www.seanberry.com/IDSP.wsdl. I have a PHP example that looks like this for calling...
5
by: Thomas Lunsford | last post by:
I have been asked to allow one of our old-school .asp pages to support being used as a web service. Specifically, WSDL was mentioned. I am not an expert on this , but I have done quite a bit of...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shllpp 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.