State of OMG-LEGION prior to merge
This commit is contained in:
@@ -19,8 +19,6 @@ namespace PartSource.Services
|
||||
XmlSerializer serializer = new XmlSerializer(typeof(Envelope));
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
|
||||
|
||||
using (TextWriter textWriter = new StringWriter(sb))
|
||||
{
|
||||
serializer.Serialize(textWriter, (object)envelope);
|
||||
@@ -37,7 +35,9 @@ namespace PartSource.Services
|
||||
HttpResponseMessage response = await client.PostAsync("http://acespssprod.nexpart.com:8081/partselect/1.0/services/PartSelectService.PartSelectHttpSoap11Endpoint/", new StringContent(textWriter.ToString(), Encoding.UTF8));
|
||||
Stream result = await response.Content.ReadAsStreamAsync();
|
||||
string str = await response.Content.ReadAsStringAsync();
|
||||
|
||||
content = (U)((Envelope)serializer.Deserialize(result)).Body.Content;
|
||||
;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user