So I posted something last week about an issue I was having with no response so I am hopeful I can get and answer. So this time it was determined on what was happening. When I use SOAPUI and send a request with the username parameter, I was getting the information back. When I call the same request in VB .NET I would get an erro back. from the Web server.
We found that VB.NET is adding this "xsi:type="xsd.string" in the <username> brackets. The code is below. First what SOAPUI s sending and the second is what VB is sending. How do I stop the issue from doing this?
This is what SOAPUI sends
This is what VB.NET is sending
Thanks,
B
We found that VB.NET is adding this "xsi:type="xsd.string" in the <username> brackets. The code is below. First what SOAPUI s sending and the second is what VB is sending. How do I stop the issue from doing this?
This is what SOAPUI sends
VB.NET:
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<q1:GetEmailFromUsername xmlns:q1="http://MyServer.com>
<Username>MyName</Username>
</q1:GetEmailFromUsername>
</soap:Body>
This is what VB.NET is sending
VB.NET:
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<q1:GetEmailFromUsername xmlns:q1="http://MyServer.com>
<Username xsi:type="xsd.string">MyName</Username>
</q1:GetEmailFromUsername>
</soap:Body>
Thanks,
B