I'm calling a simple web service from a Perl program.
The web service just returns some simple XML:

```
<?xml version="1.0" encoding="ISO-8859-1"?>
<job>
    <path>/root/subdir1/subdir2</path>
</job>

```

When I call the web service on a browser I get the full XML returned and can 'see'

```
/root/subdir1/subdir2

```

When I call the same URL using curl from different linux boxes it loses the data. I get this back:

```
<?xml version="1.0" encoding="ISO-8859-1"?>
<job>
    <path></path>
</job>

```

I don't understand why it is dropping the data but still returning the XML.

Any help would be much appreciated.