You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "nadir amra (JIRA)" <ax...@ws.apache.org> on 2006/07/29 05:07:14 UTC
[jira] Commented: (AXISCPP-774) Extension results in "class with no
attributes"
[ http://issues.apache.org/jira/browse/AXISCPP-774?page=comments#action_12424267 ]
nadir amra commented on AXISCPP-774:
------------------------------------
Let me add that I was simply speaking of generating uncompilable code.
Not sure we support extensions, but there is already a JIRA: AXISCPP-227
> Extension results in "class with no attributes"
> -----------------------------------------------
>
> Key: AXISCPP-774
> URL: http://issues.apache.org/jira/browse/AXISCPP-774
> Project: Axis-C++
> Issue Type: Bug
> Components: WSDL processing - RPC
> Affects Versions: 1.5 Final
> Environment: Windows XP
> Reporter: Andrew Cameron
> Priority: Blocker
>
> Axis-C doesn't appear to support extension. In the example below, Axis reports "Possible error in class SessionHandleType: class with no attributes" and then generates empty deserialisation functions that don't compile because they're expected to return int:
> <?xml version="1.0" encoding="UTF-8"?>
> <wsdl:definitions targetNamespace="http://a.b.c/soap/"
> xmlns="http://schemas.xmlsoap.org/wsdl/"
> xmlns:impl="http://a.b.c/soap/"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> <wsdl:types>
> <schema targetNamespace="http://a.b.c/soap/" xmlns="http://www.w3.org/2001/XMLSchema">
> <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
> <complexType name="SessionHandleType">
> <simpleContent>
> <extension base="xsd:string"/>
> </simpleContent>
> </complexType>
> </schema>
> </wsdl:types>
> <wsdl:message name="doSomethingRequest">
> <wsdl:part name="SessionHandle" type="impl:SessionHandleType"/>
> </wsdl:message>
> <wsdl:message name="doSomethingResponse"/>
> <wsdl:portType name="SomethingPortType">
> <wsdl:operation name="doSomething" parameterOrder="SessionHandle">
> <wsdl:input message="impl:doSomethingRequest" name="doSomethingRequest"/>
> <wsdl:output message="impl:doSomethingResponse" name="doSomethingResponse"/>
> </wsdl:operation>
> </wsdl:portType>
> <wsdl:binding name="SomethingBinding" type="impl:SomethingPortType">
> <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
> <wsdl:operation name="doSomething">
> <wsdlsoap:operation soapAction="http://a.b.c/soap/action/#SomethingPort#DoSomething"/>
> <wsdl:input name="doSomethingRequest">
> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> namespace="http://a.b.c/soap/"
> use="encoded"/>
> </wsdl:input>
> <wsdl:output name="doSomethingResponse">
> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> namespace="http://a.b.c/soap/"
> use="encoded"/>
> </wsdl:output>
> </wsdl:operation>
> </wsdl:binding>
> <wsdl:service name="SomethingService">
> <wsdl:port binding="impl:SomethingBinding" name="SomethingPort">
> <wsdlsoap:address location="http://test/somethingservice/services/SomethingPort"/>
> </wsdl:port>
> </wsdl:service>
> </wsdl:definitions>
--
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-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org