Thanks, Chris, that worked. The part you have to escape is the colon (:) in the URL:
http\://www.mycorp.com/wsdl/MyServices.wsdl=com.mycorp.services I've also figured out that using Ant, I can add the <mapping> parameter to the <wsld2java> <mapping namespace="http://www.mycorp.com/wsdl/MyServices.wsdl" package="com.mycorp.services"/> On Monday 29 August 2005 15:56, Ebert, Chris wrote: > You can remap packages with a mapping file. I had a little trouble with > the format -- the documentation was either confusing or wrong and I > needed to escape some characters in my uri, but > <namespaceuri>=<packagename> > Works for me. There's a property you can set for WSDL2Java (ant task or > command line) to specify a package mapping file. > > Chris > > > -----Original Message----- > From: Thad Humphries [mailto:[EMAIL PROTECTED] > Sent: Monday, August 29, 2005 12:29 > To: [email protected] > Subject: WSDL2Java and package structure > > Is the package structure created when running WSDL2Java entirely at the > mercy of the value of the targetNamespace attribute in the definitions > tag? If targetNamespace is (for example) > http://www.mycorp.com/wsdl/MyServices.wsdl, > the package structure for the binding and service becomes > com.mycorp.www.wsdl.MyServices_wsdl. Meanwhile, along with > > <soap:address location="http://localhost:8080/axis/services/MyProduct"/> > > > in the <services> part of the WSDL file, I get the file > com/mycorp/services.java > > Is there any way to change the class structure generated by WSDL2Java? -- Thad Humphries "...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225 trust under the United States." -Article VI
