求助。如何写这个webservice?
菜鸟问题,如下为http的请求应答报文
http请求格式如下,
PosT /example HTTP/1.1
Host: example.com
Content-Type: text/xml
Content-length: 870
<?xml version="1.0" encoding="GBK"?>
<operation_in type="struct">
<service_name type="string">cc_userpwd_verify</service_name>
</operation_in>
返回格式如下:
HTTP/1.1 200 OK
Connection: close
Content-Length: 682
Content-Type: text/xml
<?xml version="1.0" encoding="GBK"?>
<operation_out type="struct">
<service_name type="string">cc_userpwd_verify</service_name>
</operation_out>
如何编写JAVA或者jsp代码来发送请求和接收应答?
急用,谢谢!!!