谁能帮忙调一下Web service,测试通不通,好吗?非常急!

dbserver 2007-12-11 02:33:07
我有一个Web service地址(用.net写的):
http://cmail.139.com:8000/HLJAdcService.asmx

谁能用java测试一下里面的HelloWorld方法吗?
主要是看有没有返回值就行了。
目前非常急,
谁能协调好,给100分
我的QQ: 568694511 在线等。
...全文
166 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
qiuqiupeng 2007-12-12
  • 打赏
  • 举报
回复
没看到有helloworld方法呢
qiuqiupeng 2007-12-12
  • 打赏
  • 举报
回复
http://cmail.139.com:8000/HLJAdcService.asmx?WSDL
端口配置文件不是出来了么


<wsdl:definitions targetNamespace="http://cmail.139.com:8000">
<wsdl:types/>

<wsdl:message name="corpBindingSoapIn">
<wsdl:part name="CorpBindReq" type="s:string"/>
</wsdl:message>

<wsdl:message name="corpBindingSoapOut">
<wsdl:part name="corpBindingResult" type="s:string"/>
</wsdl:message>

<wsdl:message name="deptBindingSoapIn">
<wsdl:part name="DeptBindReq" type="s:string"/>
</wsdl:message>

<wsdl:message name="deptBindingSoapOut">
<wsdl:part name="deptBindingResult" type="s:string"/>
</wsdl:message>

<wsdl:message name="staffBindingSoapIn">
<wsdl:part name="StaffBindReq" type="s:string"/>
</wsdl:message>

<wsdl:message name="staffBindingSoapOut">
<wsdl:part name="staffBindingResult" type="s:string"/>
</wsdl:message>

<wsdl:portType name="APServiceSoap">

<wsdl:operation name="corpBinding">
<wsdl:input message="tns:corpBindingSoapIn"/>
<wsdl:output message="tns:corpBindingSoapOut"/>
</wsdl:operation>

<wsdl:operation name="deptBinding">
<wsdl:input message="tns:deptBindingSoapIn"/>
<wsdl:output message="tns:deptBindingSoapOut"/>
</wsdl:operation>

<wsdl:operation name="staffBinding">
<wsdl:input message="tns:staffBindingSoapIn"/>
<wsdl:output message="tns:staffBindingSoapOut"/>
</wsdl:operation>
</wsdl:portType>

<wsdl:binding name="APServiceSoap" type="tns:APServiceSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>

<wsdl:operation name="corpBinding">
<soap:operation soapAction="http://cmail.139.com:8000/corpBinding" style="rpc"/>

<wsdl:input>
<soap:body use="encoded" namespace="http://eaaapi.eaa.eidc.huawei.com" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</wsdl:input>

<wsdl:output>
<soap:body use="encoded" namespace="http://eaaapi.eaa.eidc.huawei.com" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="deptBinding">
<soap:operation soapAction="http://cmail.139.com:8000/deptBinding" style="rpc"/>

<wsdl:input>
<soap:body use="encoded" namespace="http://eaaapi.eaa.eidc.huawei.com" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</wsdl:input>

<wsdl:output>
<soap:body use="encoded" namespace="http://eaaapi.eaa.eidc.huawei.com" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="staffBinding">
<soap:operation soapAction="http://cmail.139.com:8000/staffBinding" style="rpc"/>

<wsdl:input>
<soap:body use="encoded" namespace="http://eaaapi.eaa.eidc.huawei.com" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</wsdl:input>

<wsdl:output>
<soap:body use="encoded" namespace="http://eaaapi.eaa.eidc.huawei.com" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>

<wsdl:binding name="APServiceSoap12" type="tns:APServiceSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>

<wsdl:operation name="corpBinding">
<soap12:operation soapAction="http://cmail.139.com:8000/corpBinding" style="rpc"/>

<wsdl:input>
<soap12:body use="encoded" namespace="http://eaaapi.eaa.eidc.huawei.com" encodingStyle="http://www.w3.org/2003/05/soap-encoding"/>
</wsdl:input>

<wsdl:output>
<soap12:body use="encoded" namespace="http://eaaapi.eaa.eidc.huawei.com" encodingStyle="http://www.w3.org/2003/05/soap-encoding"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="deptBinding">
<soap12:operation soapAction="http://cmail.139.com:8000/deptBinding" style="rpc"/>

<wsdl:input>
<soap12:body use="encoded" namespace="http://eaaapi.eaa.eidc.huawei.com" encodingStyle="http://www.w3.org/2003/05/soap-encoding"/>
</wsdl:input>

<wsdl:output>
<soap12:body use="encoded" namespace="http://eaaapi.eaa.eidc.huawei.com" encodingStyle="http://www.w3.org/2003/05/soap-encoding"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="staffBinding">
<soap12:operation soapAction="http://cmail.139.com:8000/staffBinding" style="rpc"/>

<wsdl:input>
<soap12:body use="encoded" namespace="http://eaaapi.eaa.eidc.huawei.com" encodingStyle="http://www.w3.org/2003/05/soap-encoding"/>
</wsdl:input>

<wsdl:output>
<soap12:body use="encoded" namespace="http://eaaapi.eaa.eidc.huawei.com" encodingStyle="http://www.w3.org/2003/05/soap-encoding"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>

<wsdl:service name="APService">

<wsdl:port name="APServiceSoap" binding="tns:APServiceSoap">
<soap:address location="http://cmail.139.com:8000/HLJAdcService.asmx"/>
</wsdl:port>

<wsdl:port name="APServiceSoap12" binding="tns:APServiceSoap12">
<soap12:address location="http://cmail.139.com:8000/HLJAdcService.asmx"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
ml_dark 2007-12-12
  • 打赏
  • 举报
回复
我靠,wsdl都没有
fengyifei11228 2007-12-11
  • 打赏
  • 举报
回复
你的方法是在什么类中,参数是什么,有什么返回值,以及返回值类型
hansx1981 2007-12-11
  • 打赏
  • 举报
回复
对java不是很熟,.net的webservice都有soap说明,自己组合soap然后用xmlhttp发送即可

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧