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 "Pascal Dihé (JIRA)" <ji...@apache.org> on 2006/05/12 15:49:10 UTC
[jira] Created: (AXIS2-715) WSDL2Java generates faulty code when
using XMLBeans databinding
WSDL2Java generates faulty code when using XMLBeans databinding
---------------------------------------------------------------
Key: AXIS2-715
URL: http://issues.apache.org/jira/browse/AXIS2-715
Project: Apache Axis 2.0 (Axis2)
Type: Bug
Components: databinding
Versions: 1.0
Environment: Windows XP, J2SDK 1.5_06
Reporter: Pascal Dihé
Priority: Critical
When using the XMLBeans databinding, WSDL2Java generates code that will not compile.
It seems that the generated code refers to an old release of axiom (see attached output).
WSDL2Java -uri RMOAgml.wsdl -ss -sd -o ..\samples\RMOAgml -p org.eu_orchestra.RMOAgml -d xmlbeans
WSDL file is attached, XMLschema can be obtained from http://schemas.opengis.net/gml/3.1.1/
--
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
[jira] Updated: (AXIS2-715) WSDL2Java generates faulty code when
using XMLBeans databinding
Posted by "Pascal Dihé (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-715?page=all ]
Pascal Dihé updated AXIS2-715:
------------------------------
Attachment: RMOAgml.wsdl
> WSDL2Java generates faulty code when using XMLBeans databinding
> ---------------------------------------------------------------
>
> Key: AXIS2-715
> URL: http://issues.apache.org/jira/browse/AXIS2-715
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: databinding
> Versions: 1.0
> Environment: Windows XP, J2SDK 1.5_06
> Reporter: Pascal Dihé
> Priority: Critical
> Attachments: RMOAgml.wsdl
>
> When using the XMLBeans databinding, WSDL2Java generates code that will not compile.
> It seems that the generated code refers to an old release of axiom (see attached output).
> WSDL2Java -uri RMOAgml.wsdl -ss -sd -o ..\samples\RMOAgml -p org.eu_orchestra.RMOAgml -d xmlbeans
> WSDL file is attached, XMLschema can be obtained from http://schemas.opengis.net/gml/3.1.1/
--
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
[jira] Commented: (AXIS2-715) WSDL2Java generates faulty code when
using XMLBeans databinding
Posted by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-715?page=comments#action_12411957 ]
Ajith Harshana Ranabahu commented on AXIS2-715:
-----------------------------------------------
The problem is that your WSDL is having minor issues
1. You declare xs:String which is completely wrong - it should be xs:string (with a lowercase 's')
2. The use of element in the message part cannot be used with a type reference. it should be type="xs:string"
3. The service name is invalid (it has a space)
Once you correct these errors XMLBeans will generate the correct code for you
As for the comment by Ken, we've traced the problem to the behavior of the stax parser shipped with the release. see answer for issue 649
> WSDL2Java generates faulty code when using XMLBeans databinding
> ---------------------------------------------------------------
>
> Key: AXIS2-715
> URL: http://issues.apache.org/jira/browse/AXIS2-715
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: databinding
> Versions: 1.0
> Environment: Windows XP, J2SDK 1.5_06
> Reporter: Pascal Dihé
> Assignee: Ajith Harshana Ranabahu
> Priority: Critical
> Attachments: RMOAgml.wsdl, build.txt
>
> When using the XMLBeans databinding, WSDL2Java generates code that will not compile.
> It seems that the generated code refers to an old release of axiom (see attached output).
> WSDL2Java -uri RMOAgml.wsdl -ss -sd -o ..\samples\RMOAgml -p org.eu_orchestra.RMOAgml -d xmlbeans
> WSDL file is attached, XMLschema can be obtained from http://schemas.opengis.net/gml/3.1.1/
--
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
[jira] Updated: (AXIS2-715) WSDL2Java generates faulty code when
using XMLBeans databinding
Posted by "Pascal Dihé (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-715?page=all ]
Pascal Dihé updated AXIS2-715:
------------------------------
Attachment: build.txt
build output
> WSDL2Java generates faulty code when using XMLBeans databinding
> ---------------------------------------------------------------
>
> Key: AXIS2-715
> URL: http://issues.apache.org/jira/browse/AXIS2-715
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: databinding
> Versions: 1.0
> Environment: Windows XP, J2SDK 1.5_06
> Reporter: Pascal Dihé
> Priority: Critical
> Attachments: RMOAgml.wsdl, build.txt
>
> When using the XMLBeans databinding, WSDL2Java generates code that will not compile.
> It seems that the generated code refers to an old release of axiom (see attached output).
> WSDL2Java -uri RMOAgml.wsdl -ss -sd -o ..\samples\RMOAgml -p org.eu_orchestra.RMOAgml -d xmlbeans
> WSDL file is attached, XMLschema can be obtained from http://schemas.opengis.net/gml/3.1.1/
--
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
[jira] Commented: (AXIS2-715) WSDL2Java generates faulty code when
using XMLBeans databinding
Posted by "Ken Campbell (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-715?page=comments#action_12383211 ]
Ken Campbell commented on AXIS2-715:
------------------------------------
You may be able to compile if you alter your targetNamespace to exclude '/' characters. However, I still have data binding problems which I have not been able to trace. I do believe that the xmlbeans data-binding has been 'broken' in 1.0.
I would be very interested to know if you encounter further problems after you manage to compile.
> WSDL2Java generates faulty code when using XMLBeans databinding
> ---------------------------------------------------------------
>
> Key: AXIS2-715
> URL: http://issues.apache.org/jira/browse/AXIS2-715
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: databinding
> Versions: 1.0
> Environment: Windows XP, J2SDK 1.5_06
> Reporter: Pascal Dihé
> Priority: Critical
> Attachments: RMOAgml.wsdl, build.txt
>
> When using the XMLBeans databinding, WSDL2Java generates code that will not compile.
> It seems that the generated code refers to an old release of axiom (see attached output).
> WSDL2Java -uri RMOAgml.wsdl -ss -sd -o ..\samples\RMOAgml -p org.eu_orchestra.RMOAgml -d xmlbeans
> WSDL file is attached, XMLschema can be obtained from http://schemas.opengis.net/gml/3.1.1/
--
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
[jira] Assigned: (AXIS2-715) WSDL2Java generates faulty code when
using XMLBeans databinding
Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-715?page=all ]
Deepal Jayasinghe reassigned AXIS2-715:
---------------------------------------
Assign To: Ajith Harshana Ranabahu
> WSDL2Java generates faulty code when using XMLBeans databinding
> ---------------------------------------------------------------
>
> Key: AXIS2-715
> URL: http://issues.apache.org/jira/browse/AXIS2-715
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: databinding
> Versions: 1.0
> Environment: Windows XP, J2SDK 1.5_06
> Reporter: Pascal Dihé
> Assignee: Ajith Harshana Ranabahu
> Priority: Critical
> Attachments: RMOAgml.wsdl, build.txt
>
> When using the XMLBeans databinding, WSDL2Java generates code that will not compile.
> It seems that the generated code refers to an old release of axiom (see attached output).
> WSDL2Java -uri RMOAgml.wsdl -ss -sd -o ..\samples\RMOAgml -p org.eu_orchestra.RMOAgml -d xmlbeans
> WSDL file is attached, XMLschema can be obtained from http://schemas.opengis.net/gml/3.1.1/
--
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
[jira] Resolved: (AXIS2-715) WSDL2Java generates faulty code when
using XMLBeans databinding
Posted by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-715?page=all ]
Ajith Harshana Ranabahu resolved AXIS2-715:
-------------------------------------------
Resolution: Fixed
I'm marking this issue as fixed since the problem is not really in codegen but the WSDL
> WSDL2Java generates faulty code when using XMLBeans databinding
> ---------------------------------------------------------------
>
> Key: AXIS2-715
> URL: http://issues.apache.org/jira/browse/AXIS2-715
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: databinding
> Versions: 1.0
> Environment: Windows XP, J2SDK 1.5_06
> Reporter: Pascal Dihé
> Assignee: Ajith Harshana Ranabahu
> Priority: Critical
> Attachments: RMOAgml.wsdl, build.txt
>
> When using the XMLBeans databinding, WSDL2Java generates code that will not compile.
> It seems that the generated code refers to an old release of axiom (see attached output).
> WSDL2Java -uri RMOAgml.wsdl -ss -sd -o ..\samples\RMOAgml -p org.eu_orchestra.RMOAgml -d xmlbeans
> WSDL file is attached, XMLschema can be obtained from http://schemas.opengis.net/gml/3.1.1/
--
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