Recently in making a payment interface.
Because the interface side uses WebService interaction.
I can only learn the next webservice.
Now there's a very strange question.
When I asked for their URL, I returned to my control name error.
Message part refundrequest is not recognized. (Does it exist in service WSDL?)
Ask the great God what's going on
On the Code
My side is using axis.
Requesturl is the request address.
Sb.tostring is the message I sent past.
Service service= (Service) new service ();
Call Call Service.createcall ();
Call.settargetendpointaddress (Requesturl);
Call.setoperationname ("Refundrequest");
String repose= (String) Call.invoke (new object[] {sb.tostring ()});
Because now return to I can't find the operation name.
So I don't know if I wrote this wrong or the client side has a problem?
The following error message
Axisfault
FaultCode: {http://schemas.xmlsoap.org/soap/envelope/}client
Faultsubcode:
Faultstring:message part refundrequest is not recognized. (Does it exist in service WSDL?)
Faultactor:
Faultnode:
Faultdetail:
{Http://xml.apache.org/axis/}stacktrace:message Part refundrequest is not recognized. (Does it exist in service WSDL?)
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 Javax.xml.parsers.SAXParser.parse (saxparser.java:392)
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.rongyifu.mms.refund.bank.SftRefund.executeRefund (sftrefund.java:99)
At Com.rongyifu.mms.refund.RefundProccessor.proccess (refundproccessor.java:24)
At Com.rongyifu.mms.dao.RefundDao.OnlinerefundHandle (refunddao.java:276)
At Com.rongyifu.mms.service.RefundmentService.OnlineRefund (refundmentservice.java:304)
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:57)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:43)
At Java.lang.reflect.Method.invoke (method.java:606)
At Org.directwebremoting.impl.ExecuteAjaxFilter.doFilter (executeajaxfilter.java:34)
At Org.directwebremoting.impl.defaultremoter$1.dofilter (defaultremoter.java:472)
At Org.directwebremoting.impl.DefaultRemoter.execute (defaultremoter.java:475)
At Org.directwebremoting.impl.DefaultRemoter.execute (defaultremoter.java:323)
At Com.rongyifu.mms.filter.MyDWRRemoter.execute (mydwrremoter.java:32)
At Org.directwebremoting.servlet.PlainCallHandler.handle (plaincallhandler.java:52)
At Org.directwebremoting.servlet.UrlProcessor.handle (urlprocessor.java:101)
At Org.directwebremoting.servlet.DwrServlet.doPost (dwrservlet.java:144)
At Javax.servlet.http.HttpServlet.service (httpservlet.java:637)
At Javax.servlet.http.HttpServlet.service (httpservlet.java:717)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:290)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:206)
At Org.apache.catalina.core.StandardWrapperValve.invoke (standardwrappervalve.java:233)
At Org.apache.catalina.core.StandardContextValve.invoke (standardcontextvalve.java:191)
At Org.apache.catalina.core.StandardHostValve.invoke (standardhostvalve.java:127)
At Org.apache.catalina.valves.ErrorReportValve.invoke (errorreportvalve.java:102)
At Org.apache.catalina.core.StandardEngineValve.invoke (standardenginevalve.java:109)
At Org.apache.catalina.connector.CoyoteAdapter.service (coyoteadapter.java:293)
At Org.apache.coyote.http11.Http11Processor.process (http11processor.java:859)
At Org.apache.coyote.http11.http11protocol$http11connectionhandler.process (http11protocol.java:602)
At Org.apache.tomcat.util.net.jioendpoint$worker.run (jioendpoint.java:489)
At Java.lang.Thread.run (thread.java:744)
Cause: The WebService service does not exist or the method name is incorrect, check the check. You can also test it with soap .
WebService error message part refundrequest is not recognized. (Does it exist in service WSDL?)