[
https://issues.apache.org/jira/browse/AXIS2-5352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sagara Gunathunga resolved AXIS2-5352.
---------------------------------------
Resolution: Invalid
SoapUI use what ever the provided WSDL file to generate sample messages. Since
you use your own WSDL file these can be issues with the WSDL file itself. One
thing you can do it enable WSDL auto- generation and compare your original WSDL
with auto- generation one to find changes.
This kind of a user questions need to be asked on user mailing list the purpose
of JIRA is to track project bugs and improvement NOT to provide user help.
There are plenty of resources available on web describing how to contact to a
open source community in a efficient way.
> 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]