axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "satheesh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AXIS2-5352) Getting parameters values blank and null when using custom wsdl in axis2
Date Fri, 29 Jun 2012 08:41:42 GMT
satheesh created AXIS2-5352:
-------------------------------

             Summary: Getting parameters values blank and null when using custom wsdl in axis2
                 Key: AXIS2-5352
                 URL: https://issues.apache.org/jira/browse/AXIS2-5352
             Project: Axis2
          Issue Type: Bug
          Components: wsdl
    Affects Versions: 1.4.1
            Reporter: satheesh


I am using axis2 for my web services creation. I want to use my own wsdl file instead of using
generated wsdl file. When I am placing my own wsdl file in META-INF directory and deploying
my web services they are deploying successfully. But the problem is when i try to test these
web service using soapui sending null request to the webservice.

Please see my wsdl file 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://genone"

xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"	
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"  
name="ScheduleService" 
targetNamespace="http://genone"  xmlns:req="http://genone">
  <wsdl:types>
    <xsd:schema targetNamespace="http://genone">
      <xsd:element name="SendScheduleMessage">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element minOccurs="0" name="szMessage"  type="xsd:string"/>
            <xsd:element minOccurs="0" name="szUserName"  type="xsd:string"/>
            <xsd:element minOccurs="0" name="szPassword"  type="xsd:string"/>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="SendScheduleMessageResponse">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element minOccurs="0" name="return"  type="xsd:string" />
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
    </xsd:schema>
    
  </wsdl:types>
  <wsdl:message name="SendScheduleMessageRequest">
    <wsdl:part element="tns:SendScheduleMessage" name="parameters"/>
  </wsdl:message>
  <wsdl:message name="SendScheduleMessageResponse">
    <wsdl:part element="tns:SendScheduleMessageResponse" name="parameters"/>
  </wsdl:message>
  <wsdl:portType name="ScheduleService">
    <wsdl:operation name="SendScheduleMessage">
      <wsdl:input message="tns:SendScheduleMessageRequest"></wsdl:input>
      <wsdl:output message="tns:SendScheduleMessageResponse"></wsdl:output>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="ScheduleServiceSOAP" type="tns:ScheduleService">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="SendScheduleMessage">
      <soap:operation soapAction="http://genone/SendScheduleMessage"/>
      <wsdl:input>
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>  
  <wsdl:service name="ScheduleService">
    <wsdl:port binding="tns:ScheduleServiceSOAP" name="ScheduleServiceSOAP">
      <soap:address location="http://10.90.1.32/Genone/services/ScheduleService"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>

Also see my services.xml

<service name="ScheduleService">    
    <description>
        GenerationOne Schedule Service
    </description>    
    <parameter name="ServiceClass">genone.XMLReceiver</parameter>
     <parameter name="useOriginalwsdl">true</parameter> 
     <parameter name="modifyUserWSDLPortAddress">false</parameter>     
    <operation name="SendScheduleMessage">
    <messageReceiver  class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" />
    </operation>
</service>

Please suggest us


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message