> I thought WSDL2Java created the client side code only, I cannot understand the user guide, but it states that the tool creates both client and server code? (Surely I have the server code, otherwise how did I make the WSDL????)
Permit me to grind my axe a bit ... Your question presumes that all WSDL is generated automatically, by an engine that examines a server interface and "knows" what WSDL it maps to. This is not correct. It is possible to generate WSDL from Java code (Java2WSDL), but it is also possible to write the WSDL first, and generate the java server-side stubs from that WSDL, using WSDL2Java --server-side Other toolkits (like .NET) have a similar capability. For best interop, write your WSDL first! -Dino -----Original Message----- From: Chris Elliott [mailto:[EMAIL PROTECTED] Sent: Saturday, February 26, 2005 8:00 PM To: [email protected] Subject: newbie::WSDL2Java::Very Basic help required I have made myself a successful web service using the .jws method and managed to edit the client code from the "calculator" sample to get it to work. All good! But now I need to take it to another level, and get the client code for a "custom deployed" from its WSDL. It is easy to deploy the service and get it's WSDL, I can even use the WSD2Java tool to create the 'stubs', but here is where I become a true newbie.... I thought WSDL2Java created the client side code only, I cannot understand the user guide, but it states that the tool creates both client and server code? (Surely I have the server code, otherwise how did I make the WSDL????) Secondly, I do not know which of the generated classes is which? Can anyone tell me what to do, point me in the direction of some simple/easy-to-understand explantations, [or do my final year project for me]! Help..... is appreciated..... regards.... Christopher
