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

Java Web services - Getting WSDLs

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #11
    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?
    I didn't say it was your ******* fault, I said I was blaming you!

    Comment


      #12
      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.

      Comment


        #13
        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?
        I didn't say it was your ******* fault, I said I was blaming you!

        Comment


          #14
          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.

          Comment


            #15
            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.
            While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named 'Manual.'

            Comment


              #16
              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?
              I didn't say it was your ******* fault, I said I was blaming you!

              Comment


                #17
                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.

                Comment


                  #18
                  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.

                  Comment


                    #19
                    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...
                    I didn't say it was your ******* fault, I said I was blaming you!

                    Comment


                      #20
                      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.
                      While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named 'Manual.'

                      Comment

                      Working...
                      X