Categories

See More
Popular Forum

MBA (4887) B.Tech (1769) Engineering (1486) Class 12 (1030) Study Abroad (1004) Computer Science and Engineering (988) Business Management Studies (865) BBA (846) Diploma (746) CAT (651) B.Com (648) B.Sc (643) JEE Mains (618) Mechanical Engineering (574) Exam (525) India (462) Career (452) All Time Q&A (439) Mass Communication (427) BCA (417) Science (384) Computers & IT (Non-Engg) (383) Medicine & Health Sciences (381) Hotel Management (373) Civil Engineering (353) MCA (349) Tuteehub Top Questions (348) Distance (340) Colleges in India (334)
See More

Soap Webservice in Node JS

General Tech Bugs & Fixes
Max. 2000 characters
Replies

usr_profile.png
Peter Jarvis

User

( 7 months ago )

 

I am trying to build a soap webservice in node js using the npm module soap. I am using the soap.listen function that is mentioned to launch a soap server in node js. The wsdl file I am including looks like below:

    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions name="wscalc1" targetNamespace="http://localhost:8100/api/orderStatusWsdl" xmlns="http://localhost:8100/api/orderStatusWsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <wsdl:message name="receiveOrderStatusRequest">
        <wsdl:part name="a" type="xs:string"/>
        <wsdl:part name="b" type="xs:string"/>
    </wsdl:message>
    <wsdl:message name="receiveOrderStatusResponse">
        <wsdl:part name="orderStatusResponse" type="xs:string"/>
    </wsdl:message>
    <wsdl:portType name="orderStatusPort">
        <wsdl:operation name="receiveOrderStatus">
            <wsdl:input message="receiveOrderStatusRequest"/>
            <wsdl:output message="receiveOrderStatusResponse"/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="orderStatusBinding" type="orderStatusPort">
        <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="receiveOrderStatus">
            <soap:operation soapAction="receiveOrderStatus"/>
            <wsdl:input>
                <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="orderStatusService">
        <wsdl:port binding=
			
        

what's your interest