reficio / soap-ws

Java library, based on Spring-WS, that enables handling SOAP on a purely XML level

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting invalid sample request XML from http://www.w3schools.com/xml/tempconvert.asmx?wsdl WSDL.

NithyaCa opened this issue · comments

We are getting an invalid sample request from http://www.w3schools.com/xml/tempconvert.asmx?wsdl.
It has fault with creating synonyms for the namespaces while building sample request/response

One of the namespaces synonyms generated looks like this:

xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:x/=http://www.w3schools.com/xml/

In the above example, generated synonym (x/) is an invalid identifier.

Same issue.

I debug the code. It's a bug of XMLBean, not this project.
I submitted JIRA to them:
https://issues.apache.org/jira/browse/XBEAN-293
It only happened when the NS ends with "/xml/", For now I'd suggest to do a search and replace of (x/) for real case.
If just this w3school demo, you may ignore it. that's what I will do.