Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: WSDL
Hello Sir,
 
We have a WSDL file. WSDL working at Tibco server and we got the XML as output in soap UI. We have to cosume it in on Iphone/Android development. On making request everytime from code we are getting WSDL in response instaed of XML file. We need XML so that we can use it in our Iphone/Android development.
 
I am sending the WSDL for further reference. If any issues be revert back to me.The rtf is as follows.
 

 
<?xml version="1.0" encoding="UTF-8"?>
<!--Created by TIBCO WSDL-->
    <wsdl:types>
        <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ril.com/XSD/HNH/ManageHNHospitalDetails/PatientInformation.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
            <xs:element name="PatientInfo">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="PatientDemographicInformation">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="PatientMRDNumber" type="xs:unsignedByte"/>
                                    <xs:element name="PatientFirstName" type="xs:string"/>
                                    <xs:element name="PatientMiddleName" type="xs:string"/>
                                    <xs:element name="PatientLastName" type="xs:string"/>
                                    <xs:element name="PatientAge" type="xs:unsignedByte"/>
                                    <xs:element name="PatientAgeType" type="xs:string"/>
                                    <xs:element name="PatientDOB" type="xs:string"/>
                                    <xs:element name="PatientSex" type="xs:string"/>
                                    <xs:element name="PatientMobileNumber" type="xs:unsignedLong"/>
                                    <xs:element name="PatientPriority" type="xs:string"/>
                                    <xs:element name="PatientAddress" type="xs:string"/>
                                    <xs:element name="PatientPayingType" type="xs:string"/>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                        <xs:element name="PatientAllergy">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="PatientAllergyInformation" maxOccurs="unbounded">
                                        <xs:complexType>
                                            <xs:sequence>
                                                <xs:element name="PatientAllergyType" type="xs:string"/>
                                                <xs:element name="PatientAllergen" type="xs:string"/>
                                                <xs:element name="PatientReaction" type="xs:string"/>
                                                <xs:element name="PatientAllergyStatus" type="xs:string"/>
                                            </xs:sequence>
                                        </xs:complexType>
                                    </xs:element>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                        <xs:element name="AdmissionDetails">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="PatientAdmissionInformation">
                                        <xs:complexType>
                                            <xs:sequence>
                                                <xs:element name="PatientVisitType" type="xs:string"/>
                                                <xs:element name="PatientCurrentAdmissionBed" type="xs:string"/>
                                                <xs:element name="PatientCurrentWardNumber" type="xs:string"/>
                                                <xs:element name="PatientTreatingPhysician" type="xs:string"/>
                                            </xs:sequence>
                                        </xs:complexType>
                                    </xs:element>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                        <xs:element name="PatientDiagnosis">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="PatientDiagnosisInformation" maxOccurs="unbounded">
                                        <xs:complexType>
                                            <xs:sequence>
                                                <xs:element name="DiagnosisCode" type="xs:string"/>
                                                <xs:element name="DiagnosisDescription" type="xs:string"/>
                                                <xs:element name="DiagnosisDTOnset" type="xs:string"/>
                                                <xs:element name="DiagnosisStage" type="xs:string"/>
                                                <xs:element name="DiagnosisType" type="xs:string"/>
                                            </xs:sequence>
                                        </xs:complexType>
                                    </xs:element>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                        <xs:element name="PatientCurrentMedicationList">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="PatientMedicationInformation" maxOccurs="unbounded">
                                        <xs:complexType>
                                            <xs:sequence>
                                                <xs:element name="DrugCode" type="xs:string"/>
                                                <xs:element name="DrugNname" type="xs:string"/>
                                                <xs:element name="DrugDosage" type="xs:unsignedShort"/>
                                                <xs:element name="DrugDosageUnitofMeasure" type="xs:string"/>
                                                <xs:element name="DrugFrequency" type="xs:string"/>
                                                <xs:element name="NumberofDays" type="xs:unsignedByte"/>
                                            </xs:sequence>
                                        </xs:complexType>
                                    </xs:element>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                        <xs:element name="PatientVitalSigns">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="PatientVitalSignsInformation" maxOccurs="unbounded">
                                        <xs:complexType>
                                            <xs:sequence>
                                                <xs:element name="DateTimeCaptured" type="xs:string"/>
                                                <xs:element name="TemperatureF" type="xs:unsignedByte"/>
                                                <xs:element name="Pulse" type="xs:unsignedByte"/>
                                                <xs:element name="BP" type="xs:string"/>
                                                <xs:element name="PainScale" type="xs:unsignedByte"/>
                                                <xs:element name="Resp" type="xs:unsignedByte"/>
                                                <xs:element name="SP02" type="xs:unsignedByte"/>
                                                <xs:element name="HeightCM" type="xs:unsignedByte"/>
                                                <xs:element name="WeightKG" type="xs:unsignedByte"/>
                                                <xs:element name="BMI" type="xs:anyType"/>
                                            </xs:sequence>
                                        </xs:complexType>
                                    </xs:element>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                        <xs:element name="PatientLabResults">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="PatientLabResultsInformation" maxOccurs="unbounded">
                                        <xs:complexType>
                                            <xs:sequence>
                                                <xs:element name="LabTest" type="xs:string"/>
                                                <xs:element name="LabResults" type="xs:decimal"/>
                                                <xs:element name="UnitOfMeasurement" type="xs:string"/>
                                                <xs:element name="DateReported" type="xs:string"/>
                                                <xs:element name="LabRange" type="xs:string"/>
                                            </xs:sequence>
                                        </xs:complexType>
                                    </xs:element>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                        <xs:element name="PatientRecentReports">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="PatientRecentReportsInformation" maxOccurs="unbounded">
                                        <xs:complexType>
                                            <xs:sequence>
                                                <xs:element name="Document" type="xs:string"/>
                                                <xs:element name="LastModifiedDate" type="xs:string"/>
                                                <xs:element name="Specialty" type="xs:string"/>
                                                <xs:element name="Doctors" type="xs:string"/>
                                            </xs:sequence>
                                        </xs:complexType>
                                    </xs:element>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:schema>
        <xs:schema xmlns="http://www.ril.com/CLE_AddOn/SharedResources/FaultMessage.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ril.com/CLE_AddOn/SharedResources/FaultMessage.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
            <xs:element name="FaultMessage">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="TransactionID" type="xs:string"/>
                        <xs:element name="CorrelationID" type="xs:string"/>
                        <xs:element name="InterfaceID" type="xs:string"/>
                        <xs:element name="ErrorCode" type="xs:string"/>
                        <xs:element name="ErrorDesc" type="xs:string"/>
                        <xs:element name="ErrorStackTrace" type="xs:string"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:schema>
        <xs:schema xmlns="http://www.ril.com/XSD/HNH/ManageHNHospitalDetails/PatientLoginStatusResponse.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ril.com/XSD/HNH/ManageHNHospitalDetails/PatientLoginStatusResponse.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
            <xs:element name="LoginInformation">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="ResponseCode" type="xs:int" minOccurs="0"/>
                        <xs:element name="ResponseMessage" type="xs:string" minOccurs="0"/>
                        <xs:element name="UserType" type="xs:string" minOccurs="0"/>
                        <xs:element name="UserID" type="xs:string" minOccurs="0"/>
                        <xs:element name="Rights" type="xs:string" minOccurs="0"/>
                        <xs:element name="SessionToken" type="xs:string" minOccurs="0"/>
                        <xs:element name="Timestamp" type="xs:string" minOccurs="0"/>
                        <xs:element name="Password" type="xs:string" minOccurs="0"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:schema>
        <xs:schema xmlns="http://www.ril.com/XSD/HNH/ManageHNHospitalDetails/PatientInformationRequest.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ril.com/XSD/HNH/ManageHNHospitalDetails/PatientInformationRequest.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
            <xs:element name="PatientInformationRequest">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="PatientMRDNumber" type="xs:string"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:schema>
        <xs:schema xmlns="http://www.ril.com/XSD/HNH/ManageHNHospitalDetails/getPatientListResponse.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ril.com/XSD/HNH/ManageHNHospitalDetails/getPatientListResponse.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
            <xs:element name="PatientList">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="PatientInfo" maxOccurs="unbounded">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="PatientMRDNo" type="xs:unsignedByte"/>
                                    <xs:element name="PatientName" type="xs:string"/>
                                    <xs:element name="PatientSex" type="xs:string"/>
                                    <xs:element name="PatientAge" type="xs:unsignedByte"/>
                                    <xs:element name="PatientMobileNumber" type="xs:unsignedLong"/>
                                    <xs:element name="PatientAppointmentTag" type="xs:anyType"/>
                                    <xs:element name="PatientChangeStatus" type="xs:string"/>
                                    <xs:element name="PatientAppointmentDate" type="xs:string"/>
                                    <xs:element name="PatientAppointmentTime" type="xs:time"/>
                                    <xs:element name="PatientVisitType" type="xs:anyType"/>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:schema>
        <xs:schema xmlns="http://www.ril.com/XSD/HNH/ManageHNHospitalDetails/PatientLoginStatusRequest.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ril.com/XSD/HNH/ManageHNHospitalDetails/PatientLoginStatusRequest.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
            <xs:element name="PatientLoignStatusRequest">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="UserName" type="xs:string"/>
                        <xs:element name="PassWord" type="xs:string"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:schema>
        <xs:schema xmlns="http://www.ril.com/XSD/HNH/ManageHNHospitalDetails/getPatientListRequest.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ril.com/XSD/HNH/ManageHNHospitalDetails/getPatientListRequest.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
            <xs:element name="PatientListRequest">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="DoctorId" type="xs:string"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:schema>
    </wsdl:types>
    <wsdl:service name="RIL_HNH_ManageHNHospitalDetails.serviceagent">
        <wsdl:port name="ManageHNHospitalDetailsEndpoint1" binding="tns:ManageHNHospitalDetailsEndpoint1Binding">
            <soap:address location="http://10.128.20.97:8595/HNH/ManageHNHospitalDetails/BusinessService/Services/RIL_HNH_ManageHNHospitalDetails.serviceagent/ManageHNHospitalDetailsEndpoint1"/>
        </wsdl:port>
    </wsdl:service>
    <wsdl:portType name="ManageHNHospitalDetails">
        <wsdl:operation name="getPatientInformation">
            <wsdl:input message="tns:getPatientInformationRequest"/>
            <wsdl:output message="tns:getPatientInformationResponse"/>
            <wsdl:fault name="fault1" message="tns:ManageHNHospitalDetailsFault"/>
        </wsdl:operation>
        <wsdl:operation name="getPatientList">
            <wsdl:input message="tns:getPatientListRequest"/>
            <wsdl:output message="tns:getPatientListResponse"/>
            <wsdl:fault name="fault1" message="tns:ManageHNHospitalDetailsFault"/>
        </wsdl:operation>
        <wsdl:operation name="getPatientLoignStatus">
            <wsdl:input message="tns:getPatientLoignStatusRequest"/>
            <wsdl:output message="tns:getPatientLoignStatusResponse"/>
            <wsdl:fault name="fault1" message="tns:ManageHNHospitalDetailsFault"/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="ManageHNHospitalDetailsEndpoint1Binding" type="tns:ManageHNHospitalDetails">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="getPatientInformation">
            <soap:operation style="document" soapAction="/HNH/ManageHNHospitalDetails/BusinessService/Services/RIL_HNH_ManageHNHospitalDetails.serviceagent/ManageHNHospitalDetailsEndpoint1/getPatientInformation"/>
            <wsdl:input>
                <soap:body use="literal" parts="getPatientInformationRequest"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal" parts="getPatientInformationResponse"/>
            </wsdl:output>
            <wsdl:fault name="fault1">
                <soap:fault use="literal" name="fault1"/>
            </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="getPatientList">
            <soap:operation style="document" soapAction="/HNH/ManageHNHospitalDetails/BusinessService/Services/RIL_HNH_ManageHNHospitalDetails.serviceagent//getPatientList"/>
            <wsdl:input>
                <soap:body use="literal" parts="getPatientListRequest"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal" parts="getPatientListResponse"/>
            </wsdl:output>
            <wsdl:fault name="fault1">
                <soap:fault use="literal" name="fault1"/>
            </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="getPatientLoignStatus">
            <soap:operation style="document" soapAction="/HNH/ManageHNHospitalDetails/BusinessService/Services/RIL_HNH_ManageHNHospitalDetails.serviceagent//getPatientLoignStatus"/>
            <wsdl:input>
                <soap:body use="literal" parts="getPatientLoignStatusRequest"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal" parts="getPatientLoignStatusResponse"/>
            </wsdl:output>
            <wsdl:fault name="fault1">
                <soap:fault use="literal" name="fault1"/>
            </wsdl:fault>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:message name="getPatientInformationRequest">
        <wsdl:part name="getPatientInformationRequest" element="ns0:PatientInformationRequest"/>
    </wsdl:message>
    <wsdl:message name="getPatientInformationResponse">
        <wsdl:part name="getPatientInformationResponse" element="ns1:PatientInfo"/>
    </wsdl:message>
    <wsdl:message name="ManageHNHospitalDetailsFault">
        <wsdl:part name="ManageHNHispitalDetailsFault" element="ns2:FaultMessage"/>
    </wsdl:message>
    <wsdl:message name="getPatientListRequest">
        <wsdl:part name="getPatientListRequest" element="ns3:PatientListRequest"/>
    </wsdl:message>
    <wsdl:message name="getPatientListResponse">
        <wsdl:part name="getPatientListResponse" element="ns4:PatientList"/>
    </wsdl:message>
    <wsdl:message name="getPatientLoignStatusRequest">
        <wsdl:part name="getPatientLoignStatusRequest" element="ns5:PatientLoignStatusRequest"/>
    </wsdl:message>
    <wsdl:message name="getPatientLoignStatusResponse">
        <wsdl:part name="getPatientLoignStatusResponse" element="ns6:LoginInformation"/>
    </wsdl:message>
</wsdl:definitions>
Posted 24-Apr-13 2:33am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 24 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100