You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kandula-dev@ws.apache.org by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2010/05/02 17:02:55 UTC
[jira] Commented: (AXIS2-4622) WSDL2java not generating all the
classes when a WSDL file imports another WSDL file
[ https://issues.apache.org/jira/browse/AXIS2-4622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863143#action_12863143 ]
Amila Chinthaka Suriarachchi commented on AXIS2-4622:
-----------------------------------------------------
wsdl2java supports imports. but you need to start with the wsdl having the service element.
> WSDL2java not generating all the classes when a WSDL file imports another WSDL file
> -----------------------------------------------------------------------------------
>
> Key: AXIS2-4622
> URL: https://issues.apache.org/jira/browse/AXIS2-4622
> Project: Axis2
> Issue Type: Bug
> Components: wsdl
> Affects Versions: 1.5.1
> Environment: Windows XP
> Reporter: Mike Margozzi
>
> I have a WSDL file. If I run it through WSDL2Java it generates code just fine for all the expected classes.
> If i create another WSDL file, and if all I have that WSDL file do is to import the previous one, then WSDl2Java
> fails to create all the files. No error message is generated at all.
> Ex:
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- edited with XMLSpy v2010 (http://www.altova.com) by Mike Margozzi (Quantum Corporation) -->
> <wsdl:description targetNamespace="http://localhost:8080/dxi/ws" xmlns:wsdl="http://www.w3.org/ns/wsdl">
> <wsdl:import namespace="http://localhost:8080/dxi/ws/rep" location="DxiReplication.wsdl"/>
> </wsdl:description>
> My plan is to have a main WSDL that does nothing but aggregate multiple WSDl files together. This allows
> me to be more modular in my design.
> XMLSpy says the WSDL with the import is "valid".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org