Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Help on Webservices

Highlighted
Wang guowen
Super Collector

Help on Webservices

hi all.
My webservice is able to work in my development environment but was unable to work in my UAT environment.
The error i got was as follow.

2010-09-09 14:54:44,965 DEBUG [main] DEBUG (Wire.java:69) DEBUG ->> "2010-09-09T06:54:41.944Z2010-09-09T06:59:41.944ZLYB27/NJpXZyr9YZjN0XMIaugRoMlCG31fhJha0hCSMbeL697T87e/tdPZ0k+dXJTIKoahoMR9fm[\n]"
2010-09-09 14:54:44,965 DEBUG [main] DEBUG (Wire.java:69) DEBUG ->> "okTmf1QesWsx/eevKM2hSMMyZ1vKT0hHfOKA8Bs24rB4dBxou8VKbQbBldr/CKixpRR6/7AFs5mO[\n]"
2010-09-09 14:54:44,965 DEBUG [main] DEBUG (Wire.java:69) DEBUG ->> "djdHQUq7AsKXaWpQSzLC2tH2yQqNdutlRM5uJ6kbuK7lbc18XxkrvuCuvxRB1ZY2F4rK4P8I/Nph[\n]"
2010-09-09 14:54:44,965 DEBUG [main] DEBUG (Wire.java:69) DEBUG ->> "u3LzOlUhYjbwvTYc53bPL+Y342t9JucNaW7/GWdIJlJmRHkTPPHt+xjww25B5ei521o/Hw8rZeiA[\n]"
2010-09-09 14:54:44,965 DEBUG [main] DEBUG (Wire.java:69) DEBUG ->> "7RzrpAwZiSCX5N7v4BDg/HHYmJI99pszg6sWQv5iwYRYo4B+fEJGBO7Je5S8qbAJiPYot0lVsfEV[\n]"
2010-09-09 14:54:44,966 DEBUG [main] DEBUG (Wire.java:69) DEBUG ->> "k3uXUx0mdg8mk1NPe4mKPCvrM0M3VxC4AMO0wpS8mYBt+VXDUk8auxlm0xHrzgHhGjEgnjBIWunU[\n]"
2010-09-09 14:54:44,966 DEBUG [main] DEBUG (Wire.java:69) DEBUG ->> "EtsTCvWYlab1XEnxPcuwbn3DXvDJy40A3zw1qZ6VRZapVdbNBxeL7QE5S2EArVwf2UDzgDn32eUi[\n]"
2010-09-09 14:54:44,966 DEBUG [main] DEBUG (Wire.java:69) DEBUG ->> "H7dWIbmwSjK+yyiGOHUDraF1ueTzYL3phVFRXf1aBTzrFHLw12nPWweKlCOBNHdAr+Rb84CjLz/4[\n]"
2010-09-09 14:54:44,966 DEBUG [main] DEBUG (Wire.java:69) DEBUG ->> "WYvf/R6AyllbOZLFHlWAGtWCaRtkWgW4cVGUG7St5gaMuhFrN1r0yZr+HOC3MgH8CP/QLQtu0V3N[\n]"
2010-09-09 14:54:44,966 DEBUG [main] DEBUG (Wire.java:69) DEBUG ->> "8MdlpnoT7FV1S71wM2d32FdmbuuQyLBdR5LR2DStWxXipykpngogAE06TClIRwRQ7tWKafgSqxpV[\n]"
2010-09-09 14:54:44,966 DEBUG [main] DEBUG (Wire.java:83) DEBUG ->> "42yAGypjREQUEST30740REQD.DBS_DEPRE_FSDepreciationSingapore"
2010-09-09 14:54:44,967 DEBUG [main] DEBUG (EntityEnclosingMethod.java:504) DEBUG -Request body sent
2010-09-09 14:54:44,967 DEBUG [main] DEBUG (Wire.java:69) DEBUG -<< "HTTP/1.1 100 Continue[\r][\n]"
2010-09-09 14:54:44,967 INFO [main] INFO (HttpMethodBase.java:1598) INFO -Discarding unexpected response: HTTP/1.1 100 Continue
2010-09-09 14:54:45,046 DEBUG [main] DEBUG (Wire.java:69) DEBUG -<< "HTTP/1.1 500 Internal Server Error[\r][\n]"
2010-09-09 14:54:45,046 DEBUG [main] DEBUG (Wire.java:69) DEBUG -<< "Server: Apache-Coyote/1.1[\r][\n]"
2010-09-09 14:54:45,047 DEBUG [main] DEBUG (Wire.java:69) DEBUG -<< "X-Powered-By: Servlet 2.4; JBoss-4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)/Tomcat-5.5[\r][\n]"
2010-09-09 14:54:45,047 DEBUG [main] DEBUG (Wire.java:69) DEBUG -<< "Set-Cookie: JSESSIONID=FE79CBD88E966366D5DC5595C3B071F5.DBS; Path=/itg[\r][\n]"
2010-09-09 14:54:45,047 DEBUG [main] DEBUG (Wire.java:69) DEBUG -<< "Content-Type: text/xml;charset=UTF-8[\r][\n]"
2010-09-09 14:54:45,047 DEBUG [main] DEBUG (Wire.java:69) DEBUG -<< "Transfer-Encoding: chunked[\r][\n]"
2010-09-09 14:54:45,047 DEBUG [main] DEBUG (Wire.java:69) DEBUG -<< "Date: Thu, 09 Sep 2010 06:54:45 GMT[\r][\n]"
2010-09-09 14:54:45,047 DEBUG [main] DEBUG (Wire.java:69) DEBUG -<< "Connection: close[\r][\n]"
2010-09-09 14:54:45,048 DEBUG [main] DEBUG (HttpMethodBase.java:1506) DEBUG -Cookie accepted: "$Version=0; JSESSIONID=FE79CBD88E966366D5DC5595C3B071F5.DBS; $Path=/itg"
2010-09-09 14:54:45,048 DEBUG [main] DEBUG (Wire.java:83) DEBUG -<< "4"
2010-09-09 14:54:45,048 DEBUG [main] DEBUG (Wire.java:83) DEBUG -<< "0"
2010-09-09 14:54:45,048 DEBUG [main] DEBUG (Wire.java:83) DEBUG -<< "1"
2010-09-09 14:54:45,049 DEBUG [main] DEBUG (Wire.java:83) DEBUG -<< "[\r]"
2010-09-09 14:54:45,049 DEBUG [main] DEBUG (Wire.java:69) DEBUG -<< "[\n]"
2010-09-09 14:54:45,049 DEBUG [main] DEBUG (Wire.java:69) DEBUG -<< "INTERNAL ERRORInternal error has occurred while calling PPM Web Service. Please contact PPM support with the detail information if the problem persists. (KNTA-11186) Details: java.lang.ClassCastException: java.util.Date cannot be cast to java.lang.String[\n]"
2010-09-09 14:54:45,049 DEBUG [main] DEBUG (Wire.java:69) DEBUG -<< "[\n]"
2010-09-09 14:54:45,049 DEBUG [main] DEBUG (Wire.java:69) DEBUG -<< "Exception Correlation: GUID=A48A2AD4-B3AC-BCD3-6278-817618B28366[\n]"
2010-09-09 14:54:45,049 DEBUG [main] DEBUG (Wire.java:69) DEBUG -<< "Generated Time=2010/09/09-14:54:45.045 SGT[\n]"
2010-09-09 14:54:45,049 DEBUG [main] DEBUG (Wire.java:69) DEBUG -<< "Server Node Name: DBSjava.lang.ClassCastException: java.util.Date cannot be cast to java.lang.String[\n]"
2010-09-09 14:54:45,050 DEBUG [main] DEBUG (Wire.java:69) DEBUG -<< "[\n]"
2010-09-09 14:54:45,050 DEBUG [main] DEBUG (Wire.java:69) DEBUG -<< "Exception Correlation: GUID=A48A2AD4-B3AC-BCD3-6278-817618B28366[\n]"
2010-09-09 14:54:45,050 DEBUG [main] DEBUG (Wire.java:69) DEBUG -<< "Generated Time=2010/09/09-14:54:45.045 SGT[\n]"
2010-09-09 14:54:45,050 DEBUG [main] DEBUG (Wire.java:83) DEBUG -<< "Server Node Name: DBS"
2010-09-09 14:54:45,050 DEBUG [main] DEBUG (StAXUtils.java:117) DEBUG -XMLStreamReader is com.ctc.wstx.sr.ValidatingStreamReader
2010-09-09 14:54:45,050 DEBUG [main] DEBUG (StAXOMBuilder.java:118) DEBUG -START_ELEMENT: {http://schemas.xmlsoap.org/soap/envelope/}Envelope:Envelope
2010-09-09 14:54:45,050 DEBUG [main] DEBUG (StAXSOAPModelBuilder.java:229) DEBUG -Starting to process SOAP 1.1 message
2010-09-09 14:54:45,051 DEBUG [main] DEBUG (StAXSOAPModelBuilder.java:190) DEBUG -Build the OMElelment EnvelopeBy the StaxSOAPModelBuilder
2010-09-09 14:54:45,051 DEBUG [main] DEBUG (StAXOMBuilder.java:118) DEBUG -START_ELEMENT: {http://schemas.xmlsoap.org/soap/envelope/}Header:Header
2010-09-09 14:54:45,051 DEBUG [main] DEBUG (StAXSOAPModelBuilder.java:190) DEBUG -Build the OMElelment HeaderBy the StaxSOAPModelBuilder
2010-09-09 14:54:45,051 DEBUG [main] DEBUG (StAXOMBuilder.java:146) DEBUG -END_ELEMENT: {http://schemas.xmlsoap.org/soap/envelope/}Header:Header
2010-09-09 14:54:45,051 DEBUG [main] DEBUG (StAXOMBuilder.java:118) DEBUG -START_ELEMENT: {http://schemas.xmlsoap.org/soap/envelope/}Body:Body
2010-09-09 14:54:45,051 DEBUG [main] DEBUG (StAXSOAPModelBuilder.java:190) DEBUG -Build the OMElelment BodyBy the StaxSOAPModelBuilder
2010-09-09 14:54:45,051 DEBUG [main] DEBUG (StAXOMBuilder.java:118) DEBUG -START_ELEMENT: {http://schemas.xmlsoap.org/soap/envelope/}Fault:Fault
2010-09-09 14:54:45,054 DEBUG [main] DEBUG (StAXSOAPModelBuilder.java:190) DEBUG -Build the OMElelment FaultBy the StaxSOAPModelBuilder
2010-09-09 14:54:45,054 DEBUG [main] DEBUG (ProjectResourceBundle.java:67) DEBUG -org.apache.axis2.i18n.resource::handleGetObject(receivederrormessage)
2010-09-09 14:54:45,054 DEBUG [main] DEBUG (AxisEngine.java:590) DEBUG -Received Error Message with id urn:uuid:6293613B8FD622AC5D1284015281934
2010-09-09 14:54:45,054 DEBUG [main] DEBUG (Phase.java:361) DEBUG -Checking pre-condition for Phase "PreDispatch"
2010-09-09 14:54:45,054 DEBUG [main] DEBUG (Phase.java:373) DEBUG -Invoking phase "PreDispatch"
2010-09-09 14:54:45,054 DEBUG [main] DEBUG (Phase.java:394) DEBUG -Checking post-conditions for phase "PreDispatch"
2010-09-09 14:54:45,055 DEBUG [main] DEBUG (Phase.java:361) DEBUG -Checking pre-condition for Phase "Dispatch"
2010-09-09 14:54:45,055 DEBUG [main] DEBUG (Phase.java:373) DEBUG -Invoking phase "Dispatch"
2010-09-09 14:54:45,055 DEBUG [main] DEBUG (Phase.java:380) DEBUG -Invoking Handler 'RequestURIBasedDispatcher' in Phase 'Dispatch'
2010-09-09 14:54:45,055 DEBUG [main] DEBUG (Phase.java:380) DEBUG -Invoking Handler 'SOAPActionBasedDispatcher' in Phase 'Dispatch'
2010-09-09 14:54:45,055 DEBUG [main] DEBUG (Phase.java:380) DEBUG -Invoking Handler 'AddressingBasedDispatcher' in Phase 'Dispatch'
2010-09-09 14:54:45,055 DEBUG [main] DEBUG (Phase.java:380) DEBUG -Invoking Handler 'SOAPMessageBodyBasedDispatcher' in Phase 'Dispatch'
2010-09-09 14:54:45,055 DEBUG [main] DEBUG (Phase.java:380) DEBUG -Invoking Handler 'InstanceDispatcher' in Phase 'Dispatch'
2010-09-09 14:54:45,055 DEBUG [main] DEBUG (Phase.java:394) DEBUG -Checking post-conditions for phase "Dispatch"
2010-09-09 14:54:45,055 DEBUG [main] DEBUG (Phase.java:361) DEBUG -Checking pre-condition for Phase "OperationInPhase"
2010-09-09 14:54:45,056 DEBUG [main] DEBUG (Phase.java:373) DEBUG -Invoking phase "OperationInPhase"
2010-09-09 14:54:45,056 DEBUG [main] DEBUG (Phase.java:394) DEBUG -Checking post-conditions for phase "OperationInPhase"
2010-09-09 14:54:45,056 DEBUG [main] DEBUG (StAXOMBuilder.java:118) DEBUG -START_ELEMENT: faultcode:faultcode
2010-09-09 14:54:45,059 DEBUG [main] DEBUG (StAXSOAPModelBuilder.java:190) DEBUG -Build the OMElelment CodeBy the StaxSOAPModelBuilder
2010-09-09 14:54:45,059 DEBUG [main] DEBUG (StAXOMBuilder.java:118) DEBUG -START_ELEMENT: faultstring:faultstring
2010-09-09 14:54:45,061 DEBUG [main] DEBUG (StAXSOAPModelBuilder.java:190) DEBUG -Build the OMElelment ReasonBy the StaxSOAPModelBuilder
2010-09-09 14:54:45,061 DEBUG [main] DEBUG (StAXOMBuilder.java:118) DEBUG -START_ELEMENT: detail:detail
2010-09-09 14:54:45,062 DEBUG [main] DEBUG (StAXSOAPModelBuilder.java:190) DEBUG -Build the OMElelment DetailBy the StaxSOAPModelBuilder
2010-09-09 14:54:45,063 DEBUG [main] DEBUG (StAXOMBuilder.java:118) DEBUG -START_ELEMENT: {http://www.mercury.com/ppm/ws/exception}exceptionDetails:exceptionDetails
2010-09-09 14:54:45,063 DEBUG [main] DEBUG (StAXSOAPModelBuilder.java:190) DEBUG -Build the OMElelment exceptionDetailsBy the StaxSOAPModelBuilder
2010-09-09 14:54:45,063 DEBUG [main] DEBUG (StAXOMBuilder.java:118) DEBUG -START_ELEMENT: {http://www.mercury.com/ppm/ws/exception}detail:detail
2010-09-09 14:54:45,063 DEBUG [main] DEBUG (StAXSOAPModelBuilder.java:190) DEBUG -Build the OMElelment detailBy the StaxSOAPModelBuilder
2010-09-09 14:54:45,063 DEBUG [main] DEBUG (StAXOMBuilder.java:134) DEBUG -CHARACTERS: [java.lang.ClassCastException: java.util.Date cannot be cast to java.lang.String




It was previously working well... not sure what happened...please help urgent
2 REPLIES
Wang guowen
Super Collector

Re: Help on Webservices

After i put more debug statement,
I got the following error

org.apache.axis2.AxisFault: Cannot find a financial entity associated with the REQUEST identified by 30740; ensure that it exists.
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:271)
at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202)
at com.mercury.itg.ws.fm.client.FinanceServiceStub.readFinancialData(FinanceServiceStub.java:2404)
at com.crownsys.dbs.depreciation.DepreciationLoader.readFinancialData(DepreciationLoader.java:487)
at com.crownsys.dbs.depreciation.DepreciationLoader.doRun(DepreciationLoader.java:140)
at com.crownsys.dbs.depreciation.DepreciationLoader.main(DepreciationLoader.java:122)


However, my project have a financial summary , not sure how the webservice get the error
ashu_21
Super Collector

Re: Help on Webservices

hi can i get the FM code.what are you doing with FM code may i know ??

//Add this to "OnDomLoad" event