java调用c#webservice时需要传递xml,那在java中如何去定义实体转换成xml???(注意:是实体类如何定义)
有如下这样的请求xml,那么在java中的实体是如何定义呢????
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Header>
<SXHeader xmlns="http://tempuri.org/">
<OrderID>int</OrderID>
</SXHeader>
</soap12:Header>
<soap12:Body>
<Update xmlns="http://tempuri.org/">
<updateStatus>
<Status>string</Status>
</updateStatus>
</Update>
</soap12:Body>
</soap12:Envelope>