In the <soap:address> definition:

       <soap:address l
       ocation="<url>"

That caused the validation error you reported. There was another extraneous line break in a namespace URI -- but I don't recall where. I suspect it might generate another error.

Anne

On 5/12/06, Sebastian J. Schultheiss <[EMAIL PROTECTED]> wrote:
OK, I filed it... http://issues.apache.org/jira/browse/AXIS2-717
Can you tell me which line you saw it in?

Maybe it would be a good idea to make the WSDLs created by the tool
pretty-printed, or at least more human readable.

-- Sebi


Anne Thomas Manes wrote:
> For some reason the tool put a line break between the "l" and "ocation"
> in the "location" attribute in the <service> definition. Please file a JIRA.
>
> Anne
>
> On 5/11/06, *Sebastian J. Schultheiss* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Hi Anne,
>
>     thanks for your response. We re-run the WSDL2Java Tool after removing
>     the namespace attribute from the <soap:body> tags. However, the WSDL
>     that is "generated" by the WSDL2Java tool (the one you find in the
>     specified -o directory/resources) is not formatted like that, I've
>     attached it.
>
>     Why does the WSDL2Java Tool not just use the WSDL file given to it by
>     the -uri switch and instead creates its own?
>
>     Can you please check and see if it is valid? If not, maybe that is the
>     source of the problem: even if you give the WSDL2Java a valid WSDL file,
>     it creates one itself that has errors.
>
>     Thanks,
>
>     -- Sebastian
>
>     Anne Thomas Manes wrote:
>      > > Sebastian,
>      > > > There are errors in your WSDL. You must remove the namespace
>     attributes > from the <soap:body> binding descriptions. (The
>     namespace attribute must > be use only with RPC style.)
>      > > > Anne
>
>
>


Reply via email to