[ http://issues.apache.org/jira/browse/AXIS2-1112?page=all ]

Deepal Jayasinghe resolved AXIS2-1112.
--------------------------------------

    Resolution: Fixed

fixed in the current SVN

> Ant Task generates reference to Skeleton Class instead of SkeletonInterface 
> for InOnly binding
> ----------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1112
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1112
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.0
>         Environment: Windows XP, Eclipse 3.2, Java 5.0
>            Reporter: David Chazin
>
> Generated Code for the ServiceMessageReceiverInOnly class uses the Skeleton 
> Class instead of the SkeletonInterface. Note that the generated code for the 
> ServiceMessageReceiverInOut class uses the SkeletonInterface.
> My ant task looks like this:
> <target name="codegen" depends="clean, init">
>               <codegen 
>                       wsdlfilename="${wsdl}/${projectname}.wsdl"
>                       output="${gennedcode}"
>                       dataBindingName="xmlbeans"
>                       packageName="com.boeing.jtrs.hag2way"
>                       serverside="true"
>                       serverSideInterface="true"
>                       generateAllClasses="true"
>                       generateServiceXml="true"
>               />
>       </target>
> my wsdl looks like this:
> <?xml version="1.0" encoding="UTF-8"?>
> <wsdl:definitions 
>       xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
>       xmlns:tns="http://www.boeing.com/jtrs/HAG2Way";
>       xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
>       xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>       targetNamespace="http://www.boeing.com/jtrs/HAG2Way";>
>       <wsdl:types>
>               <xsd:schema elementFormDefault="qualified"
>                       attributeFormDefault="qualified"
>                       targetNamespace="http://www.boeing.com/jtrs/HAG2Way";>
>                       <!-- Your schema goes here -->
>                       <xsd:element name="request">
>                               <xsd:complexType>
>                                       <xsd:sequence>
>                                               <xsd:element name="source" 
> type="xsd:string" />
>                                               <xsd:element 
> name="destinationEnclave" type="xsd:string" />
>                                               <xsd:element name="envelope">
>                                                       <xsd:complexType>
>                                                               <xsd:sequence>
>                                                                       <!-- 
> Service  Name to be invoked on the receiving end -->
>                                                                       
> <xsd:element name="destinationService" type="xsd:string"/>
>                                                                       <!-- 
> Operation to be invoked  on the receiving end -->
>                                                                       
> <xsd:element name="operation" type="xsd:string"/>
>                                                                       <!-- 
> Parameters to passed on the service call (optional) -->
>                                                                       
> <xsd:element name="arguments" minOccurs="0">
>                                                                               
> <xsd:complexType>
>                                                                               
>         <xsd:sequence>
>                                                                               
>                 <!-- Note that this element requires a valid schema -->
>                                                                               
>                 <xsd:any namespace="##any" processContents="strict"/>
>                                                                               
>         </xsd:sequence>
>                                                                               
> </xsd:complexType>
>                                                                       
> </xsd:element>
>                                                               </xsd:sequence>
>                                                       </xsd:complexType>
>                                               </xsd:element>
>                                       </xsd:sequence>
>                               </xsd:complexType>
>                       </xsd:element>
>                       <xsd:element name="response">
>                               <xsd:complexType>
>                                       <xsd:sequence>
>                                               <xsd:element name="envelope">
>                                                       <xsd:complexType>
>                                                               <xsd:sequence>
>                                                                       
> <xsd:element name="returnedData" minOccurs="0">
>                                                                               
> <xsd:complexType>
>                                                                               
>         <xsd:sequence>
>                                                                               
>                 <!-- Note that this element requires a valid schema -->
>                                                                               
>                 <xsd:any namespace="##any" processContents="strict"/>
>                                                                               
>         </xsd:sequence>
>                                                                               
> </xsd:complexType>
>                                                                       
> </xsd:element>
>                                                               </xsd:sequence>
>                                                       </xsd:complexType>
>                                               </xsd:element>
>                                       </xsd:sequence>
>                               </xsd:complexType>
>                       </xsd:element>
>                       <xsd:element name="wrappedRequest">
>                               <xsd:complexType>
>                                       <xsd:sequence>
>                                               <xsd:element name="id" 
> type="xsd:integer"/>
>                                               <xsd:element name="envelope">
>                                                       <xsd:complexType>
>                                                               <xsd:sequence>
>                                                                       <!-- 
> Service  Name to be invoked on the receiving end -->
>                                                                       
> <xsd:element name="destinationService" type="xsd:string"/>
>                                                                       <!-- 
> Operation to be invoked  on the receiving end -->
>                                                                       
> <xsd:element name="operation" type="xsd:string"/>
>                                                                       <!-- 
> Parameters to passed on the service call (optional) -->
>                                                                       
> <xsd:element name="arguments" minOccurs="0">
>                                                                               
> <xsd:complexType>
>                                                                               
>         <xsd:sequence>
>                                                                               
>                 <!-- Note that this element requires a valid schema -->
>                                                                               
>                 <xsd:any namespace="##any" processContents="strict"/>
>                                                                               
>         </xsd:sequence>
>                                                                               
> </xsd:complexType>
>                                                                       
> </xsd:element>
>                                                               </xsd:sequence>
>                                                       </xsd:complexType>
>                                               </xsd:element>
>                                       </xsd:sequence>
>                               </xsd:complexType>
>                       </xsd:element>
>                       <xsd:element name="wrappedResponse">
>                               <xsd:complexType>
>                                       <xsd:sequence>
>                                               <xsd:element name="id" 
> type="xsd:integer"/>
>                                               <xsd:element 
> name="returnedData" minOccurs="0">
>                                                       <xsd:complexType>
>                                                               <xsd:sequence>
>                                                                       <!-- 
> Note that this element requires a valid schema -->
>                                                                       
> <xsd:any namespace="##any" processContents="strict"/>
>                                                               </xsd:sequence>
>                                                       </xsd:complexType>
>                                               </xsd:element>
>                                       </xsd:sequence>
>                               </xsd:complexType>
>                       </xsd:element>
>               </xsd:schema>
>       </wsdl:types>
>       <wsdl:message name="Request">
>               <wsdl:part element="tns:request"
>                       name="requestElement" />
>       </wsdl:message>
>       <wsdl:message name="Response">
>               <wsdl:part element="tns:response"
>                       name="responseElement" />
>       </wsdl:message>
>        
>       <wsdl:message name="WrappedRequest">
>               <wsdl:part element="tns:wrappedRequest"
>                       name="wrappedRequestElement" />
>       </wsdl:message>
>       
>       <wsdl:message name="WrappedResponse">
>               <wsdl:part element="tns:wrappedResponse"
>                       name="wrappedResponseElement" />
>       </wsdl:message>
>       
>       <wsdl:portType name="HAG2WayPort">
>               <wsdl:operation name="RequestResponseMessage">
>                       <wsdl:input message="tns:Request" />
>                       <wsdl:output message="tns:Response" />
>               </wsdl:operation>
>               
>               <wsdl:operation name="WrappedRequestMessage">
>                       <wsdl:input message="tns:WrappedRequest" />
>               </wsdl:operation>
>               
>               <wsdl:operation name="WrappedResponseMessage">
>                       <wsdl:input message="tns:WrappedResponse" />
>               </wsdl:operation>
>               
>       </wsdl:portType>
>       <wsdl:binding name="HAG2WayBinding"
>               type="tns:HAG2WayPort">
>               <soap:binding style="document"
>                       transport="http://schemas.xmlsoap.org/soap/http"; />
>               <wsdl:operation name="RequestResponseMessage">
>                       <soap:operation soapAction="RequestResponseMessage" />
>                       <wsdl:input>
>                               <soap:body use="literal" />
>                       </wsdl:input>
>                       <wsdl:output>
>                               <soap:body use="literal" />
>                       </wsdl:output>
>               </wsdl:operation>
>               
>               <wsdl:operation name="WrappedRequestMessage">
>                       <soap:operation soapAction="WrappedRequestMessage" />
>                       <wsdl:input>
>                               <soap:body use="literal" />
>                       </wsdl:input>
>               </wsdl:operation>
>                
>               <wsdl:operation name="WrappedResponseMessage">
>                       <soap:operation soapAction="WrappedResponseMessage" />
>                       <wsdl:input>
>                               <soap:body use="literal" />
>                       </wsdl:input>
>               </wsdl:operation>
>               
>       </wsdl:binding>
>       <wsdl:service name="HAG2WayService">
>               <wsdl:port binding="tns:HAG2WayBinding"
>                       name="HAG2Way">
>                       <soap:address
>                               
> location="http://localhost:8080/axis2/services/HAG2WayService"; />
>               </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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to