Details
-
Type:
Bug
-
Status:
Open Bug (View Workflow)
-
Priority:
Normal
-
Resolution: Unresolved
-
Component/s: FN
-
Labels:None Labels
-
Customer:OMAN-Tel
Description
While calling below API for creating P2P order getting an error on stagging platform(.80)
On further investigation it is observed that while calling internal FN service i.e checkNewActivationP2PFeasibility, NEP is parsing exchange A value as KWR1 instead of QUR2 due to which NEP is rejecting order.
Please support.
@integration please share latest FN logs of .80 server.
Secondly FN API exposed to CRM should throw proper error message instead of this generic roll back error.
<soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/ xmlns:ser=http://server.api.nep.mobinets.com/>
<soapenv:Header/>
<soapenv:Body>
<arborP2PLL_fCNA xmlns=http://server.api.nep.mobinets.com/>
<fAppType xmlns="">I</fAppType>
<fExc xmlns="">QUR2</fExc>
<fCabinet xmlns="">001</fCabinet>
<fDpoint xmlns="">0001</fDpoint>
<fDpoint2 xmlns=""></fDpoint2>
<fNoofPairs xmlns="">1</fNoofPairs>
<fTechnology xmlns="">MSAN</fTechnology>
<fExcB xmlns="">AKO2</fExcB>
<fCabinetB xmlns="">002</fCabinetB>
<fDpointB xmlns="">0002</fDpointB>
<fDpoint2B xmlns=""></fDpoint2B>
<fNoofPairsB xmlns=""></fNoofPairsB>
<fTechnologyB xmlns="">MSAN</fTechnologyB>
<fService xmlns="">P2P</fService>
<fSubno xmlns="">9995095</fSubno>
<fSubscr_Type xmlns="">L</fSubscr_Type>
<fWOID xmlns="">510930155</fWOID>
<fUsage_Type xmlns="">I</fUsage_Type>
<fOrder_Type xmlns="">INSD</fOrder_Type>
<fUserID xmlns="">m9714587</fUserID>
<fRemarks xmlns=""></fRemarks>
</arborP2PLL_fCNA>
</soapenv:Body>
</soapenv:Envelope>
<soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/>
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>org.springframework.transaction.UnexpectedRollbackException: Transaction silently rolled back because it has been marked as rollback-only</faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>
checkNewActivationP2PFeasibility:
Request:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header />
<SOAP-ENV:Body>
<ns3:checkNewActivationP2PFeasibility xmlns:ns3="http://server.api.nep.mobinets.com/">
<exchange>KWR1</exchange>
<cab>001</cab>
<dp>0001</dp>
<dp2 />
<nbOfPairs>1</nbOfPairs>
<exchangeB>AKO2</exchangeB>
<cabB>002</cabB>
<dpB>0002</dpB>
<dp2B />
<serviceTypeName>Digital data circuit with N/W</serviceTypeName>
<serviceTechnology>Copper</serviceTechnology>
<activeNeType>Multi Technology Access</activeNeType>
<activeNeCategory>MSAN</activeNeCategory>
<activeNeTypeB>Multi Technology Access</activeNeTypeB>
<activeNeCategoryB>MSAN</activeNeCategoryB>
</ns3:checkNewActivationP2PFeasibility>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Response:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns2:checkNewActivationP2PFeasibilityResponse xmlns:ns2="http://server.api.nep.mobinets.com/">
<return>
<responseCode>10016</responseCode>
<responseMessage>Cabinet1: 001 Not Found</responseMessage>
</return>
</ns2:checkNewActivationP2PFeasibilityResponse>
</soap:Body>
</soap:Envelope>
Cabinet 001 sent in the request is not found.