WIP
This commit is contained in:
@@ -32,7 +32,7 @@ namespace PartSource.Services
|
||||
try
|
||||
{
|
||||
//HttpResponseMessage response = await client.PostAsync(ConfigurationManager.AppSettings["NexpartUrl"], (HttpContent)new StringContent(sb.ToString(), Encoding.UTF8, "text/xml"));
|
||||
HttpResponseMessage response = await client.PostAsync("http://acespssprod.nexpart.com:8081/partselect/1.0/services/PartSelectService.PartSelectHttpSoap11Endpoint/", new StringContent(textWriter.ToString(), Encoding.UTF8));
|
||||
HttpResponseMessage response = await client.PostAsync("https://acespssprod.nexpart.com:4085/partselect/2.0/services/PartSelectService.PartSelectHttpSoap11Endpoint", new StringContent(textWriter.ToString(), Encoding.UTF8, "text/xml"));
|
||||
Stream result = await response.Content.ReadAsStreamAsync();
|
||||
string str = await response.Content.ReadAsStringAsync();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user