[jboss-user] [JBoss Web Services] - NullPointerException in JBossXSEntityResolver.getXMLInputSource still happening in 5.1.0
Jim Ma
do-not-reply at jboss.com
Sun Jul 11 23:25:39 EDT 2010
Jim Ma [http://community.jboss.org/people/jim.ma] replied to the discussion
"NullPointerException in JBossXSEntityResolver.getXMLInputSource still happening in 5.1.0"
To view the discussion, visit: http://community.jboss.org/message/552076#552076
--------------------------------------------------------------
> Is it fair to say that the minimum requirement for a WSDL contract to be properly consumed by JBossWS is for the WSDL to be valid, and, if the WSDL is invalid, the behaviour is undetermined? I'm asking this because we changed the WSDL to simply return a string, and the new WSDL is still invalid, but it works now.
Yes. Exactly. Wsimport tool will treat the input wsdl as the valid one . Even the wsimport can generate code for the invalid wsdl without error, it still can not make sure it can be published/consume webservice service successfully. We need to make some enhancement in our documentation here to tell user the wsimport tool only accepts the valid wsdl , and suggest user uses eclipse WTP tool or other tool to validate wsdl before running the wsimport tool .
>
> However, we can't expect it to work going forward if the WSDL is changed. Incidentally, the original WSDL is consumed with no problems by the JAX-WS reference implementation in standalone mode.
Is this original wsdl consumed by JBoss5.1.0 without problems too ?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/552076#552076]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100711/b4f76f2b/attachment-0001.html
More information about the jboss-user
mailing list