axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From axis-...@ws.apache.org
Subject [jira] Updated: (AXIS-1546) Axis is not generating Wrapper style Web service when element types include Annotation in the ComplexType
Date Tue, 07 Sep 2004 11:03:38 GMT
The following issue has been updated:

    Updater: Are Thobias Tysnes (mailto:are.tysnes@edb.com)
       Date: Tue, 7 Sep 2004 4:03 AM
    Changes:
             Attachment changed to Test2.xsd
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/AXIS-1546?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1546

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1546
    Summary: Axis is not generating Wrapper style Web service when element types include Annotation
in the ComplexType
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis
 Components: 
             WSDL processing
   Versions:
             1.2 Beta

   Assignee: 
   Reporter: Are Thobias Tysnes

    Created: Tue, 7 Sep 2004 4:00 AM
    Updated: Tue, 7 Sep 2004 4:03 AM
Environment: Axis 1.2Beta2

Description:

The following Schama and WSDL trigger the bug

Comando:

java org.apache.axis.wsdl.WSDL2Java -s "Test2.wsdl" --typeMappingVersion 1.2

Schema Test2.xsd:

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://www.test.com/test" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xsd:annotation>
		<xsd:documentation>Test Schma 2</xsd:documentation>
	</xsd:annotation>
	<xsd:element name="SomeLevel">
		<xsd:complexType>
			<xsd:annotation>
				<xsd:documentation>Some documentation</xsd:documentation>
			</xsd:annotation>
			<xsd:sequence>
				<xsd:element name="foo" type="xsd:string" minOccurs="0"/>
				<xsd:element name="bar" type="xsd:string" minOccurs="0"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="SomeLevelResponse">
		<xsd:complexType>
			<xsd:annotation>
				<xsd:documentation>Some documentation</xsd:documentation>
			</xsd:annotation>
			<xsd:sequence>
				<xsd:element name="baz" type="xsd:string" minOccurs="0"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
</xsd:schema>

WSDL Test2.wsdl:

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://www.test.com/test/wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:somelevel="http://www.test.com/test/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:types="http://www.test.com/test">
	<xsd:annotation>
		<xsd:documentation>Test WSDL 2</xsd:documentation>
	</xsd:annotation>
	<wsdl:types>
		<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema">
			<xsd:import namespace="http://www.test.com/test" schemaLocation="Test2.xsd"/>
		</xsd:schema>
	</wsdl:types>
	<wsdl:message name="SomeLevelReq">
		<wsdl:part name="parameters" element="types:SomeLevel"/>
	</wsdl:message>
	<wsdl:message name="SomeLevelResp">
		<wsdl:part name="parameters" element="types:SomeLevelResponse"/>
	</wsdl:message>
	<wsdl:portType name="SomeLevelInterface">
		<wsdl:operation name="SomeLevel">
			<wsdl:input message="somelevel:SomeLevelReq"/>
			<wsdl:output message="somelevel:SomeLevelResp"/>
		</wsdl:operation>
	</wsdl:portType>
	<wsdl:binding name="SomeLevelSOAPBinding" type="somelevel:SomeLevelInterface">
		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
		<wsdl:operation name="SomeLevel">
			<soap:operation style="document" soapAction="SomeLevel"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
		</wsdl:operation>
	</wsdl:binding>
	<wsdl:service name="SomeLevelWService">
		<wsdl:port name="SomeLevelSoapPort" binding="somelevel:SomeLevelSOAPBinding">
			<soap:address location="http://localhost:8080/axis/services/SomeTopLevel"/>
		</wsdl:port>
	</wsdl:service>
</wsdl:definitions>



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message