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