Imperial Leather Is The .NET Developers Soap Of Choice?
Sep 14, 2009
No not of the Simple Object Access Protocol variety, but Soap It seams that Imperial Leather is the .NET developers soap of choice. This means however that we will all smell the same, and will make detecting a fellow developer out in the wild a little more difficult, since you cant smell your own scent. May i also suggest that PEARS Soap is not only far more visually appealing than Imperial Leather, but it actually smells much nicer too. Plus the Queen buys it as well, so just think on that the Royal bottom gets washed with this stuff:what says the masses?
View 9 Replies
ADVERTISEMENT
Dec 27, 2011
I wrote a soap service in PHP using nusoap. It works fine with the test client I wrote in PHP, however, our customer wrote his client in vb.net and it is not working. There are no errors that I see, but the service is not parsing his requests properly.
I am letting nusoap generate the WSDL, and it looks fine. If I compare a message that I send in to one of his messages, I do see a few differences in the envelope, but I'm not sure if the problem is on my end or his.
[Code]...
View 1 Replies
Mar 12, 2010
I have four drop down lists here and I've assigned the datasource and displaymemberproperties so they are populated by a table. When I run the program and select a choice, all four of them get updated with the new choice.
View 3 Replies
Apr 11, 2011
My program needs to convert the variables users enter in textboxes from metric to imperial and vice versa so the user can switch units at any time during run time and have the values in the textboxes display the correct value. The problem is that for example if the user initially enters all his values in metric when converting I will be displaying the rounded value of the imperial value. If the user initially enters his values in imperial, when converting I will be displaying the rounded value of the metric value.
But the problem occurs when then user switches back to the original units all the values go to 0 because in the coding for my radio button I set the txtboxes to the rounded xxx value. How to code the radiobuttons to detect what unit was initially selected to set the right values. What I tried doing was set a counter on the radio buttons to determine which one has been pressed more often... but there has got to be a better way to do this..
Imperial Radio button:
Private Sub optImperial_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles optImperial.CheckedChanged
'Change Labels to Imperial
lblMDegreeC.Text = "Degree F"
lblMDegreeC2.Text = "Degree F"
[Code] .....
View 1 Replies
Apr 1, 2009
I am having a bit of an issue and would like some opinions. I have a settings class that I use in my program that gets passed around to various pieces of the program. When the program exits, the settings class is serialized out to an xml file. When the program starts the settings class is serialized back from the xml file.If the program doesn't find an existing xml file, the defaults in the class are used and a new xml file is created when the program exits.This all works well. Here is a trimmed down version of my settings class:
Public NotInheritable Class UserSettings
Private _Length As Double = 10 'feet
Private _Name As String = "Inert Material"
[code]....
The problem that I am having is that if the program units are metric, then the default values are always converted in the constructor and the xml serializer then stuffs the values that exist in the configuration (over writing the converted default value which is what I want) into the proper properties. The reason for this behavior is to make sure that that new properties that don't exist in the xml file have a proper default value when metric units are required.
It seems wasteful to convert all of the default values every time when working with metric units? Is there a better way to do this? My full class has currently about 15 default values that need to be converted to metric equivalents. Ideally I would only like to convert values that haven't come from the xml file.
View 2 Replies
Jun 1, 2011
When the program exits, the settings class is serialized out to an xml file. When the program starts the settings class is serialized back from the xml file.If the program doesn't find an existing xml file, the defaults in the class are used and a new xml file is created when the program exits.This all works well. Here is a trimmed down version of my settings class:
Public NotInheritable Class UserSettings
Private _Length As Double = 10 'feet
Private _Name As String = "Inert Material"
[code].....
View 2 Replies
Mar 3, 2011
I am making a program that calculates various results with variables entered by the user. What I am trying to do is incorporate a function that will allow the user to switch from metric to imperial easily but only when the ok button is pressed. Now I got all the coding done for the metric and everything is working fine. My problem is when I use the radiobuttons to switch the entered variable in the text box to the desired unit it gives me a 0 or a random number in the textbox...
I also have labels indicating each variables unit which I easily managed to change with the text box using this code. :
'Change Labels to Metric
lblMDegreeC.Text = "Degree C"
lblMDegreeC2.Text = "Degree C"
lblMmm.Text = "mm"
lblMmm1.Text = "mm"
lblMmm2.Text = "mm"
lblMm.Text = "m"
lblMm2.Text = "m"
lblMm3.Text = "m"
lblMDegreeC3.Text = "Degree C"
I created all the coding to convert the metric variables to imperial. My problem is changing the textbox text when the user switches the units during run time. The labels change without a problem but the textbox never works. I have attached the coding for the file.
View 4 Replies
Apr 23, 2009
I'm asking this question as someone who works for a company with a 70% to 75% VB.NET developer community. I would say 80% of those developers do not know what an OOD pattern is. I'm wondering if this is the best thing for the health of my company's development efforts?
I'm looking at the tag counts on:
http://stackoverflow.com/tags
There are currently:
12175 .NET questions
18630 C# questions
2067 VB.NET questions
[Code]...
View 20 Replies
May 23, 2010
Possible Duplicate: Should I learn VB.NET or C#? There are a lot of new .NET developers starting careers or school with little to no previous programming experience, or programmers moving from other languages like Perl.
View 6 Replies
Jul 9, 2009
My scenario is such that I have a VB.NET project in SVN and I am using the Application Framework to start the application. This poses a great problem when different developers are working on different forms and they want to have different startup forms. Right now if we change the project settings, its changed for everyone else too. How can we work around this? Can SVN have a class committed into the repository and later changes cannot be committed into it? (more like ignoring a file but with a initial copy in the repo)
View 2 Replies
Feb 16, 2010
What I'm Not looking for:Now, just to be clear, i'm not looking for VB6 to C#.Net content, as i know there are a few of those out there.Also, I know about that "syntaxconversion table" website, where it compares VB.Net to C# language features in a side by side table. I am not interested in this either, already know about it.I'm also not looking for a converter, which converts C# code to VB.Net and visa versa, i know there are a few websites which do this and already have the addresses.Finally, I'm not looking for a C# book or resource that caters to current programmers, but specifically to VB.Net programmers!
What I Am looking for:To learn C# (VS2008 or preferably VS2010 version) given that i already know VB.Net 10.0 (VS2010)... as there are many things related to .NET that i won't have to learn again if i can find something that will leap me from vb.net to c#, many bits of the CLR, how .NET works etc... since the languages are the same in what they do, and what they use to do them, i don't want to have to re-learn all this again. The only difference is really the syntax, but also how the C# language differs in dealing with certain things, what default expectations/behaviours are in various scenarios etc...
The set of differences and similarities between C# and VB.Net are so unique that neither of these languages likely could share this unique set/combination of differences and similarities with any other language. So my point is, it really needs to be C# for VB Developers oriented, otherwise it'll almost cetainly be inappropriate or a re-hashing!
View 5 Replies
Apr 23, 2009
What would you recommend as the "best" VB.NET and C# books for learning Design Patterns?eferably books that actually give examples of when to use the patterns. I need torecommend some books to a group of C# and VB.NET developers.
View 19 Replies
Aug 26, 2009
after a lot of work and late nights, I finally have something to give back to the VBForums community which has helped me so much.TwitterVB is a library for communicating with Twitter. It's 100% Visual Basic.NET and coded against version 2.0 of the .NET Framework. It is free, and it is open source.
TwitterVB contains a working implementation of OAuth, which allows your application's name to appear in tweets.I hope that this library proves to be useful to VB.NET developers who are looking to develop their own Twitter applications.TwitterVB can be found at http://code.google.com/p/twittervb
If you'd like to see a working implementation of TwitterVB in action, you can look at the Twitter client that I built with it: Quitter. Like TwitterVB, Quitter is 100% Visual Basic.NET. It is also free and open source. Quitter can be found at[URL]..
View 2 Replies
Jul 29, 2009
I am not sure if this is the correct place for this, but am using a custom control in a project that I want all the developers to have access to when they download the source.
Should I just add it to the project like a normal file? If so how do I reference it in the project folder? The other developers project folders might have different paths than mine.
View 3 Replies
Sep 12, 2010
UPDATED: Feel like this shouldn't be that complicated, but I think I just don't know the proper name for what I'm trying to do. I'm dealing with an ASP.net project. The concept is pretty simple: I have a library that supplies some ecomm functions. One class in the libary contains functions around calculating tax. One class in the library revolves around the cart header. This class is consumed by a web project.
[Code]...
View 4 Replies
Apr 18, 2009
Just curious ... for those whose main occupation is as a software developer what percentage of you had computer science degree vs. self taught?
View 2 Replies
Sep 30, 2009
I am not sure if this is the correct forum to post. I sometimes train Excel VBA. I would like to learn the language to a developers level. What relevant qualifications do Microsoft offer since I cannot find anything on their site?
View 1 Replies
Dec 11, 2011
I am in the process of creating a open-source project to track the Psychological Mood of a person, this application will be used by people visiting psychologists. People that are currently in therapy or want to keep track of mood changes. The program is based on CBT. To provide to the end-user the tools for him to be able to monitor his mood.To provide to the therapist additional information for the client through the automatic generation of graphs.I am looking for some volunteers to help me with Coding of the Project. I am doing the coding in Visual Basic 2010 and currently using MS Access 2007 as the Database. I have many plans to make this is a feature-rich application with the aim to help the end-user.
View 5 Replies
Jul 12, 2010
We currently have some big projects coming up which we will be creating in visual studio using vb.net There will need to be most likely three developers working on different parts of a particular project at any one time.I was just wondering if there is any sort of platform we can use so this is possible as currently each person is using a different copy of the work and then we are transferring this over onto a master copy.
View 5 Replies
Jan 25, 2010
Which language is preferred by most developers especially targeting .NET & silverlight? Is it C# or VB.NET?
Are there any advantages/disadvantages of both languages when compared with each other?
View 6 Replies
Feb 28, 2010
Here's an interesting problem, and I'm looking for a pattern that will keep it all workable. I am building a smart-client app for a school system. It will contain information about students including their report cards, sick days, and so forth. it will generate student-level reports, including their report cards, each rich with very personal commentary by their teachers. The app will retrieve data from the remote server via web services.
[Code]...
View 4 Replies
Apr 6, 2010
I am in college taking computer programming and we are now in multiple classes and forms. It was very hard to get ahold of at first but now that I understand it a bit better I am curious as to how often in a professional enviornment do developers create multiple classes for a project? Besides the use of custom functions what else is beneficial for it?
View 4 Replies
Mar 15, 2009
We just spent 300 man-hours fixing a buggy application in the field. It all came down to calling Application.DoEvents (re-entrancy problem).This was not caught in design reviews, code reviews.The code was inserted two years ago with the first version; the application was always "flaky" but recent changes exposed the re-entrancy problems to a greater degree. This incident is the second time in our organization that Application.DoEvents caused failures and multi-man hours of debugging.It was discovered in this case by simply noticing the call,buried way down in a complex event handler for an asynchronous task.What do you suggest to prevent this issue from happening again:
Add checkin gates to source control?
Developer training?
Code Analysis rules (why is this not already a built-in rule?)
How to I enforce a coding practice?
View 8 Replies
May 31, 2012
I need to use a web service that was provided to me and that uses SOAP with attachments as a means of communication. It also uses WS-Security 1.0 as a form of authencation (user and pass in plain text).I will be working on VB.NET and my experience with web services is very slim, and goes as far as creating a WCF web service, adding the service reference in another project thus creating a proxy class and using the methods.I have searched the internet and found that there is no native support for SwA in VB.NET, is this correct?
View 3 Replies
Sep 15, 2009
I am currently working on a project, which purpose is to call a webservice through a VB script. VB is by far not my first language and I simply reach the point where I do not know how to go on from here.
I have a Webservice descriped in a WSDL document that defines a service that takes a complex type as parameter and returns such one as answer.
The complex type is basically just a string that is wrapped inside a class object. So what i did was to create a new class module and added a public variable to it. I created a new instance of this class, gave it for the purpose of testing a value and tried to call the webservice. Everything goes well untill i reach the call to the webservice, where the program throws an exception that says:
"Class does not support automation or does not support expected interface"
My first thought was that the initialization of the object might have gone wrong but i am quite able to set and get the values on it. So i have to assume that the object is okay. I know that the url to the WSDL document is correct, due to the fact that I can call the document via the browser and it will throw an exception of "wrong type" when i feed the soap method with a primitive.
With out luck I browsed several pages on the net to find a clue what this could. So now i wanted to give this forum a shot.
You should know that i am not able to alter the WSDL file. I have to go with the way it is. In addition am supposed to stick to VB 6.0.
I used a Form in VB to make the call to the webservice.
Here is the call procedure:
Private Sub Command1_Click()
On Error GoTo ErrorHandler
Dim tS
[Code]....
View 4 Replies
Sep 6, 2011
How can I read SOAP response? Below the function, only read some specific node. I want to read whole SOAP response.[code]
View 1 Replies
Jan 25, 2010
It's the first time that i'm trying to use SOAP, i don't know how to make the request, I know the URL where the operation it's located, and i know the name of the operation, and i know the expected xml document schema. I have read in msdn about Microsoft.Web.Services2.SoapEnvelope, but i'm missing something...
The function structure it's something like:
<normal soap nodes until body>
<NameOfTheFunction xmlns="http://tempuri.org/">
<Var1>Value1</Var1>
<Var2>Value1</Var2>
Do i need the webrequest class? or the soap class can do all the job?
View 1 Replies
Jun 30, 2011
I know how to send a SOAP request using the web reference, but I'd like to know how to programmatically create a SOAP request using the WSDL. I'm looking for something that would make this:
<?xml version="1.0" encoding="utf-8" ?>
- <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">[code].....
View 1 Replies
Feb 4, 2011
I am new to the wcf services and soap. Kindly give me an example or demo how to generate a soap request and response using wcf services. I need to use VB.net for this.
View 2 Replies
Dec 30, 2011
This is related to my question at the below link, however posting on a seperate thread as needed some direction on the error handling part.soap request client to webservice using vb.net
How/Where can i get the error "response validation not conforming to wsdl and schema" in my vb.net webservice client. I checked the response using the validate response option, within soapui tool. Is there any way to generate the logs related to this, in .net client?There was no exception in my .net client, except the response object was blank, even though i could see the response xml in the trace log.
The below line invokes the webservice. After the excution, tracelog has the request and response xml, however my objresp(response object) is empty. In soapui, i validated the response, it was not conforming to schema.objresponsehead = objProxy.myoperation(objreqheader, objrequest, objresp)
View 1 Replies