Well, I hope you've considered security...
...yeah - I put in a firewall
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Reply to: Web Services Contract First
Collapse
You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
- You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
- You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
- If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Logging in...
Previously on "Web Services Contract First"
Collapse
-
"The code generated is an enhanced .NET object library that greatly simplifies working with XSD data structures and XML."
interesting - in what way? not that i'm a fan of either web services or reflection but happy to be educated.
what does .not2 bring to webservices beyond wse3?
Leave a comment:
-
I get a lift home to Edinburgh from the senior permie database chappie who is leading the non-dotnet side of the project - they may be upgrading the way they work with Web Services, which would mean a reworking of our side... i have already mentioned the increased capabilities of .Net 2.....
Leave a comment:
-
Actually Mr Black, Ive pretty much done as you suggest.....
A new interface is agreed, we get the WSDL, we import it into our project, I right click and effictively say ' create me a Collection based proxy '... takes seconds...
The same code I wrote a month ago will handle the population of parameters no matter what is recreated in the proxy - its up to the UI developers to just assign a ' stateKey="propertyName" ' attribute to any control in the aspx page they want mapped to a property of the Web Method call... and thats pretty much it.
Basically Im working with people who arent familiar with .Net, so I abstracted as much as possible - an API for calling the Web Services through a single call, two base classes that handle authorisation, errors, logging, and a 'Wizard' framework that involves just creating a User Control.
Leave a comment:
-
Originally posted by mcquiggdWith this in mind Ive written a wrapper for a Web Service proxy that uses reflection to examine the properties of a given Web Method, and set the values from a Hashtable either stored in session (from a wizard type interface with up to 30 pages of data) or passed as a Hashtable directly from a standard ASPX page, using a 'stateKey' attributes for the Web Controls, and a base page that handles persitence of values from any Web Control and a placeholder to dynamically instantiate Custom Controls acording to an XML file that dictates the process...WSCF is an easy way to convert a WSDL description to a Collection based proxy....
Perhaps something more generic would be easier? Have to say never been keen on web-services/WDSL to proxy class/code generators. Always prefered generic webservices/webservice-clients which deal with all and sundry and use the XML or schema to decide what to do with it.
"The array based proxies generated by the VS.Net 'Add Web Reference' are unwieldy"
Using 'Add Web Reference' is like a box, sometimes it's difficult to step out of...
"The code generated is an enhanced .NET object library that greatly simplifies working with XSD data structures and XML."
Hmm, sometimes that's one of its biggest limitations.Last edited by Joe Black; 17 January 2006, 23:38.
Leave a comment:
-
Well, its local government... what do you expect... Im a C# MCSD but it was 50 minutes into the 1 hour interview that they told me it was VB.Net... was pretty easy to get back into.
Re: XSDObjectGen - Yep, Im looking at that... not bad, and seems to support .Net 2... all suggestions welcome
Leave a comment:
-
You lost me a bit.
Have you used this MS tool:
http://apps.gotdotnet.com/xmltools/xsdobjgen/
Just like xsd.exe but generates better code.
HTH.
PS VB.NET is gay
Leave a comment:
-
Firstly, its VB.Net and .Net 1.1....
We dont have control over the WSDL, as its generated in conjunction with a few dozen outside agencies... the actual spec hasnt been signed off but we are writing a system to communicate according to that 'contract' anyway!!!
With this in mind Ive written a wrapper for a Web Service proxy that uses reflection to examine the properties of a given Web Method, and set the values from a Hashtable either stored in session (from a wizard type interface with up to 30 pages of data) or passed as a Hashtable directly from a standard ASPX page, using a 'stateKey' attributes for the Web Controls, and a base page that handles persitence of values from any Web Control and a placeholder to dynamically instantiate Custom Controls acording to an XML file that dictates the process.
Basically I know we would be caught out in terms of timescales if we had to keep reworking calls to the various Web Services, and it is not a performance critical application - it just needs to be reliable and maintainable if the specs change.
The array based proxies generated by the VS.Net 'Add Web Reference' are unwieldy - much easier to use Collections and cast them as CollectionBase to allow generic processing (GetEnumerator and loop through the Types they contain, and then Get or Set properties using reflection).
WSCF is an easy way to convert a WSDL description to a Collection based proxy....Last edited by mcquiggd; 17 January 2006, 22:04.
Leave a comment:
-
Not sure what you mean Mr Mc Guid.
I always create the web service contract first using XML Spy to create the schemas and the WSDL by hand and then use wsdl.exe to generate the proxies.
Perhaps I am missing something????
Leave a comment:
-
Web Services Contract First
Dont suppose anyone has a copy of WSCF version 5.0 of this tool? They managed to break the generation of Collections in version 5.1 it seems...
Or, should anyone know of any other tools that generate Collection based proxies for Web Services (in VB.Net rather than C# for this contract), please let me know....Tags: None
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Reports of umbrella companies’ death are greatly exaggerated Nov 28 10:11
- A new hiring fraud hinges on a limited company, a passport and ‘Ade’ Nov 27 09:21
- Is an unpaid umbrella company required to pay contractors? Nov 26 09:28
- The truth of umbrella company regulation is being misconstrued Nov 25 09:23
- Labour’s plan to regulate umbrella companies: a closer look Nov 21 09:24
- When HMRC misses an FTT deadline but still wins another CJRS case Nov 20 09:20
- How 15% employer NICs will sting the umbrella company market Nov 19 09:16
- Contracting Awards 2024 hails 19 firms as best of the best Nov 18 09:13
- How to answer at interview, ‘What’s your greatest weakness?’ Nov 14 09:59
- Business Asset Disposal Relief changes in April 2025: Q&A Nov 13 09:37
Leave a comment: