473,748 Members | 2,274 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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:Envelop e
xmlns:soap="htt p://schemas.xmlsoap .org/soap/envelope/"
xmlns:soapenc=" http://schemas.xmlsoap .org/soap/encoding/"
xmlns:tns="http ://thor.mediaburst .net/wsdl/SearchService"
xmlns:types="ht tp://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:encodingSt yle="http://schemas.xmlsoap .org/soap/encoding/">
<xsd:string xsi:type="xsd:s tring">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 2194
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.m ediaburst.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:Envelo pe
xmlns:soap="htt p://schemas.xmlsoap .org/soap/envelope/"
xmlns:soapenc=" http://schemas.xmlsoap .org/soap/encoding/"
xmlns:tns="http ://thor.mediaburst .net/wsdl/SearchService"
xmlns:types="ht tp://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:encodingSt yle="http://schemas.xmlsoap .org/soap/encoding/">
<xsd:string xsi:type="xsd:s tring">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
9904
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 more operations were skipped. Warnings were encountered. Review generated source comments for more details.
2
4200
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 and no response is visible from the generated class. 2 questions. 1. From within the wsdl generated class file how do i see the actually soap
0
1993
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 ComplexType A contains only one element, the tool don’t generate a class for the ComplexType A. It generates a class only for the element type (B) included in this ComplexType (if this type contains more than one element...). For types in WSDL schéma...
0
2137
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) dosen't get serialized. The 'version' member witch is decimal is being serialized and sent to the server. I am doing something wrong ?
1
5893
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 fine using the the framework but can not find any method of generating the the body of message for any give operation.
3
5401
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 proxy classes (using WSDL) which consume more hard disk space & resources? For e.g. consider the following code which exists in a user-defined class file: Imports System Imports System.Data
5
12716
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 into wsdl.exe. Why is this? Is there something I can do to make the input and output wsdl match?
1
3919
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 the SOAP function runScriptParameters //--------------------------------------------------------------------------- $scriptArgs = array(); $scriptArgs = array("name" ="myVarName", "value" ="myVarValue");
5
3276
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 reading, and I understand that I can create a WSDL file that supports HTTP POST and then use WSDL.exe with the proper parameters to generate a web service proxy. To this point, all I get from WSDL.exe when doing so is "Warning: no classes were...
0
8991
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
8831
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9552
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9326
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9249
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3315
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.