Expand my Community achievements bar.

LCDS web service call throwing error for valid XSD URL

Avatar

Former Community Member

Hi,

I am trying to call a web service which is deployed on a J2EE application[ Project name : WebServiceApplication ] through a different LCDS application [ Project name : lcdsTestWebService] But while loading of mxml following error comming into console.

Can any one explain that why Flex application is looking for DocTypeTestService_schema1.xsd  into lcdsTestWebService application when this xsd is

present in WebServiceApplication project.

One intresting point which i found that if i place this xsd into root of lcdsTestWebService application so that it is accessable through

url = "http://localhost:9080/lcdsTestWebService/DocTypeTestService_schema1.xsd" than there is no issue and web service call sucessfully

happen.

----------------------------------------------------------------------------------------------------------------------------------------------------

[2/14/11 16:23:18:208 IST] 0000002c SystemOut     O [LCDS]Deserializing AMFX/HTTP request
Version: 3
  (Message #0 targetURI=null, responseURI=null)
    (Typed Object #0 'flex.messaging.messages.HTTPMessage')
(Object #1)
        body =       clientId = "A568DF0F-A60A-1473-CDAB-707E4A185812"
      contentType = "application/x-www-form-urlencoded"
      destination = "testWebservice"
(Object #2)
        DSEndpoint = "my-http"
        DSId = "A568DE2A-2809-A1FE-0934-D3ECBC19337C"
        headers =       httpHeaders = null
      messageId = "9F6F7661-8FA1-30CA-3F04-23CD91C1AF90"
      method = "GET"
      recordHeaders = true
      timestamp = 0
      timeToLive = 0
      url = "http://localhost:9080/lcdsTestWebService/DocTypeTestService_schema1.xsd"

[2/14/11 16:23:19:591 IST] 0000002c SystemOut     O [LCDS]-- GET : http://localhost:9080/lcdsTestWebService/DocTypeTestService_schema1.xsd
[2/14/11 16:23:19:591 IST] 0000002c SystemOut     O [LCDS]-- Cookie in request: domain = 'localhost', path = '/', client name = 'JSESSIONID', endpoint name = 'JSESSIONID', value = '0000Ii8aRUEKjvhE38Bd_dyW3jw:-1
[2/14/11 16:23:19:591 IST] 0000002c SystemOut     O [LCDS]-- Header in request: Accept : */*
[2/14/11 16:23:19:591 IST] 0000002c SystemOut     O [LCDS]-- Header in request: Accept-Language : en-US
[2/14/11 16:23:19:591 IST] 0000002c SystemOut     O [LCDS]-- Header in request: Referer : http://localhost:9080/lcdsTestWebService/SampleWebService.swf/[[DYNAMIC]]/6
[2/14/11 16:23:19:591 IST] 0000002c SystemOut     O [LCDS]-- Header in request: x-flash-version : 10,1,102,64
[2/14/11 16:23:19:591 IST] 0000002c SystemOut     O [LCDS]-- Header in request: Content-Type : application/xml
[2/14/11 16:23:19:591 IST] 0000002c SystemOut     O [LCDS]-- Header in request: User-Agent : Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 3.5.30729; InfoPath.2; .NET CLR 1.1.4322; MS-RTC LM 8; SLCC1; MS-RTC S; USPortal)
[2/14/11 16:23:19:591 IST] 0000002c SystemOut     O [LCDS]-- Header in request: Cache-Control : no-cache
[2/14/11 16:23:19:591 IST] 0000002c SystemOut     O [LCDS]-- Begin GET request --
[2/14/11 16:23:19:591 IST] 0000002c SystemOut     O [LCDS]
[2/14/11 16:23:19:591 IST] 0000002c SystemOut     O [LCDS]-- End GET request --
[2/14/11 16:23:20:191 IST] 0000002d FfdcProvider  I com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\IBM\WebSphere\Appserver\profiles\AppSrv04\logs\ffdc\server1_1aaf1aaf_11.02.14_16.23.19.98114899428566798599.txt com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest 573
[2/14/11 16:23:20:391 IST] 0000002c SystemOut     O [LCDS]Serializing AMFX/HTTP response
Version: 3
  (Message #0 targetURI=/onStatus, responseURI=)
    (Typed Object #0 'flex.messaging.messages.ErrorMessage')
      body = null
      messageId = "A568F5E1-EF0D-DCBC-6AB1-912C2FEAACB2"
      extendedData = null
      clientId = "A568DF0F-A60A-1473-CDAB-707E4A185812"
      headers = (Object #1)
        DSStatusCode = 404
      rootCause = null
      destination = "testWebservice"
      faultCode = "Server.Proxy.Request.Failed"
      faultString = "HTTP/1.1 404 Not Found"
      faultDetail = "HTTP/1.1 404 Not Found"
      timeToLive = 0.0
      timestamp = 1.297680800351E12
      correlationId = "9F6F7661-8FA1-30CA-3F04-23CD91C1AF90"

-------------------------------------------------------------------------------------------------------------------------------------------

0 Replies