You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Ken Campbell (JIRA)" <ji...@apache.org> on 2006/06/01 15:31:31 UTC

[jira] Commented: (AXIS2-710) WSDL2Java code generation error

    [ http://issues.apache.org/jira/browse/AXIS2-710?page=comments#action_12414229 ] 

Ken Campbell commented on AXIS2-710:
------------------------------------

I downloaded nightly build 01-06-2006 and rebuilt my service and this issue appears to be resolved.

Thank you very much.

Ken Campbell

> 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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org