Originally posted by TheFaQQer
View Post
- 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: Java Web services - Getting WSDLs
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 "Java Web services - Getting WSDLs"
Collapse
-
What tool set is he using? For example, Axis2.
I had problems with Axis2's eclipse wizards and had to use the command line client code generator. However, I did have a local copy of the wsdl.
Leave a comment:
-
Originally posted by scooby View PostThis just gets better... He is using some form of command line to create the objects, because you cant use Eclispe to do it as it wont create all the classes etc...
This is just a client he is creating. Surely you can use Eclipse to create relevant objects and related things?
Our prozy setting are under that tab, do we need to change that to the location of the file, or can you select location when trying to create an object?
Cheers
If he's running java from the command line he needs to pass some extra parameters, e.g. java -Dhttp.proxyHost=a.b.c.d -Dhttp.proxyPort=8080 ....
Once the code gen has run you can create a new project and import the generated classes.
Leave a comment:
-
Originally posted by doodab View PostProbably needs to configure it to use your proxy so that it can grab any schemas that live elsewhere. Under General->Network Connections in the preferences.
This is just a client he is creating. Surely you can use Eclipse to create relevant objects and related things?
Our prozy setting are under that tab, do we need to change that to the location of the file, or can you select location when trying to create an object?
Cheers
Leave a comment:
-
Originally posted by scooby View PostHe says this doesnt work, he is using Eclipse and is saying the offline WSDL is not working... hmmmm...
Leave a comment:
-
Originally posted by doodab View PostNo. He is clearly a clown.
Get it in the browser, right click, save page as or whatever your browser calls it, save it as "the.wsdl" and you have it in a file which the client generating tool should be able to use. If the wsdl references external schemas you probably need to configure the code generating tool with proxy settings when you run it, or you can download those as well and edit the references in the wsdl.
Leave a comment:
-
Originally posted by scooby View PostWhat i meant was, how woudl get the WSDL to use in creating the objects?
So the wsdl for a notional web service located at bob.com/webservices/timeToGoHome might be available at bob.com/webservices/timeToGoHome?wsdl
Worth a try anyway - there is no reason to use telnet, just do it in the browser as others have said.
Leave a comment:
-
Originally posted by scooby View PostWhat i meant was, how woudl get the WSDL to use in creating the objects?
Leave a comment:
-
Originally posted by scooby View PostWe can get it in a browser, but he needs it in telnet to do the object creation...
Am i just being overly critical?
Get it in the browser, right click, save page as or whatever your browser calls it, save it as "the.wsdl" and you have it in a file which the client generating tool should be able to use. If the wsdl references external schemas you probably need to configure the code generating tool with proxy settings when you run it, or you can download those as well and edit the references in the wsdl.Last edited by doodab; 10 February 2010, 14:23.
Leave a comment:
-
Originally posted by scooby View PostThese problems keep appearing in the last 5 days which seems to co-incide with him asking for an extension as contract is up next Tuesday.
I strongly suspect he is pissing down your back and telling you it is raining.
Leave a comment:
-
Originally posted by minestrone View PostWhat would normaly happen is that you get the WSDL, transform it into java objects using whatever framework you are using at development time.
Then at runtime you will be talking to that webservice with the created objects and that service could be on any address at any port. I am very very sure that the protocol will be HTTP.
God knows where telnet comes into this. It is like trying to get home broadband through a trillphone.
How would you do the above in java? I assume java can translate or use a browser display?
Leave a comment:
-
What would normaly happen is that you get the WSDL, transform it into java objects using whatever framework you are using at development time.
Then at runtime you will be talking to that webservice with the created objects and that service could be on any address at any port. I am very very sure that the protocol will be HTTP.
God knows where telnet comes into this. It is like trying to get home broadband through a trillphone.
Leave a comment:
-
Originally posted by doodab View PostKind of.
Your guy needs to create a client for the web service you wish to call, and to do so he needs the wsdl. If he has the URL for the wsdl but can't retrieve it using a browser then possibly your proxy is doing some sort of filtering and preventing him from accessing it.
Or he might be useless.
Am i just being overly critical?
Leave a comment:
- 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
- Gary Lineker and HMRC broker IR35 settlement on the hush Today 09:10
- IT contractor jobs market sinks to four-year low in November Yesterday 09:30
- Joke of the Day Dec 9 14:57
- How company directors can offset employer NIC rising to 15% Dec 9 10:30
- Contractors, seen Halifax’s 18-month fixed rate remortgage? Dec 5 09:59
- Contractors, don’t be fooled by HMRC Spotlight 67 on MSCs Dec 4 09:20
- HMRC warns IT consultants and others of 12 ‘payroll entities’ Dec 3 09:15
- How you think you look on LinkedIn vs what recruiters see Dec 2 09:00
- 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
Leave a comment: