No such operation 'RequestMsg'

No such operation 'RequestMsg'
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.zznode.iptvs.intf.webservice.iptvToButler.svc.SpeedSearchSOAPBindingStub.speedSearch(SpeedSearchSOAPBindingStub.java:106)
at com.zznode.iptvs.intf.webservice.iptvToButler.service.impl.HLJSouthButlerServiceImpl.querySpeedSearch(HLJSouthButlerServiceImpl.java:65)
at com.zznode.iptvs.intf.webservice.iptvToButler.svc.Test.main(Test.java:17)
com.zznode.iptvs.core.exception.ZznodeBusinessException: ConnectionRefused
at com.zznode.iptvs.intf.webservice.util.IntfUtil.printErrLogger(IntfUtil.java:140)
at com.zznode.iptvs.intf.webservice.iptvToButler.service.impl.HLJSouthButlerServiceImpl.querySpeedSearch(HLJSouthButlerServiceImpl.java:88)
at com.zznode.iptvs.intf.webservice.iptvToButler.svc.Test.main(Test.java:17)
Caused by: No such operation 'RequestMsg'
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.zznode.iptvs.intf.webservice.iptvToButler.svc.SpeedSearchSOAPBindingStub.speedSearch(SpeedSearchSOAPBindingStub.java:106)
at com.zznode.iptvs.intf.webservice.iptvToButler.service.impl.HLJSouthButlerServiceImpl.querySpeedSearch(HLJSouthButlerServiceImpl.java:65)
... 1 more

以上是我遇到的错误,两三天了,也没能解决  求大神帮帮忙,还需要什么,跟我说,我提供。只要能解决问题就好,一把辛酸泪,新人求助

 <service name="SpeedSearchSOAP" provider="java:RPC" style="document" use="literal">
  <parameter name="wsdlTargetNamespace" value="http://iptvToButler.intf.iptvs.zznode.com"/>
  <parameter name="wsdlServiceElement" value="SpeedSearch"/>
  <parameter name="schemaUnqualified" value="http://iptvToButler.intf.iptvs.zznode.com"/>
  <parameter name="wsdlServicePort" value="SpeedSearchSOAP"/>
  <parameter name="className" value="com.zznode.iptvs.intf.webservice.iptvToButler.svc.SpeedSearchSOAPBindingImpl"/>
  <parameter name="wsdlPortType" value="SpeedSearch"/>
  <parameter name="typeMappingVersion" value="1.2"/>
  <operation name="speedSearch" qname="SpeedSearch" returnQName="retNS:ResponseMsg" xmlns:retNS="http://svc.iptvToButler.intf.iptvs.zznode.com" returnType="rtns:string" xmlns:rtns="http://www.w3.org/2001/XMLSchema" soapAction="http://www.chinatelecom.com/services/speed/SpeedSearch" >
    <parameter qname="pns:RequestMsg" xmlns:pns="http://svc.iptvToButler.intf.iptvs.zznode.com" type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
  </operation>
  <parameter name="allowedMethods" value="speedSearch"/>
 </service>

public java.lang.String speedSearch(java.lang.String requestMsg) throws java.rmi.RemoteException {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
org.apache.axis.client.Call _call = createCall();
_call.setOperation(_operations[0]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("http://www.chinatelecom.com/services/speed/SpeedSearch");
_call.setEncodingStyle(null);
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("", "SpeedSearch"));

    setRequestHeaders(_call);
    setAttachments(_call);

try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {requestMsg});

    if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException)_resp;
    }
    else {
        extractAttachments(_call);
        try {
            return (java.lang.String) _resp;
        } catch (java.lang.Exception _exception) {
            return (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String.class);
        }
    }

} catch (org.apache.axis.AxisFault axisFaultException) {
throw axisFaultException;
}
}

}

这是我requestMSG的东西

3个回答













    这个是我的service里配置的RequestMsg
liuhan4890
liuhan4890 你等等哈
大约 4 年之前 回复

clear out these 2 locations on the machine and try
again:

 

    C:\Users\AppData\Roaming\Microsoft\SharePoint
Designer
    C:\Users\AppData\Local\Microsoft\WebsiteCache......
答案就在这里:SharePoint Designer Can not perform this operation.The file is no longer checked out or has been del
----------------------你好,人类,我是来自CSDN星球的问答机器人小C,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐