• 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!

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.

Previously on "Java Web services - Getting WSDLs"

Collapse

  • doodab
    replied
    Originally posted by TheFaQQer View Post
    Just out of interest, what are you prozy settings? Mine are "beyond weird and kinky".
    Which port are you using?

    Leave a comment:


  • TheFaQQer
    replied
    Originally posted by scooby View Post
    Our prozy setting are under that tab
    Just out of interest, what are you prozy settings? Mine are "beyond weird and kinky".

    Leave a comment:


  • OrangeHopper
    replied
    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:


  • doodab
    replied
    Originally posted by scooby View Post
    This 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
    In theory yes, but in practice the code gen plugins don't always do what you want or offer the full set of options that the command line tools do, it depends on the framework & what you are trying to acheive.

    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:


  • scooby
    replied
    Originally posted by doodab View Post
    Probably 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 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

    Leave a comment:


  • doodab
    replied
    Originally posted by scooby View Post
    He says this doesnt work, he is using Eclipse and is saying the offline WSDL is not working... hmmmm...
    Probably 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.

    Leave a comment:


  • scooby
    replied
    Originally posted by doodab View Post
    No. 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.
    He says this doesnt work, he is using Eclipse and is saying the offline WSDL is not working... hmmmm...

    Leave a comment:


  • donkeykungpochicken
    replied
    Originally posted by scooby View Post
    What i meant was, how woudl get the WSDL to use in creating the objects?
    Most of the time you can get the wsdl for a web service by sticking ?wsdl at the end of the url, but it depends on the technology that is implementing the webservice.

    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:


  • minestrone
    replied
    Originally posted by scooby View Post
    What i meant was, how woudl get the WSDL to use in creating the objects?
    It should be documented by the service provider.

    Leave a comment:


  • scooby
    replied
    Originally posted by scooby View Post
    How would you do the above in java? I assume java can translate or use a browser display?
    What i meant was, how woudl get the WSDL to use in creating the objects?

    Leave a comment:


  • doodab
    replied
    Originally posted by scooby View Post
    We can get it in a browser, but he needs it in telnet to do the object creation...

    Am i just being overly critical?
    No. 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.
    Last edited by doodab; 10 February 2010, 14:23.

    Leave a comment:


  • minestrone
    replied
    Originally posted by scooby View Post
    These 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.
    Ahhh.

    I strongly suspect he is pissing down your back and telling you it is raining.

    Leave a comment:


  • scooby
    replied
    Originally posted by minestrone View Post
    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.
    he is trying to telnet over port 80 (http as you know, sorry!). it is adding delays for fun! 36hrs lost now due to this...

    How would you do the above in java? I assume java can translate or use a browser display?

    Leave a comment:


  • minestrone
    replied
    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:


  • scooby
    replied
    Originally posted by doodab View Post
    Kind 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.
    We can get it in a browser, but he needs it in telnet to do the object creation...

    Am i just being overly critical?

    Leave a comment:

Working...
X