WCF Post using SoapUI 404 not found
I have wcf service hosted on IIS. https://sample.azurewebsites.net/service1.svc. When i tried to access it from browser, i can access it and also able to see the WSDL.
I tried to test one of the methods inside it using SoapUI. I am able to create new Soap project. I have could see the all methods inside it in SoapUI. When i hit send in Soap UI i am seeing 404 not found.
Request :
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:tem="http://tempuri.org/">
<soap:Header/>
<soap:Body>
<tem:getSomeData>
<!--Optional:-->
<tem:inputCode>?</tem:inputCode>
</tem:getSomeData>
</soap:Body>
</soap:Envelope>
Resposne:
HTTP/1.1 404 Not Found
Cache-Control: private
Server: Microsoft-IIS/10.0
Set-Cookie: locale=en-GB; path=/
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Set-Cookie: ARRAffinity=f7e6867f2c1126df6e85985ad62253202300d1c2e74ff407dbd0aca8c239ebb9;Path=/;HttpOnly;Domain=sample.azurewebsites.net
Date: Thu, 03 Jan 2019 05:37:26 GMT
Content-Length: 0
Log:
Thu Jan 03 11:10:51 IST 2019:DEBUG:Attempt 1 to execute request
Thu Jan 03 11:10:51 IST 2019:DEBUG:Sending request: POST /service1.svc HTTP/1.1
Thu Jan 03 11:10:51 IST 2019:DEBUG:Receiving response: HTTP/1.1 301 Moved Permanently
Thu Jan 03 11:10:51 IST 2019:DEBUG:Connection can be kept alive indefinitely
Thu Jan 03 11:10:51 IST 2019:DEBUG:Attempt 1 to execute request
Thu Jan 03 11:10:51 IST 2019:DEBUG:Sending request: POST /service1.svc HTTP/1.1
Thu Jan 03 11:10:52 IST 2019:DEBUG:Receiving response: HTTP/1.1 404 Not Found
Thu Jan 03 11:10:52 IST 2019:DEBUG:Connection can be kept alive indefinitely
Thu Jan 03 11:10:52 IST 2019:INFO:Got response for [WSHttpBinding_IService1.getSomeData:Request 2] in 1124ms (0 bytes)
wcf http-status-code-404 soapui
add a comment |
I have wcf service hosted on IIS. https://sample.azurewebsites.net/service1.svc. When i tried to access it from browser, i can access it and also able to see the WSDL.
I tried to test one of the methods inside it using SoapUI. I am able to create new Soap project. I have could see the all methods inside it in SoapUI. When i hit send in Soap UI i am seeing 404 not found.
Request :
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:tem="http://tempuri.org/">
<soap:Header/>
<soap:Body>
<tem:getSomeData>
<!--Optional:-->
<tem:inputCode>?</tem:inputCode>
</tem:getSomeData>
</soap:Body>
</soap:Envelope>
Resposne:
HTTP/1.1 404 Not Found
Cache-Control: private
Server: Microsoft-IIS/10.0
Set-Cookie: locale=en-GB; path=/
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Set-Cookie: ARRAffinity=f7e6867f2c1126df6e85985ad62253202300d1c2e74ff407dbd0aca8c239ebb9;Path=/;HttpOnly;Domain=sample.azurewebsites.net
Date: Thu, 03 Jan 2019 05:37:26 GMT
Content-Length: 0
Log:
Thu Jan 03 11:10:51 IST 2019:DEBUG:Attempt 1 to execute request
Thu Jan 03 11:10:51 IST 2019:DEBUG:Sending request: POST /service1.svc HTTP/1.1
Thu Jan 03 11:10:51 IST 2019:DEBUG:Receiving response: HTTP/1.1 301 Moved Permanently
Thu Jan 03 11:10:51 IST 2019:DEBUG:Connection can be kept alive indefinitely
Thu Jan 03 11:10:51 IST 2019:DEBUG:Attempt 1 to execute request
Thu Jan 03 11:10:51 IST 2019:DEBUG:Sending request: POST /service1.svc HTTP/1.1
Thu Jan 03 11:10:52 IST 2019:DEBUG:Receiving response: HTTP/1.1 404 Not Found
Thu Jan 03 11:10:52 IST 2019:DEBUG:Connection can be kept alive indefinitely
Thu Jan 03 11:10:52 IST 2019:INFO:Got response for [WSHttpBinding_IService1.getSomeData:Request 2] in 1124ms (0 bytes)
wcf http-status-code-404 soapui
When we use the soapui send the request. The SOAPAction field specify the method we want to call. And endpoint address field shows where the service address. What are the value of these fields? How do you design and publish your service (now is unavailable)?
– Abraham Qian
Jan 3 at 10:00
In WS-A i mentioned it. Action : tempuri.org/IService1/getSomeData
– prasad
Jan 5 at 5:26
Additinally, it works fine in my localhost!
– prasad
Jan 6 at 6:39
which binding does your server use to create the wcf service?
– Abraham Qian
Jan 7 at 2:42
add a comment |
I have wcf service hosted on IIS. https://sample.azurewebsites.net/service1.svc. When i tried to access it from browser, i can access it and also able to see the WSDL.
I tried to test one of the methods inside it using SoapUI. I am able to create new Soap project. I have could see the all methods inside it in SoapUI. When i hit send in Soap UI i am seeing 404 not found.
Request :
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:tem="http://tempuri.org/">
<soap:Header/>
<soap:Body>
<tem:getSomeData>
<!--Optional:-->
<tem:inputCode>?</tem:inputCode>
</tem:getSomeData>
</soap:Body>
</soap:Envelope>
Resposne:
HTTP/1.1 404 Not Found
Cache-Control: private
Server: Microsoft-IIS/10.0
Set-Cookie: locale=en-GB; path=/
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Set-Cookie: ARRAffinity=f7e6867f2c1126df6e85985ad62253202300d1c2e74ff407dbd0aca8c239ebb9;Path=/;HttpOnly;Domain=sample.azurewebsites.net
Date: Thu, 03 Jan 2019 05:37:26 GMT
Content-Length: 0
Log:
Thu Jan 03 11:10:51 IST 2019:DEBUG:Attempt 1 to execute request
Thu Jan 03 11:10:51 IST 2019:DEBUG:Sending request: POST /service1.svc HTTP/1.1
Thu Jan 03 11:10:51 IST 2019:DEBUG:Receiving response: HTTP/1.1 301 Moved Permanently
Thu Jan 03 11:10:51 IST 2019:DEBUG:Connection can be kept alive indefinitely
Thu Jan 03 11:10:51 IST 2019:DEBUG:Attempt 1 to execute request
Thu Jan 03 11:10:51 IST 2019:DEBUG:Sending request: POST /service1.svc HTTP/1.1
Thu Jan 03 11:10:52 IST 2019:DEBUG:Receiving response: HTTP/1.1 404 Not Found
Thu Jan 03 11:10:52 IST 2019:DEBUG:Connection can be kept alive indefinitely
Thu Jan 03 11:10:52 IST 2019:INFO:Got response for [WSHttpBinding_IService1.getSomeData:Request 2] in 1124ms (0 bytes)
wcf http-status-code-404 soapui
I have wcf service hosted on IIS. https://sample.azurewebsites.net/service1.svc. When i tried to access it from browser, i can access it and also able to see the WSDL.
I tried to test one of the methods inside it using SoapUI. I am able to create new Soap project. I have could see the all methods inside it in SoapUI. When i hit send in Soap UI i am seeing 404 not found.
Request :
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:tem="http://tempuri.org/">
<soap:Header/>
<soap:Body>
<tem:getSomeData>
<!--Optional:-->
<tem:inputCode>?</tem:inputCode>
</tem:getSomeData>
</soap:Body>
</soap:Envelope>
Resposne:
HTTP/1.1 404 Not Found
Cache-Control: private
Server: Microsoft-IIS/10.0
Set-Cookie: locale=en-GB; path=/
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Set-Cookie: ARRAffinity=f7e6867f2c1126df6e85985ad62253202300d1c2e74ff407dbd0aca8c239ebb9;Path=/;HttpOnly;Domain=sample.azurewebsites.net
Date: Thu, 03 Jan 2019 05:37:26 GMT
Content-Length: 0
Log:
Thu Jan 03 11:10:51 IST 2019:DEBUG:Attempt 1 to execute request
Thu Jan 03 11:10:51 IST 2019:DEBUG:Sending request: POST /service1.svc HTTP/1.1
Thu Jan 03 11:10:51 IST 2019:DEBUG:Receiving response: HTTP/1.1 301 Moved Permanently
Thu Jan 03 11:10:51 IST 2019:DEBUG:Connection can be kept alive indefinitely
Thu Jan 03 11:10:51 IST 2019:DEBUG:Attempt 1 to execute request
Thu Jan 03 11:10:51 IST 2019:DEBUG:Sending request: POST /service1.svc HTTP/1.1
Thu Jan 03 11:10:52 IST 2019:DEBUG:Receiving response: HTTP/1.1 404 Not Found
Thu Jan 03 11:10:52 IST 2019:DEBUG:Connection can be kept alive indefinitely
Thu Jan 03 11:10:52 IST 2019:INFO:Got response for [WSHttpBinding_IService1.getSomeData:Request 2] in 1124ms (0 bytes)
wcf http-status-code-404 soapui
wcf http-status-code-404 soapui
asked Jan 3 at 5:46
prasadprasad
15919
15919
When we use the soapui send the request. The SOAPAction field specify the method we want to call. And endpoint address field shows where the service address. What are the value of these fields? How do you design and publish your service (now is unavailable)?
– Abraham Qian
Jan 3 at 10:00
In WS-A i mentioned it. Action : tempuri.org/IService1/getSomeData
– prasad
Jan 5 at 5:26
Additinally, it works fine in my localhost!
– prasad
Jan 6 at 6:39
which binding does your server use to create the wcf service?
– Abraham Qian
Jan 7 at 2:42
add a comment |
When we use the soapui send the request. The SOAPAction field specify the method we want to call. And endpoint address field shows where the service address. What are the value of these fields? How do you design and publish your service (now is unavailable)?
– Abraham Qian
Jan 3 at 10:00
In WS-A i mentioned it. Action : tempuri.org/IService1/getSomeData
– prasad
Jan 5 at 5:26
Additinally, it works fine in my localhost!
– prasad
Jan 6 at 6:39
which binding does your server use to create the wcf service?
– Abraham Qian
Jan 7 at 2:42
When we use the soapui send the request. The SOAPAction field specify the method we want to call. And endpoint address field shows where the service address. What are the value of these fields? How do you design and publish your service (now is unavailable)?
– Abraham Qian
Jan 3 at 10:00
When we use the soapui send the request. The SOAPAction field specify the method we want to call. And endpoint address field shows where the service address. What are the value of these fields? How do you design and publish your service (now is unavailable)?
– Abraham Qian
Jan 3 at 10:00
In WS-A i mentioned it. Action : tempuri.org/IService1/getSomeData
– prasad
Jan 5 at 5:26
In WS-A i mentioned it. Action : tempuri.org/IService1/getSomeData
– prasad
Jan 5 at 5:26
Additinally, it works fine in my localhost!
– prasad
Jan 6 at 6:39
Additinally, it works fine in my localhost!
– prasad
Jan 6 at 6:39
which binding does your server use to create the wcf service?
– Abraham Qian
Jan 7 at 2:42
which binding does your server use to create the wcf service?
– Abraham Qian
Jan 7 at 2:42
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54016944%2fwcf-post-using-soapui-404-not-found%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54016944%2fwcf-post-using-soapui-404-not-found%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
When we use the soapui send the request. The SOAPAction field specify the method we want to call. And endpoint address field shows where the service address. What are the value of these fields? How do you design and publish your service (now is unavailable)?
– Abraham Qian
Jan 3 at 10:00
In WS-A i mentioned it. Action : tempuri.org/IService1/getSomeData
– prasad
Jan 5 at 5:26
Additinally, it works fine in my localhost!
– prasad
Jan 6 at 6:39
which binding does your server use to create the wcf service?
– Abraham Qian
Jan 7 at 2:42