hi
i have my web service. i want its WSDL to expose, in addition to all the
methods and structs, some const-s (ints).
can i do that?
thanks,
Ohad
--
visit my photography exhibition at www.pbase.com/ohadr 4 1414
I looked for this one a while back. More specifically I was thinking
in the XSD, (probably what you mean too). I Never found a solution.
You can use a 1 element enumeration though...
"Ohad Redlich" wrote: hi i have my web service. i want its WSDL to expose, in addition to all the methods and structs, some const-s (ints). can i do that? thanks, Ohad
-- visit my photography exhibition at www.pbase.com/ohadr
thanks!
--
visit my photography exhibition at www.pbase.com/ohadr
"JRadical" wrote: I looked for this one a while back. More specifically I was thinking in the XSD, (probably what you mean too). I Never found a solution. You can use a 1 element enumeration though...
"Ohad Redlich" wrote:
hi i have my web service. i want its WSDL to expose, in addition to all the methods and structs, some const-s (ints). can i do that? thanks, Ohad
-- visit my photography exhibition at www.pbase.com/ohadr
Hi Ohad,
A const is essentially a data value. Why would you want to represent a
data value in WSDL which is only about structure?
If it's because you want your web service to accept discrete values,
consider using an Enum.
Hope that helps, just shout if you have any questions...
Josh http://www.thejoyofcode.com/
hei,
thanks.
yes, you r right. i wanted to accept discrete values. i will use enum, as u
say.
many thanks
Ohad consider using an Enum.
--
visit my photography exhibition at www.pbase.com/ohadr
"Josh Twist" wrote:
Hi Ohad,
A const is essentially a data value. Why would you want to represent a data value in WSDL which is only about structure?
If it's because you want your web service to accept discrete values, consider using an Enum.
Hope that helps, just shout if you have any questions...
Josh http://www.thejoyofcode.com/
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: relaxedrob |
last post by:
Hi All!
I ran the following w3c example through my WSDL parser (SOA Editor
from Cape Clear):
http://www.w3.org/TR/wsdl#_rpcexample
It told me that there were a bunch of erros about no timeInstant or
float defined in the xsd namespace:
"http://www.w3.org/2000/10/XMLSchema".
|
by: Sonna Nach |
last post by:
Hi All,
I am writing a doc/lit web services, in which the elements under
SOAPBody is unknown. That is, these two message are acceptable.
1. <SOAP-ENV:Body><Tag1>It is ok</Tag1></SOAP-ENV:Body>
2. <SOAP-ENV:Body><Tag2><Tag3>It is also
ok</Tag3></Tag2></SOAP-ENV:Body>
The question is, if I write the wsdl as below, it defines the
|
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.
|
by: cipher |
last post by:
I have some constant values in my web service that my client application will
require. Having to keep server side and client side definitions insync is
tedious. I am trying to do something like this:
public __value enum Colors { Red = 1, Green = 2, Blue = 4, Yellow = 8 };
However, the resulting wsdl omits the actual flag values:
- <s:simpleType name="Colors">
|
by: Elhanan |
last post by:
hi.. i have a small Web Service which is consumed by dotnet application
the webservice is located in 2 places. the first is my local tomcat,
and the second is in websphere server.
problems is that if i generate a proxy from the wsdl in websphere, i
can't get the databean if refer the proxy's url my tomcat's (i simply
recive null).
this is my tomcats's wsdl:
| |
by: Ohad Redlich |
last post by:
hi
i have my web service. i want its WSDL to expose, in addition to all the
methods and structs, some const-s (ints).
can i do that?
thanks,
Ohad
--
visit my photography exhibition at
www.pbase.com/ohadr
|
by: Cesar |
last post by:
Hello there,
A java programmer sent me a wsdl file, which I have to use to consume his
web methods. When I run the wsld.exe tool to generate the class' code, I get
the following message:
CODEGEN: The operation binding 'getAvaluos' from namespace
'urn:m15.AvaluosPortType' was ignored. The combination of style=rpc with
use=literal is not supported.
|
by: Nick K. |
last post by:
I use wsdl.exe to generate client code to call a web service. The actual web
service is generated with the BizTalk Web Services Publishing Wizard.
I'm not sure this is particular to the BizTalk code but the calls to web
methods pass parameters by ref so that I have to call it like:
XmlDocument doc = new XmlDocument();
doc.LoadXml(message);
|
by: =?Utf-8?B?TWFuaQ==?= |
last post by:
Hi,
I have a webservice which uses a c# Dll,This Dll is a C# class library which
contain few class .
I am able to see the class when in the Web service but when i create a stubb
class of the webservice using wsdl.exe then these classes are not
exposed.Both the class are public.
I tried for a while and found that if I use these class(one and two) as the
parameter in the WebMethods the web service and generate the Stubb class then
these...
|
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...
|
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,...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |