axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajith Ranabahu" <ajith.ranab...@gmail.com>
Subject Re: [Axis2] Flash Connectivity Problems
Date Tue, 27 Jun 2006 14:45:04 GMT
Hmmm...
Strange indeed. Could this be a problem with the Flash code ?(I'm zero
about Web services in Action script)

Ajith

On 6/27/06, Luke DeWitt <luke.dewitt@penguinfire.com> wrote:
> Hi,
>
> I have tried the URL in the browser, and it does come up with the XML File.
> The Web Service I am currently trying to use is the default one that comes
> with Axis2 when I first deployed it, the 'version?WSDL'. I am just trying
> this one because the webservice I will be using is not completed yet. I
> really can't understand why it works for webservices which can be found
> online, but not with ones I have running in Tomcat.
>
> Thanks,
> --LD
>
> ----- Original Message -----
> From: "Ajith Ranabahu" <ajith.ranabahu@gmail.com>
> To: <axis-user@ws.apache.org>
> Sent: Tuesday, June 27, 2006 11:36 AM
> Subject: Re: [Axis2] Flash Connectivity Problems
>
>
> > Hi,
> > From this log we do get the details of some communication between
> > Flash and Axis but not what was passed in between. With TCPMon you can
> > actually see what's being passed (if there is any)
> > But from the looks of it, I feel that the service may not be properly
> > deployed. Did you try the URL in the browser ? it should pop up the
> > WSDL file.
> >
> > Ajith
> >
> > On 6/27/06, Luke DeWitt <luke.dewitt@penguinfire.com> wrote:
> >> Hello again,
> >>
> >> I'm sorry, I may have missed something when I sent my last message, and I
> >> am
> >> hitting an error. I am very new to Axis so I am not sure what exactely I
> >> should be looking for in these logs.
> >>
> >> Here is a bit more information:
> >> In Flash I get the message - Error opening URL
> >> "http://localhost:8080/axis2/services/version?wsdl"
> >>
> >> In TDIMon I get:
> >>
> >> 669.74180154 Flash.exe:3080 85F8B1F8 IRP_MJ_CREATE TCP:0.0.0.0:0  SUCCESS
> >> Address Open
> >> 669.74186412 Flash.exe:3080 85F8B1F8 TDI_SET_EVENT_HANDLER
> >> TCP:0.0.0.0:1126
> >> SUCCESS Error Event
> >> 669.74187753 Flash.exe:3080 85F8B1F8 TDI_SET_EVENT_HANDLER
> >> TCP:0.0.0.0:1126
> >> SUCCESS Disconnect Event
> >> 669.74188926 Flash.exe:3080 85F8B1F8 TDI_SET_EVENT_HANDLER
> >> TCP:0.0.0.0:1126
> >> SUCCESS Receive Event
> >> 669.74190100 Flash.exe:3080 85F8B1F8 TDI_SET_EVENT_HANDLER
> >> TCP:0.0.0.0:1126
> >> SUCCESS Expedited Receive Event
> >> 669.74191189 Flash.exe:3080 85F8B1F8 TDI_SET_EVENT_HANDLER
> >> TCP:0.0.0.0:1126
> >> SUCCESS Chained Receive Event
> >> 669.74192307 Flash.exe:3080 85F8B1F8 TDI_QUERY_INFORMATION
> >> TCP:0.0.0.0:1126
> >> SUCCESS Query Address
> >> 669.74194514 Flash.exe:3080 85F8B1F8 TDI_QUERY_INFORMATION
> >> TCP:0.0.0.0:1126
> >> SUCCESS Query Address
> >> 669.74750338 Flash.exe:3080 85FCE4A8 IRP_MJ_CREATE TCP:Connection obj
> >> SUCCESS Context:0x854D6E50
> >> 669.74752489 Flash.exe:3080 85FCE4A8 TDI_ASSOCIATE_ADDRESS TCP:Connection
> >> obj  SUCCESS TCP:0.0.0.0:1126
> >> 669.74754249 Flash.exe:3080 85FCE4A8 TDI_CONNECT TCP:0.0.0.0:1126
> >> 127.0.0.1:8080 SUCCESS-3555
> >> 669.74759641 tomcat5.exe:3932 854CBF90 TDI_EVENT_CONNECT TCP:0.0.0.0:8080
> >> 127.0.0.1:1126 MORE_PROCESSING_REQUIRED
> >> 669.74760815 tomcat5.exe:3932 85309578 TDI_ACCEPT TCP:0.0.0.0:8080
> >> 127.0.0.1:1126 SUCCESS-3556
> >> 669.74770089 tomcat5.exe:3932 861E1E98 IRP_MJ_CREATE TCP:Connection obj
> >> SUCCESS Context:0x85FB95E0
> >> 669.74771738 tomcat5.exe:3932 861E1E98 TDI_ASSOCIATE_ADDRESS
> >> TCP:Connection
> >> obj  SUCCESS TCP:0.0.0.0:8080
> >> 669.74784505 tomcat5.exe:3932 85309578 IRP_MJ_DEVICE_CONTROL
> >> TCP:0.0.0.0:8080 127.0.0.1:1126 SUCCESS IOCTL_TCP_SET_INFORMATION_EX
> >> 669.74801350 Flash.exe:3080 85FCE4A8 IRP_MJ_DEVICE_CONTROL
> >> TCP:0.0.0.0:1126
> >> 127.0.0.1:8080 SUCCESS IOCTL_TCP_SET_INFORMATION_EX
> >> 669.74805429 Flash.exe:3080 85FCE4A8 TDI_SEND TCP:0.0.0.0:1126
> >> 127.0.0.1:8080 SUCCESS-3563 Length:208
> >> 669.74807580 tomcat5.exe:3932 854CBF90 TDI_EVENT_RECEIVE TCP:0.0.0.0:8080
> >> 127.0.0.1:1126 SUCCESS Length:208 Flags: ENTIRE_MESSAGE LOOKAHEAD
> >> DISPATCH
> >> 669.76955814 tomcat5.exe:3932 85309578 TDI_SEND TCP:0.0.0.0:8080
> >> 127.0.0.1:1126 SUCCESS-3568 Length:3271
> >> 669.76960591 Flash.exe:3080 85F8B1F8 TDI_EVENT_RECEIVE TCP:0.0.0.0:1126
> >> 127.0.0.1:8080 MORE_PROCESSING_REQUIRED Length:1460 Flags: LOOKAHEAD
> >> DISPATCH
> >> 669.76961765 Flash.exe:3080 85FCE4A8 TDI_RECEIVE TCP:0.0.0.0:1126
> >> 127.0.0.1:8080 SUCCESS
> >> 669.76970872 tomcat5.exe:3932 85309578 TDI_SEND TCP:0.0.0.0:8080
> >> 127.0.0.1:1126 SUCCESS-3571 Length:5
> >> 669.76972129 Flash.exe:3080 85F8B1F8 TDI_EVENT_RECEIVE TCP:0.0.0.0:1126
> >> 127.0.0.1:8080 SUCCESS Length:5 Flags: ENTIRE_MESSAGE LOOKAHEAD DISPATCH
> >> 669.87226393 Flash.exe:3080 85FCE4A8 TDI_SEND TCP:0.0.0.0:1126
> >> 127.0.0.1:8080 SUCCESS-3574 Length:570
> >> 669.87230779 tomcat5.exe:3932 854CBF90 TDI_EVENT_RECEIVE TCP:0.0.0.0:8080
> >> 127.0.0.1:1126 SUCCESS Length:570 Flags: ENTIRE_MESSAGE LOOKAHEAD
> >> DISPATCH
> >> 669.90076309 tomcat5.exe:3932 85309578 TDI_SEND TCP:0.0.0.0:8080
> >> 127.0.0.1:1126 SUCCESS-3577 Length:461
> >> 669.90081114 Flash.exe:3080 85F8B1F8 TDI_EVENT_RECEIVE TCP:0.0.0.0:1126
> >> 127.0.0.1:8080 SUCCESS Length:461 Flags: ENTIRE_MESSAGE LOOKAHEAD
> >> DISPATCH
> >> 669.90093350 tomcat5.exe:3932 85309578 TDI_SEND TCP:0.0.0.0:8080
> >> 127.0.0.1:1126 SUCCESS-3580 Length:92
> >> 669.90094775 Flash.exe:3080 85F8B1F8 TDI_EVENT_RECEIVE TCP:0.0.0.0:1126
> >> 127.0.0.1:8080 SUCCESS Length:92 Flags: ENTIRE_MESSAGE LOOKAHEAD DISPATCH
> >> 669.90126762 tomcat5.exe:3932 85309578 TDI_SEND TCP:0.0.0.0:8080
> >> 127.0.0.1:1126 SUCCESS-3585 Length:2297
> >> 669.90128466 Flash.exe:3080 85F8B1F8 TDI_EVENT_RECEIVE TCP:0.0.0.0:1126
> >> 127.0.0.1:8080 MORE_PROCESSING_REQUIRED Length:1460 Flags: LOOKAHEAD
> >> DISPATCH
> >> 669.90129500 Flash.exe:3080 85FCE4A8 TDI_RECEIVE TCP:0.0.0.0:1126
> >> 127.0.0.1:8080 SUCCESS
> >> 669.90137322 tomcat5.exe:3932 85309578 TDI_SEND TCP:0.0.0.0:8080
> >> 127.0.0.1:1126 SUCCESS-3588 Length:56
> >> 669.90138635 Flash.exe:3080 85F8B1F8 TDI_EVENT_RECEIVE TCP:0.0.0.0:1126
> >> 127.0.0.1:8080 SUCCESS Length:56 Flags: ENTIRE_MESSAGE LOOKAHEAD DISPATCH
> >> 669.90144530 tomcat5.exe:3932 85309578 TDI_SEND TCP:0.0.0.0:8080
> >> 127.0.0.1:1126 SUCCESS-3591 Length:5
> >> 669.90146401 Flash.exe:3080 85F8B1F8 TDI_EVENT_RECEIVE TCP:0.0.0.0:1126
> >> 127.0.0.1:8080 SUCCESS Length:5 Flags: ENTIRE_MESSAGE LOOKAHEAD DISPATCH
> >> 669.90160258 tomcat5.exe:3932 85309578 TDI_DISCONNECT TCP:0.0.0.0:8080
> >> 127.0.0.1:1126 SUCCESS-3594 RELEASE
> >> 669.90161850 Flash.exe:3080 85F8B1F8 TDI_EVENT_DISCONNECT
> >> TCP:0.0.0.0:1126
> >> 127.0.0.1:8080 SUCCESS RELEASE
> >> 669.91214470 Flash.exe:3080 85FCE4A8 TDI_DISCONNECT TCP:0.0.0.0:1126
> >> SUCCESS-3600 ABORT
> >> 669.91218213 tomcat5.exe:3932 854CBF90 TDI_EVENT_DISCONNECT
> >> TCP:0.0.0.0:8080
> >> SUCCESS ABORT
> >> 669.91222153 tomcat5.exe:3932 85309578 TDI_DISASSOCIATE_ADDRESS
> >> TCP:0.0.0.0:8080  SUCCESS
> >> 669.91223913 tomcat5.exe:3932 85309578 IRP_MJ_CLEANUP TCP:Connection obj
> >> SUCCESS
> >> 669.91225477 tomcat5.exe:3932 85309578 IRP_MJ_CLOSE TCP:Connection obj
> >> SUCCESS
> >> 669.91232014 Flash.exe:3080 85FCE4A8 TDI_DISASSOCIATE_ADDRESS
> >> TCP:0.0.0.0:1126  SUCCESS
> >> 669.91233383 Flash.exe:3080 85FCE4A8 IRP_MJ_CLEANUP TCP:Connection obj
> >> SUCCESS
> >> 669.91234612 Flash.exe:3080 85FCE4A8 IRP_MJ_CLOSE TCP:Connection obj
> >> SUCCESS
> >> 669.91236344 Flash.exe:3080 85F8B1F8 TDI_SET_EVENT_HANDLER
> >> TCP:0.0.0.0:1126
> >> SUCCESS Error Event: NULL
> >> 669.91237573 Flash.exe:3080 85F8B1F8 TDI_SET_EVENT_HANDLER
> >> TCP:0.0.0.0:1126
> >> SUCCESS Disconnect Event: NULL
> >> 669.91238803 Flash.exe:3080 85F8B1F8 TDI_SET_EVENT_HANDLER
> >> TCP:0.0.0.0:1126
> >> SUCCESS Receive Event: NULL
> >> 669.91240004 Flash.exe:3080 85F8B1F8 TDI_SET_EVENT_HANDLER
> >> TCP:0.0.0.0:1126
> >> SUCCESS Expedited Receive Event: NULL
> >> 669.91241121 Flash.exe:3080 85F8B1F8 TDI_SET_EVENT_HANDLER
> >> TCP:0.0.0.0:1126
> >> SUCCESS Chained Receive Event: NULL
> >> 669.91242239 Flash.exe:3080 85F8B1F8 IRP_MJ_CLEANUP TCP:0.0.0.0:1126
> >> SUCCESS
> >>
> >> That is the end of anything with Flash. I am not sure exactely what I
> >> should
> >> be looking for here... the code I get from my WS Analyzer (which works
> >> fine)
> >> is this:
> >>
> >> 503.33979905 Analyzer.exe:366 8542F460 TDI_SEND TCP:0.0.0.0:1114
> >> 127.0.0.1:8080 SUCCESS-2970 Length:299
> >> 503.33984263 tomcat5.exe:3932 854CBF90 TDI_EVENT_RECEIVE TCP:0.0.0.0:8080
> >> 127.0.0.1:1114 SUCCESS Length:299 Flags: ENTIRE_MESSAGE LOOKAHEAD
> >> DISPATCH
> >> 503.34059748 Analyzer.exe:366 8542F460 TDI_SEND TCP:0.0.0.0:1114
> >> 127.0.0.1:8080 SUCCESS-2973 Length:963
> >> 503.34061620 tomcat5.exe:3932 854CBF90 TDI_EVENT_RECEIVE TCP:0.0.0.0:8080
> >> 127.0.0.1:1114 SUCCESS Length:963 Flags: ENTIRE_MESSAGE LOOKAHEAD
> >> DISPATCH
> >> 503.34224182 tomcat5.exe:3932 852F51A0 TDI_SEND TCP:0.0.0.0:8080
> >> 127.0.0.1:1114 SUCCESS-2976 Length:521
> >> 503.34227060 Analyzer.exe:366 857CD1B8 TDI_EVENT_RECEIVE TCP:0.0.0.0:1114
> >> 127.0.0.1:8080 SUCCESS Length:521 Flags: ENTIRE_MESSAGE LOOKAHEAD
> >> DISPATCH
> >> 503.34233429 tomcat5.exe:3932 852F51A0 TDI_SEND TCP:0.0.0.0:8080
> >> 127.0.0.1:1114 SUCCESS-2979 Length:5
> >> 503.34234714 Analyzer.exe:366 857CD1B8 TDI_EVENT_RECEIVE TCP:0.0.0.0:1114
> >> 127.0.0.1:8080 SUCCESS Length:5 Flags: ENTIRE_MESSAGE LOOKAHEAD DISPATCH
> >> 510.20456483 tomcat5.exe:3932 854CBF90 TDI_EVENT_DISCONNECT
> >> TCP:0.0.0.0:8080
> >> SUCCESS RELEASE
> >> 510.20458801 tomcat5.exe:3932 852F01A0 TDI_DISASSOCIATE_ADDRESS
> >> TCP:0.0.0.0:8080  SUCCESS
> >> 510.20460394 tomcat5.exe:3932 852F01A0 IRP_MJ_CLEANUP TCP:Connection obj
> >> SUCCESS
> >> 510.20461930 tomcat5.exe:3932 852F01A0 IRP_MJ_CLOSE TCP:Connection obj
> >> SUCCESS
> >>
> >>
> >> I removed any of the messages that were there from other programs (such
> >> as
> >> outlook).
> >>
> >> Any ideas? Thank you very much in advance!
> >>
> >> ----- Original Message -----
> >> From: "Ajith Ranabahu" <ajith.ranabahu@gmail.com>
> >> To: <axis-user@ws.apache.org>
> >> Sent: Tuesday, June 27, 2006 10:43 AM
> >> Subject: Re: [Axis2] Flash Connectivity Problems
> >>
> >>
> >> > Hi,
> >> > Hmm.. do you see a valid message being sent to the Axis Server ?
> >> >
> >> > Ajith
> >> >
> >> > On 6/27/06, Luke DeWitt <luke.dewitt@penguinfire.com> wrote:
> >> >> Hi Ajith,
> >> >>
> >> >> I used TDIMon (just because I have it already) to monitor what was
> >> >> happening... Flash indeed appears to be trying to call localhost, but
> >> >> my
> >> >> event handler is getting "NULL" for all events. I think it could be
> >> >> something to do with my Axis2 security settings, or would I need to
> >> >> implement some sort of "CrossDomain.xml" file to do what I am trying
> >> >> to
> >> >> do.
> >> >>
> >> >> Thanks,
> >> >>
> >> >> --LD
> >> >>
> >> >> ----- Original Message -----
> >> >> From: "Ajith Ranabahu" <ajith.ranabahu@gmail.com>
> >> >> To: <axis-user@ws.apache.org>
> >> >> Sent: Tuesday, June 27, 2006 2:43 AM
> >> >> Subject: Re: [Axis2] Flash Connectivity Problems
> >> >>
> >> >>
> >> >> > Hi,
> >> >> > Would you be able to send the requests through TCPMon[1] and have
a
> >> >> > look at the messages ? This might tell us something about the
> >> >> > message
> >> >> > flash is sending.
> >> >> >
> >> >> > Ajith
> >> >> > [1] http://ws.apache.org/commons/tcpmon/
> >> >> >
> >> >> > On 6/26/06, Luke DeWitt <luke.dewitt@penguinfire.com> wrote:
> >> >> >>
> >> >> >>
> >> >> >> Hello,
> >> >> >>
> >> >> >> I am currently working on a project in Flash with which I
will be
> >> >> >> connecting
> >> >> >> to a webservice through using Axis2. My Flash file is working
> >> >> >> almost
> >> >> >> perfectly, but I cannot seem to connect to webservices stored
in
> >> >> >> Axis2. I
> >> >> >> have followed the guidelines for connecting to webservices,
and I
> >> >> >> can
> >> >> >> access
> >> >> >> services found elsewhere online, but not on my local machine.
> >> >> >>
> >> >> >> At this point, all I am trying is the 'getVersion' method
of the
> >> >> >> default
> >> >> >> webservice built into access when I first installed it. I
can
> >> >> >> access
> >> >> >> it
> >> >> >> from
> >> >> >> a web services analyzing program, but not from Flash.
> >> >> >>
> >> >> >> My question would have to be what is causing this and how
can I fix
> >> >> >> it? I
> >> >> >> am
> >> >> >> assuming it is some sort of security setting, but before I
go
> >> >> >> toying
> >> >> >> around
> >> >> >> inside of Axis, I wanted to check with some experts.
> >> >> >>
> >> >> >> Thanks a lot!
> >> >> >>
> >> >> >> --LD
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Ajith Ranabahu
> >> >> >
> >> >> > ---------------------------------------------------------------------
> >> >> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >> >> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >> >> For additional commands, e-mail: axis-user-help@ws.apache.org
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> > Ajith Ranabahu
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >> >
> >> >
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-user-help@ws.apache.org
> >>
> >>
> >
> >
> > --
> > Ajith Ranabahu
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Ajith Ranabahu

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message