I suggest you ...

Service not working if custom handler type cares of default value

public class ChatServer extends Sprite {
public function ChatServer() {
ServerAS3SX.setRequestHandler(ChatMessage, handleChatMessageRequest);
...

// Ok
package chat.request.structure {
public class ChatMessage {
public var value : String;
public function ChatMessage(value : String = "") {
this.value = value;
}
}
}

// No response from server
package chat.request.structure {
public class ChatMessage {
public var value : String;
public function ChatMessage(value : String) {
this.value = value;
}
}
}

1 vote
Vote 0 votes Vote Vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service

    You'll receive a confirmation email with a link to create a password (optional).

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    MikeMike shared this idea  ·   ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service

      You'll receive a confirmation email with a link to create a password (optional).

      Signed in as (Sign out)
      Submitting...

      Knowledge Base and Helpdesk