Unknown style detected !! No code is generated
----------------------------------------------
Key: AXIS2-4317
URL: https://issues.apache.org/jira/browse/AXIS2-4317
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: wsdl
Affects Versions: 1.4.1
Environment: Windows XP - JDK 1.4
Reporter: Thomas Barbier
Hi All,
I was provided a wsdl file (I copied/pasted it at the end of this email) and I
generated stub with Axis2 version 1.4.1.
I have no error during stub generation but the generated classes don't compile:
In fact, it seems to miss a return statement in the methode SarimSoap I need to
call
Generated method signature is:
public
com.equant.supvision.adapter.orchestre.OrchestreSarimServicesServiceStub.ResultSarimSoap
SarimSOAP(
com.equant.supvision.adapter.orchestre.OrchestreSarimServicesServiceStub.RequestSarimSoap
requestSarimSoap0)
throws java.rmi.RemoteException
I can see also a lot of comments << Unknown style detected !! No code is
generated >> within the same method.
As a result, this class doesn't compile and I can't make the client application
work.
I created this as a bug since the wsdl2java doesn't show any error.
Please let me know if this issue come from the wsdl instead of Axis
Thank you very much for your support and please don't hesitate to contact me if
you need more information
Best Regards
Thomas
------------------------------------------------
------------------------------------------------
------------------------------------------------
----------------------------------------------- WSDL File
------------------------------------------------
------------------------------------------------
------------------------------------------------
------------------------------------------------
------------------------------------------------
------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
- <!-- ==============================================
-->
- <!-- orchestre-sarim.wsdl
-->
- <!--
-->
- <!-- Pulbicated services:
-->
- <!-- SarimSOAP
-->
- <!--
-->
- <!--
-->
- <!-- ==============================================
-->
- <wsdl:definitions targetNamespace="http://OrchestreSarimServicesService/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:apachesoap="http://xml.apache.org/xml-soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:svc="http://OrchestreSarimServicesService/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <!-- ==============================================
-->
- <!-- SECTION types
-->
- <!-- ==============================================
-->
- <!-- Definition of structures' types
-->
- <!-- ==============================================
-->
- <types>
- <xsd:schema elementFormDefault="qualified"
targetNamespace="http://OrchestreSarimServicesService/">
- <xsd:element name="ResultSarimSoap">
- <xsd:complexType>
- <xsd:sequence>
<xsd:element minOccurs="1" maxOccurs="1" name="ReturnCode" type="xsd:string"
/>
<xsd:element minOccurs="1" maxOccurs="1" name="ErrorMessage"
type="xsd:string" />
<xsd:element minOccurs="1" maxOccurs="1" name="RequestResult"
type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
- <xsd:element name="RequestSarimSoap">
- <xsd:complexType>
- <xsd:sequence>
<xsd:element minOccurs="1" maxOccurs="1" name="RequestName" type="xsd:string"
/>
<xsd:element minOccurs="1" maxOccurs="1" name="RequestVersion"
type="xsd:string" />
<xsd:element minOccurs="0" maxOccurs="1" name="ITTTicket" type="xsd:string"
/>
<xsd:element minOccurs="0" maxOccurs="1" name="CodLng" type="xsd:string" />
<xsd:element minOccurs="1" maxOccurs="1" name="RequestParameters"
type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</types>
- <!-- ==============================================
-->
- <!-- SECTION message
-->
- <!-- ==============================================
-->
- <!-- Definition of messages sent/received
-->
- <!-- by the server/client
-->
- <!-- ==============================================
-->
- <!-- Service SarimSOAP
-->
- <!-- ==================
-->
- <wsdl:message name="SarimSOAPIn">
<wsdl:part name="parametersIn" element="svc:RequestSarimSoap" />
</wsdl:message>
- <wsdl:message name="SarimSOAPOut">
<wsdl:part name="parameters" element="svc:ResultSarimSoap" />
</wsdl:message>
- <!-- ==============================================
-->
- <!-- SECTION portType
-->
- <!-- ==============================================
-->
- <!-- Description of the WEB services
-->
- <!-- ==============================================
-->
- <wsdl:portType name="OrchestreSarimServicesSoap">
- <!-- SarimSOAP
-->
- <wsdl:operation name="SarimSOAP">
<wsdl:input message="svc:SarimSOAPIn" name="SarimSOAPIn" />
<wsdl:output message="svc:SarimSOAPOut" name="SarimSOAPOut" />
</wsdl:operation>
</wsdl:portType>
- <!-- ==============================================
-->
- <!-- SECTION Bindings
-->
- <!-- ==============================================
-->
- <!-- Description of the links with WEB Services
-->
- <!-- The binding section specifies the protocol,
-->
- <!-- the serialization and the encoding.
-->
- <!-- ==============================================
-->
- <wsdl:binding name="OrchestreSarimServicesSoap"
type="svc:OrchestreSarimServicesSoap">
<wsdlsoap:binding style="Document"
transport="http://schemas.xmlsoap.org/soap/http" />
- <!-- SarimSOAP
-->
- <wsdl:operation name="SarimSOAP">
<wsdlsoap:operation soapAction="" />
- <wsdl:input name="SarimSOAPIn">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://172.20.64.41/OrchestreSarimServicesService" use="encoded" />
</wsdl:input>
- <wsdl:output name="SarimSOAPOut">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://172.20.64.41/OrchestreSarimServicesService" use="encoded" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <!-- ==============================================
-->
- <!-- SECTION service
-->
- <!-- ==============================================
-->
- <!-- Association port <-> bindings
-->
- <!-- ==============================================
-->
- <wsdl:service name="OrchestreSarimServicesService">
- <wsdl:port binding="svc:OrchestreSarimServicesSoap"
name="OrchestreSarimServicesSoap">
<wsdlsoap:address
location="http://172.20.64.41/72xorc/current/webservices/soap/perl/OrchestreSarimServices.pl"
/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.