Thanks anyway Gert. I apologise if you've been getting repeated copies of what appears to be the same message. It appears that I'm not getting all messages I send delivered back to me from the mailing list. I haven't seen the message you responded to below appear on the mailing list.
Owen. -----Original Message----- From: Gert Vanthienen [mailto:[EMAIL PROTECTED] Sent: Thursday, May 03, 2007 4:55 PM To: [email protected] Subject: Re: Confusion over documentation referring to the "Creating the HTTPConsumerServiceUnit". Owen, I have no idea on how you can change the WSDL that is being generated. One possible solution could be to take your auto-generated WSDL file, add it to your JSR-181 SU and specify it on the endpoint. This way, you can start optimizing the WSDL file itself (e.g. use of elementFormDefault and attributeFormDefault). Gert Owen Thomas wrote: > Wow! > > After a little more than three months of persistence, my web service > works. > > However, I don't like the fact that I'm getting all these repeated > namespace definitions attributes in my SOAP reply. For instance, my web > service returns an array of strings. Each entry in the string array > represents a single line of output. However, each entry as it is > represented in the XML file exhibits the following structure: > > <ns1:string xmlns:ns1="http://au.net.wcg.webservice.jvmhost/WSDL">a line > of output</ns1:string> > > So, if I ran a program that produced, say, 1000 lines of output, it > would produce 1000 tags above, differing only in the contents of the > actual line. This is wonderfully wastefull - I want to the namespace > prefix (ns1) to be defined elsewhere other than for each tag that > represents each line of output. > > How do I do this? > > Owen. > > >
