I guess what I was implying is, that I would edit your wsdl to comment out all of the methods except a simple ping() method, that takes say, an integer, and returns an integer. Something ridiculously simple. Then generate your classes from it. Then deploy the web service. Then get your client to successfully call that ping() method. This tells you the wsdl (and the generated classes) are healthy.
Then start to edit the wsdl again, bring in one actual business method, preferrably the simplest business method you have, and try to call that. I'm not sure what you mean when you say you got it to work on one PC but not the other. Were both of these PC's acting as clients, or were they hosting the web service? One final point of confusion I have; if you removed all of the methods, then there is no web service to speak of, so there would be no web service methods to call from your client, and so how could you still get the error? I don't understand. -jeff -----Original Message----- From: Roland Piazzi [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 5:00 PM To: [email protected] Subject: Re: Error: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/axis/services/LogCollector?wsdl at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) I copied some old implementation instead of that and it worked, but only with one pc, with the other it didn't work, also if i removed all methods, still the error was. If you have other advices how to try please tell me because at the time i don't know how to go on trying. roland ----- Original Message ----- From: "Walker, Jeff" <[EMAIL PROTECTED]> To: <[email protected]>; "Roland Piazzi" <[EMAIL PROTECTED]> Sent: Wednesday, June 20, 2007 7:31 PM Subject: RE: Error: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/axis/services/LogCollector?wsdl at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) Yeah, The service is reachable, but the server failed to complete your request. A). Check that the request going out to the url is also correct. B). Check your web service implementation. Do you even reach your web service methods? (Put some old-fashioned debug statements into your web service method, to see if tose statements get hit). C). I'd also pick the simplest method on the web service and call that >from your client, to help narrow down the error. Then move onto the next most complicated method, etc. There are many thing to try, but concentrate on your web service debugging. -jeff -----Original Message----- From: Roland Piazzi [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 11:31 AM To: [email protected] Subject: Error: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/axis/services/LogCollector?wsdl at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) Hi! I try to generate WSDL2Java classes but receive the following error (the service is reachable at this endpoint) : java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/axis/services/LogCollector?wsdl at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEnt ity(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocV ersion(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuratioin.parse(Unk nown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuratioin.parse(Unk nown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknow n Source) at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369) at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:420) at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:4 82) at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361) at java.lang.Thread.run(Unknown Source) Can anyone help? Thanks and regards Roland --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
