axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (AXIS2-731) myService?wsdl does not return wsdl
Date Tue, 16 May 2006 10:28:07 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-731?page=all ]

Deepal Jayasinghe reassigned AXIS2-731:
---------------------------------------

    Assign To: Deepal Jayasinghe

> myService?wsdl does not return wsdl
> -----------------------------------
>
>          Key: AXIS2-731
>          URL: http://issues.apache.org/jira/browse/AXIS2-731
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: wsdl
>     Versions: 1.0
>  Environment: windows
>     Reporter: Tony Dean
>     Assignee: Deepal Jayasinghe

>
> Please explain why a doc/lit web service that contains 
> ----------------------------------------------------------------------------------------------------
> meta-inf/services.xml:
> <service name="WebServiceMaker" scope="application">
>   <description>SAS BI Web Services (WebServiceMaker)</description>
>   <parameter locked="xsd:false" name="ServiceClass">com.sas.web.services.maker.axis2.WebServiceMakerPortTypeSkeleton</parameter>
>   <operation name="MakeWebService">
>     <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
>   </operation>
>   <operation name="ListWebServices">
>     <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
>   </operation>
> </service>
> ----------------------------------------------------------------------------------------------------
> and 
> ----------------------------------------------------------------------------------------------------
> meta-inf/service.wsdl:
> <?xml version="1.0" encoding="utf-8"?>
> <definitions name="WebServiceMaker"
>              xmlns="http://schemas.xmlsoap.org/wsdl/"
>              targetNamespace="http://support.sas.com/xml/namespace/biwebservices/webservicemaker-9.2"
>              xmlns:tns="http://support.sas.com/xml/namespace/biwebservices/webservicemaker-9.2"
>              xmlns:typesns="http://support.sas.com/xml/namespace/biwebservices/webservicemaker-9.2"
>              xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
>    <types>
>       <schema xmlns="http://www.w3.org/2001/XMLSchema"
>               targetNamespace="http://support.sas.com/xml/namespace/biwebservices/webservicemaker-9.2"
>               xmlns:tns="http://support.sas.com/xml/namespace/biwebservices/webservicemaker-9.2"
>               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>               elementFormDefault="qualified">
>          <complexType name="StringArrayType">
>             <sequence>
>                <element name="string" type="string" minOccurs="0" maxOccurs="unbounded"/>
>             </sequence>
>          </complexType>
>          <element name="MakeWebService" type="tns:MakeWebServiceType"/>
>          <complexType name="MakeWebServiceType">
>             <sequence>
>                <element name="omrURI" type="string"/>
>                <element name="omrUserID" type="string"/>
>                <element name="omrPassword" type="string"/>
>                <element name="storedProcessPaths" type="tns:StringArrayType"/>
>                <element name="serviceName" type="string"/>
>             </sequence>
>          </complexType>
>          <element name="MakeWebServiceResponse" type="tns:MakeWebServiceResponseType"/>
>          <complexType name="MakeWebServiceResponseType">
>             <sequence>
>                <element name="MakeWebServiceResult" type="string"/>
>             </sequence>
>          </complexType>
>          <element name="ListWebServices" type="tns:ListWebServicesType"/>
>          <complexType name="ListWebServicesType"/>
>          <element name="ListWebServicesResponse" type="tns:ListWebServicesResponseType"/>
>          <complexType name="ListWebServicesResponseType">
>             <sequence>
>                <element name="ListWebServicesResult" type="tns:StringArrayType"/>
>             </sequence>
>          </complexType>
>          <element name="FaultException" type="tns:FaultException"/>
>          <complexType name="FaultException">
>             <sequence>
>                <element name="ExceptionMessage" type="string" minOccurs="0" maxOccurs="unbounded"/>
>             </sequence>
>          </complexType>
>      
>       </schema>
>    </types>
>    <message name="MakeWebServiceRequest">
>       <part name="parameters" element="typesns:MakeWebService"/>
>    </message>
>    <message name="MakeWebServiceResponse">
>       <part name="parameters" element="typesns:MakeWebServiceResponse"/>
>    </message>
>    <message name="ListWebServicesRequest">
>       <part name="parameters" element="typesns:ListWebServices"/>
>    </message>
>    <message name="ListWebServicesResponse">
>       <part name="parameters" element="typesns:ListWebServicesResponse"/>
>    </message>
>    <message name="FaultException">
>       <part name="fault" element="typesns:FaultException"/>
>    </message>
>    <portType name="WebServiceMakerPortType">
>       <operation name="MakeWebService">
>          <input message="tns:MakeWebServiceRequest"/>
>          <output message="tns:MakeWebServiceResponse"/>
>          <fault name="fault" message="tns:FaultException"/>
>       </operation>
>       <operation name="ListWebServices">
>          <input message="tns:ListWebServicesRequest"/>
>          <output message="tns:ListWebServicesResponse"/>
>       </operation>
>    </portType>
>    <binding name="WebServiceMakerBinding" type="tns:WebServiceMakerPortType">
>       <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
>       <operation name="MakeWebService">
>          <soap:operation soapAction=""/>
>          <input>
>             <soap:body use="literal"/>
>          </input>
>          <output>
>             <soap:body use="literal"/>
>          </output>
>          <fault name="fault">
>             <soap:fault name="fault" use="literal"/>
>          </fault>
>       </operation>
>       <operation name="ListWebServices">
>          <soap:operation soapAction=""/>
>          <input>
>             <soap:body use="literal"/>
>          </input>
>          <output>
>             <soap:body use="literal"/>
>          </output>
>       </operation>
>    </binding>
>    <service name="WebServiceMaker">
>       <port name="WebServiceMakerPort" binding="tns:WebServiceMakerBinding">
>          <soap:address location="$WEBSVC_URL$"/>
>       </port>
>    </service>
> </definitions>
> ----------------------------------------------------------------------------------------------------
> returns the following error when accessing myService?wsdl from the admin console:
> - <error>
>   <description>Unable to generate WSDL for this service</description>
>   <reason>Either user has not dropped the wsdl into META-INF or operations use
message receivers other than RPC.</reason>
>   </error>

-- 
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


Mime
View raw message