调用Web Service的有关问题

调用Web Service的问题。
请教:这个WebService怎么调用?
用Java开发的。
直接引用不行,生成代理类也不行。
URL如下:
http://202.105.212.146:8080/jboss-net/services/Register?wsdl


------解决方案--------------------
web服务的后缀名不是asmx吗?右键添加Web引用不行吗?这个服务是你自己的,还是?
------解决方案--------------------
探讨
web服务的后缀名不是asmx吗?右键添加Web引用不行吗?这个服务是你自己的,还是?

------解决方案--------------------
帮顶
------解决方案--------------------
检查soap协议类型。
------解决方案--------------------
WebService 转换服务~!搜索下
------解决方案--------------------
http://202.105.212.146:8080/jboss-net/services/Register?wsdl 
用vs添加这个引用
------解决方案--------------------
顶一下,以表支持
------解决方案--------------------
http://topic.csdn.net/t/20031022/23/2385067.html
跟你的错误一样.你看下.
------解决方案--------------------
得需要发布后,然后引用,实例化,使用!!
------解决方案--------------------
友情帮顶~
------解决方案--------------------
UP
------解决方案--------------------
修改了WSDL文件 添加引用成功 调用出错

POST数据:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<m:getRandom xmlns:m="http://realization.webservice.uc.fin.huawei.com" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

服务器响应:

<?xml version="1.0" encoding="UTF-8"?>
<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>
<soapenv:Fault>
<faultcode>soapenv:Server.generalException</faultcode>
<faultstring>Access denied.</faultstring>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>


------解决方案--------------------
不能添加WEB引用吗
------解决方案--------------------
探讨
修改了WSDL文件 添加引用成功 调用出错

POST数据:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<m:getRandom xmlns:m="http://realization.webservice.uc.fin.huawei.com" SOAP-ENV:encodin…

------解决方案--------------------
学习帮顶,我不会
------解决方案--------------------
如果实在不行就用httpwebrequest构建XML请求,然后取返回值解析,一样的原理
------解决方案--------------------