Home > Back-end >  Axis call begin with HTTPS web service interface, an Internal Error
Axis call begin with HTTPS web service interface, an Internal Error

Time:01-30

Error message is as follows:
Org, apache axis2. AxisFault: Internal Error
At org, apache axis2. Util. Utils. GetInboundFaultFromMessageContext (Utils. Java: 531)
At org, apache axis2. Description. OutInAxisOperationClient. HandleResponse (OutInAxisOperation. Java: 375)
At org, apache axis2. Description. OutInAxisOperationClient. Send (421) OutInAxisOperation. Java:
At org, apache axis2. Description. OutInAxisOperationClient. ExecuteImpl (OutInAxisOperation. Java: 229)
At org, apache axis2. Client. Operation client. The execute (165). Operation client Java:
At org, apache axis2. Client. ServiceClient. SendReceive (ServiceClient. Java: 555)
At org, apache axis2. Client. ServiceClient. SendReceive (ServiceClient. Java: 531)
At com.baosight.bsbi.bs.rq.com, mon. TestJob4. Main (TestJob4. Java: 40)
The code is as follows:
The EndpointReference targetEPR=new the EndpointReference (url);
Options. SetTo (targetEPR);
//options. SetAction (" urn: getPrice ");
ServiceClient sender=new ServiceClient ();
Sender. SetOptions (options);
OMFactory fac=OMAbstractFactory. GetOMFactory ();
String TNS="";
//namespace
OMNamespace omNs=fac. CreateOMNamespace (TNS, "");
OMElement method=fac. CreateOMElement (" biws_job_p01 ", omNs);
OMElement jobid=fac. CreateOMElement (job_id, omNs);
OMElement log_id=fac. CreateOMElement (" log_id, omNs);
Jobid. AddChild (fac) createOMText (jobid, "TEST1"));
Log_id. AddChild (fac) createOMText (log_id, "TEST1"));
Method. The addChild (jobid);
Method. The addChild (log_id);
Method. The build ();
OMElement result=sender. SendReceive (method);
How can I solve

CodePudding user response:

Suggestions for interrupting point debugging, judge the abnormal position error
  • Related