public function toXMLString()
 {
     $str = '';
     $str .= '<ns:BMButtonSearchReq>';
     if ($this->BMButtonSearchRequest != NULL) {
         $str .= '<ns:BMButtonSearchRequest>';
         $str .= $this->BMButtonSearchRequest->toXMLString();
         $str .= '</ns:BMButtonSearchRequest>';
     }
     $str .= '</ns:BMButtonSearchReq>';
     return $str;
 }
 public function toXMLString()
 {
     $str = '';
     $str .= '<urn:BMButtonSearchReq>';
     if ($this->BMButtonSearchRequest != null) {
         //prop is not a collection
         //prop is complex
         //prop is not enum
         //does not contain attribute or is attribute
         $str .= '<urn:BMButtonSearchRequest>';
         $str .= $this->BMButtonSearchRequest->toXMLString();
         $str .= '</urn:BMButtonSearchRequest>';
     }
     $str .= '</urn:BMButtonSearchReq>';
     return $str;
 }