473,388 Members | 1,234 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,388 software developers and data experts.

Proxy generated by VS 2005 from Java web service WSDL has camel case class and property names

Hi,

I created a web service using Java/JAX-WS. I'm able to consume this web
service using VS 2005 and .NET without a problem. However, the class and
property names that were generated for the proxy are in camel case. i.e. the
first letter is lower case rather than upper case. Does anyone know how to
correct this (short of manually renaming them myself)?

Jon
Jul 17 '06 #1
2 2011

Jon Miller a écrit :
Hi,

I created a web service using Java/JAX-WS. I'm able to consume this web
service using VS 2005 and .NET without a problem. However, the class and
property names that were generated for the proxy are in camel case. i.e. the
first letter is lower case rather than upper case. Does anyone know how to
correct this (short of manually renaming them myself)?

Jon
Do you mean that the names are differently spelled by the proxy than
those in the WebService ??

Jul 18 '06 #2
No, the names are spelled correctly. The case just doesn't match the
conventions used in .NET (see
http://msdn2.microsoft.com/en-us/library/ms229043.aspx). Everything,
including names of classes are in camel case instead of Pascal case. It's
this way because this is how it is in the XML schema that JAX-WS generated.
What I'm hoping for is a flag that you use to tell it to upper case the
first letter of class, property, and method names... It's not a big deal,
but, I was wanting to create a web service in both .NET and Java and be able
to switch between the two easily for testing purposes.

Jon

"olrt" <ol**@ifrance.comwrote in message
news:11*********************@35g2000cwc.googlegrou ps.com...

Jon Miller a écrit :
Hi,

I created a web service using Java/JAX-WS. I'm able to consume this web
service using VS 2005 and .NET without a problem. However, the class and
property names that were generated for the proxy are in camel case. i.e.
the
first letter is lower case rather than upper case. Does anyone know how to
correct this (short of manually renaming them myself)?

Jon
Do you mean that the names are differently spelled by the proxy than
those in the WebService ??
Jul 18 '06 #3

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

Similar topics

2
by: raymond | last post by:
Hi, Is it possible to create a proxy client class or a web service method by VS.NET without using wsdl? My stupid client is using a xml schema (.xsd) to describe all their web service methods...
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...
5
by: Benne Smith | last post by:
Hi, I have three enviroments; a development, a testing and a production enviroment. I'm making a big application (.exe), which uses alot of different webservices. I don't use the webservices...
8
by: Joe | last post by:
I have a web service which returns many types (classes) to match the return type. I want to cast the return type to the actual class type. For example: namespace Test { class MyClass { ...
9
by: MSDNAndi | last post by:
Hi, I have a set of simple webservices calls that worked fine using .NET Framework 1.0. I am calling a Java/Apache based webservices, the calling side is not able to supply a proper WSDL. ...
0
by: Richard Gregory | last post by:
Hi, I have the wsdl below, for an Axis web service, and when I select Add Web Refernce in Visual Studio the proxy is missing a class representing the returnedElementsType (see reference.cs below...
4
by: Fabio | last post by:
An ASP.NET 2.0 web site contains a web form and a web service. The web form consumes the web service. There is a Book class in the App_Code folder. The web service exposes a method that returns a...
10
by: Zoe Hart | last post by:
I have a wsdl file that I received from a third party and I'm using wsdl.exe (.NET 2.0) to import it and generate a proxy class. I've actually got a proxy class that works, but I'm trying to...
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...

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.