CodeXSWebservice - Version 0.57ßClick here for a complete list of operations.
TargetNetVersion
Returns a string array of the valid .NET runtime versions for output code generation in the following form:
'{Target .NET platform parameter}:{Name of .NET Version}'.
Returns
Returns an array of representing the valid .NET runtime versions supported. These values are shown below:
| 20 | .NET v2.0 (returned as '20:.NET v2.0') |
| 11 | .NET v1.1 (returned as '11:.NET v1.1') |
Test
The test form is only available for requests from the local machine.SOAP
The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.
POST /CodeXS/CodeXS.asmx HTTP/1.1
Host: www.bware.biz
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.bware.biz/DotNet/Tools/CodeXS/WebService/TargetNetVersion"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<TargetNetVersion xmlns="http://www.bware.biz/DotNet/Tools/CodeXS/WebService/" />
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<TargetNetVersionResponse xmlns="http://www.bware.biz/DotNet/Tools/CodeXS/WebService/">
<TargetNetVersionResult>
<string>string</string>
<string>string</string>
</TargetNetVersionResult>
</TargetNetVersionResponse>
</soap:Body>
</soap:Envelope>
Other Resources- Download a simplified sample client application that uses this webservice.
- The CodeXS Online Tool is an interactive online tool that uses this webservice.
- Read an online article describing how the CodeXS tool works.
Copyright © 2006 Businessware Architects cc. All rights reserved.