frameloose
Newcomer
- Joined
- Dec 9, 2005
- Messages
- 3
So i have a webservice that i have done in C# .NET.
My webservice is expecting the variables just to be systemId and not ns1:systemId ... but the client can not change the way the envelope is sent, so i must in some way get my webservice to accept ns1:systemId, anyone know a solution to get it to work?
Code:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<GetCardTypesBySystemId xmlns="urn:OurService" xmlns:ns1="http://my.domain.com/webservice/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:systemId>2</ns1:systemId>
</GetCardTypesBySystemId>
</soapenv:Body>
</soapenv:Envelope>
My webservice is expecting the variables just to be systemId and not ns1:systemId ... but the client can not change the way the envelope is sent, so i must in some way get my webservice to accept ns1:systemId, anyone know a solution to get it to work?