[ 
https://issues.apache.org/jira/browse/AXIS2-5352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

satheesh reopened AXIS2-5352:
-----------------------------


Still  fighting with this issue over 2 weeks. 
Please help us

Still receiving null parameters in my web service.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:tns="http://genone"; 
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 attributeFormDefault="unqualified" 
elementFormDefault="unqualified" 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 name="parameters" element="tns:SendScheduleMessage" />
  </wsdl:message>
  <wsdl:message name="SendScheduleMessageResponse">
    <wsdl:part name="parameters" element="tns:SendScheduleMessageResponse" />
  </wsdl:message>
  <wsdl:portType name="ScheduleServicePortType">
    <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:ScheduleServicePortType">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="document"/>
    <wsdl:operation name="SendScheduleMessage">
      <soap:operation soapAction="http://genone/SendScheduleMessage"; 
style="document"/>
      <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 name="ScheduleServiceSOAP" binding="tns:ScheduleServiceSOAP" >
      <soap:address 
location="http://10.90.1.32/Genone/services/ScheduleService.ScheduleServiceSOAP"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>

How do I modify the soap address in the auto generated wsdl file?
How do I modify the xsd: import schemas in the auto generated wsdl file?


                
> 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
>              Labels: newbie
>   Original Estimate: 2m
>  Remaining Estimate: 2m
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to