wso2 / integration-studio-examples

Example project files for WSO2 Integration Studio
Apache License 2.0
34 stars 21 forks source link

XML Only SOAP Web Service: HTTP/1.1 404 Not Found #90

Open isuruuy429 opened 4 years ago

isuruuy429 commented 4 years ago

Description: Getting the following response when the proxy is invoked.

POST /services/xml-only-soap-webservice HTTP/1.1
SOAPAction: http://wso2.org/hospital-admission-service/admitSubject
Content-Type: text/xml
User-Agent: http4e/5.0.12
Host: localhost:8290
Content-Length: 1103

   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://wso2.org/hospital-admission-service" xmlns:ns1="http://wso2.org/hospital-admission-service/modal">
       <soapenv:Header/>
       <soapenv:Body>
          <ns:admitSubject>
             <ns1:Referer>
                <clientId>clientid</clientId>
             </ns1:Referer>
             <ns1:Referral>
                <procedure>
                   <code>3333</code>
                   <admission>Elective</admission>
                   <department>New</department>
                </procedure>
             </ns1:Referral>
             <ns1:Subject>
                <nationalId>3123123</nationalId>
                <firstName>Dave</firstName>
                <lastName>Duck</lastName>
                <address1>address</address1>
                <nationality>nationality</nationality>
                <gender>Male</gender>
                <dateOfBirth>1990-12-04</dateOfBirth>
             </ns1:Subject>
          </ns:admitSubject>
       </soapenv:Body>
    </soapenv:Envelope>

Response:

HTTP/1.1 404 Not Found
SOAPAction: http://wso2.org/hospital-admission-service/admitSubject
Host: localhost:8290
Content-Type: text/xml
Date: Mon, 04 May 2020 15:29:15 GMT
Transfer-Encoding: chunked