xFire cannot handle namespaces including the word "public"
----------------------------------------------------------
Key: XFIRE-738
URL: http://jira.codehaus.org/browse/XFIRE-738
Project: XFire
Issue Type: Bug
Affects Versions: 1.2.2
Environment: Running in eclipse on windows
Reporter: Phil Hewitt
Assigned To: Dan Diephouse
I am trying to interface to the web service located at :
http://energywatch.natgrid.co.uk/EDP-PublicUI/PublicPI/InstantaneousFlowWebService.asmx?WSDL
Its a web service served up by a M$ .net system.
If you look in the WSDL you will see that there are namespaces with the word
"Public" in them.
The result is that, code generation using the eclipse widget fails because
"public" is a reserved word in Java and you then have to correct it to get the
generated code to compile. Consequently the code that populates the object tree
fails because it can't find objects that match the namespaces.
May I suggest a horrible hack that finds instances of "public" and replaces
them with "publik" in code generation and associated code for the web service
accessor methods.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email