[ http://issues.apache.org/jira/browse/AXIS2-710?page=all ]
Ken Campbell updated AXIS2-710:
-------------------------------
Attachment: PAF.wsdl
> WSDL2Java code generation error
> -------------------------------
>
> Key: AXIS2-710
> URL: http://issues.apache.org/jira/browse/AXIS2-710
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: wsdl, databinding
> Versions: 1.0
> Environment: Windows XP
> Reporter: Ken Campbell
> Attachments: PAF.wsdl
>
> Upgraded working web service which uses xmlbeans databinding from 0.95 to
> 1.0.
> Used WSDL2Java (from axis2-std-1.0.bin) to re-generate code:
> WSDL2Java -uri <wsdl_location> -ss -sd -g -d xmlbeans -o <output_location> -p
> <package_name>
> Code and xmlbeans xsb files are full of uncompilable
> uk/ws/paf.co.edp.www.<ClassName>
> As the xsb files contain the same constructs, the code is unrunnable once the
> errors have been replaced.
> The wsdl definition contains:
> <wsdl:definitions
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
> xmlns:tns="www.edp.co.uk/ws/PAF/"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:paf="http://www.edp.co.uk/ws/PAF/messages"
> name="PAF"
> targetNamespace="www.edp.co.uk/ws/PAF/"
> xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
> xmlns:http="http://schemas.xmlsoap.org/wsdl/http/">
> It appears that WSDL2Java is misinterpreting the targetNamespace because of
> '/' characters.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira