Hi Carlos.

Thank you for the suggestions.

I've tried to get this remoting working with all builds available  0.9.2, 
0.9.3 and the nightly build at
http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/lastSuccessfulBuild/artifact/out/

I tried the MXRoyale branch build based on Alex's suggestions.

I haven't had much luck getting the developer branch built with ant or
maven.  Plus I'm getting pom.xml errors when trying to build
RemoteObjectAMFTest... looks like i need 0.9.3-SNAPSHOT build.

The Royale remoting code i posted above is pretty basic and should result in
WebORB taking the request... based on the logs the exception being thrown
is:

WEBORB EXCEPTION:8/9/2018 5:15:56 PM:cannot parse request. possible reasons:
malformed request or protocol formatter is not registered :   at
Weborb.Protocols.ProtocolRegistry.BuildMessage(String contentType, Stream
requestStream, NameValueCollection headers)
   at Weborb.ORBHttpHandler.a(HttpContext A_0, HttpRequest A_1, HttpResponse
A_2)

Now if i make a request with my remoting AIR app I get a successful request
and this is the result in the logs:

[Thread-20] WEBORB INFO:8/9/2018 5:39:23 PM:Received request for
http://66.155.36.74/remoting.aspx from 67.193.118.172
[Thread-20] WEBORB INFO:8/9/2018 5:39:23 PM:Request is in session
2uzzenac0fgkcr45eyvj30bo
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:MessageReader:: parsing stream
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:MessageReader:: parsing message
- version: 3 totalHeaders: 0
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:MessageReader:: Total body
parts: 1
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:MessageReader::readBodyPart:
serviceURI - null responseURI - /1 length: 224
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:reading object property
operation
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:reading object property
correlationId
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:reading object property
destination
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:reading object property
timestamp
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:reading object property
clientId
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:reading object property
timeToLive
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:reading object property headers
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:reading object property body
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:reading object property
messageId
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:MessageReader:: returning
AMFMessage

If you need more information... Logs, etc.  please don't hesitate to ask.

Thanx so much again
Regards





--
Sent from: http://apache-royale-users.20374.n8.nabble.com/

Reply via email to