Maryland Code (1975, 1985 Repl.Vol.), § 7-202(a) of the Corporations and Associations Article states that, before doing any interstate or foreign business in Maryland, a foreign corporation shall “register” with the State Department of Assessments and Taxation (the Department). 1 Section 7-203(a) of the Corporations and Associations Article provides that, before doing any intrastate business in Maryland, a foreign corporation shall “qualify” with the Department. 2 Finally, under § 7-301 of the same Article, if a foreign corporation is doing or has done “any intrastate, *499 interstate, or foreign business” in Maryland without registering or qualifying, then neither the corporation nor any person claiming under it may maintain a suit in any court of this State. 3
The principal question raised in this case is whether Yangming Marine Transport Corporation (Yangming) is doing business in Maryland within the meaning of § 7-301, and is thereby barred from maintaining this action because of its failure to register or to qualify. A second question, to be reached only if the first question is answered in the affirmative, is whether such prohibition, as applied under the circumstances of this case, is inconsistent with the Commerce Clause of the United States Constitution, Art. I, § 8, cl. 3.
I.
Yangming exists under the laws of the Republic of China and is headquartered in Taipei, Taiwan. The parties have stipulated that, at all times relevant to this case, Yangming was “engaged in the transportation of goods by sea for hire in foreign commerce.” Yangming is represented in the United States through its agent in New York, Solar International Shipping Agency, Inc.
Yangming operated a weekly container shipping service between several ports on the East Coast of the United *500 States, including Baltimore, and various ports in the Far East, including ports in Korea. Yangming’s agent in Baltimore was Maher Shipping, Inc. Maher’s duties included husbanding cargo for Yangming’s vessels and arranging port services, facilities, and supplies for Yangming’s vessels while in the Port of Baltimore.
Yangming advertised its weekly container shipping service from Baltimore in several publications that circulated among Baltimore freight forwarders, steamship agents, ocean carriers, and others engaged in foreign commerce by sea. The advertisements contained Maher’s address and telephone number, and disclosed Maher’s agency relationship with Yangming.
During port visits to Baltimore, Yangming’s ships expended sums of money for Maryland Bay Pilots, tugs and berthing, loading and unloading, ánd refueling and reprovisioning. Additionally, Yangming shipped cargo from other states as well as Maryland inside containers that traveled by train or truck between the various shippers’ premises and the Port of Baltimore. At all times relevant to this case, Yangming had no resident agent in Maryland and had neither registered nor qualified to do business in Maryland.
Yangming’s suit against the defendant Revon Products, U.S.A. (Revon), arose out of a dispute over freight charges. In early 1982, a Korean seller agreed to ship certain goods freight prepaid to Revon in Baltimore. The goods were to travel on one of Yangming’s vessels. Because of an unrelated dispute between Yangming and the seller Yangming refused to deliver the original bill of lading. Consequently, Revon could not obtain title to the goods. When the goods arrived in Baltimore in the Spring of 1982, Maher informed Revon that the seller had not paid the freight charges and that Revon would not receive the goods until it discharged this $6,000 obligation. After Revon issued a check and obtained the goods, the seller claimed that it had indeed prepaid the freight and asserted that Revon could not deduct the $6,000 from the contract price. As a result, Revon stopped payment on the check.
*501 In March 1985, Yangming filed a complaint in the Circuit Court for Howard County to recover the $6,000 from Revon. In a motion to dismiss, Revon asserted, inter alia, that the trial court lacked “personal jurisdiction” over Yangming. In its supporting memorandum, Revon explained that Yangming was “doing business” in Maryland without registering or qualifying with the State Department of Assessments and Taxation, in contravention of §§ 7-202 and 7-203. Hence, Revon concluded that, under § 7-301, Yangming could not maintain this action.
In December 1985, the trial court granted Revon’s motion to dismiss. Relying on federal diversity cases, the trial judge concluded that, because Yangming’s activities in the Port of Baltimore amounted to “doing business” in Maryland, Yangming was required to register under § 7-202 or to qualify under § 7-203. As Yangming had taken neither step, the trial judge held that § 7-301 barred Yangming from bringing an action in any court of Maryland. The trial judge also rejected Yangming’s claim that the application of § 7-301 would place an unconstitutional burden on interstate and foreign commerce. In reaching this decision, the trial judge relied on
Eli Lilly & Co. v. Sav-On-Drugs,
Yangming appealed to the Court of Special Appeals. Before consideration in that court, we issued a writ of certiorari.
II.
As pointed out above, under § 7-301, a foreign corporation that has not complied with § 7-202 or § 7-203 is barred from suing in Maryland if the corporation “is doing
*502
... any intrastate, intérstate, or foreign business in this State.” This Court, however, has not given § 7-301 an entirely literal construction. Specifically, this Court has not construed § 7-301 as listing three, disjunctive factors, any one of which, if present, could bar an unregistered or unqualified corporation from suing in Maryland courts. Instead, we have held that § 7-301 embodies a test for determining whether a foreign corporation is "doing business” in Maryland.
See G.E.M., Inc. v. Plough, Inc.,
Earlier, this test was considered analogous to the statutory “doing business” test, used before the enactment of the present Long Arm Statute,
4
to determine whether a foreign corporation was amenable to service of process in the State.
See
Code (1957), Art. 23, § 92(b);
G.E.M., Inc. v. Plough Inc., supra,
*504
As previously mentioned, under our cases an unqualified or unregistered foreign corporation is barred from suing in Maryland courts only if the corporation is engaged in a substantial amount of localized business activity in Maryland. In
G.E.M., Inc. v. Plough Inc., supra,
the plaintiff, a foreign manufacturer, had neither qualified nor registered. The plaintiff had no address, property, warehouses, offices, or telephone listing in Maryland; its products entered Maryland by common carrier through interstate commerce; its salesmen operated in Maryland, but had no authority beyond solicitation; its only activities beyond solicitation involved monitoring compliance with Fair Trade agreements, the occasional distribution of promotional materials, and the allowance of discounts for participation in advertising programs.
The plaintiff in
G.E.M., Inc. v. Plough, Inc.
had contended that “to apply the bar to a corporation doing wholly interstate business would violate the Commerce Clause.”
More recently, in
S.A.S. Personnel Consult, v. Pat-Pan, supra,
we held that § 7-301 did not bar a suit brought by a nonresident personnel agency that solicited business in Maryland and referred one employee to a Maryland employer.
*505
In reaching this decision, the Court echoed the concern, expressed in
G.E.M., Inc. v. Plough, Inc.,
that § 7-301 should not be construed to bar a suit brought by a foreign corporation not engaging in a significant amount of business in Maryland (
In sum, we have interpreted § 7-301 as allowing a foreign corporation, not engaged in significant business activity in Maryland, to maintain an action in the courts of this State despite a failure to register or qualify. We see no reason to construe § 7-301 differently in the case of a corporation that is engaged wholly in foreign commerce. Consequently, we hold that, under § 7-301, an unregistered or unqualified foreign corporation that engages in either interstate or foreign business activity in Maryland is barred from suing in the courts of this State only if the corporation also engages in localized business activity in Maryland such that it is “doing business” here. 7
*506 III.
Yangming maintains that it is engaged in transportation in international and foreign commerce, only. According to Yangming, its use of containers does not alter this conclusion, as containers are recognized as instrumentalities of foreign commerce. Additionally, Yangming contends that its activities in the Port of Baltimore, including those performed by Maher (husbanding cargo, arranging port facilities, services, supplies, etc.), and the use of tugs and pilots, are “essential and necessary to ... foreign commerce” and thus do not constitute “doing business.” (Brief, p. 8).
Revon, on the other hand, concedes that Yangming is engaged in foreign commerce. Revon maintains, however, that the trial court was correct in concluding that Yangming’s activities in the Port of Baltimore constituted “doing business.”
In
S.A.S. Personnel Consult. v. Pat-Pan, supra,
“A determination whether a particular act or set of acts constitutes ‘doing business’ depends upon the facts of each individual case, and rests not on a single factor, but *507 rather on the nature and extent of the business and activities which occur in the forum state. White v. Caterpillar Tractor Co.,235 Md. 368 , 372,201 A.2d 856 , 858 (1964); State ex rel. Bickel v. Pennsylvania Steel Co.,123 Md. 212 , 218,91 A. 136 , 138 (1914). Factors which may be taken into account include the payment of state taxes; the maintenance in the state of property, an office, telephone listings, employees, agents, inventory, research and development facilities, advertising, and bank accounts; the making of contracts; and the extent or pervasiveness of management functions including supervision and control of distributors and services for customers within the state. Gilliam v. Moog Indus., Inc.,239 Md. 107 , 109,210 A.2d 390 , 391 (1965); White v. Caterpillar Tractor Co.,235 Md. at 373 ,201 A.2d at 858 ; Thomas v. Hudson Sales Corp.,204 Md. 450 , 464-65,105 A.2d 225 , 231 (1954). Where there is solicitation, shipment of goods, and an extensive set of activities or management functions, foreign corporations have been held to be ‘doing business.’ White v. Caterpillar Tractor Co.,235 Md. at 374 ,201 A.2d at 859 ; Thomas v. Hudson Sales Corp.,204 Md. at 465-66 ,105 A.2d at 231 .”
In the present case, there is no dispute as to the nature or extent of Yangming’s activities. Yangming has an agent and, in connection with its shipping activities, enters into contracts in Maryland. There is, however, no evidence that Yangming pays taxes, maintains property, inventory, or research and development facilities, or engages in management functions in Maryland. Yangming has no office, telephone listing, bank accounts, or employees in Maryland. Moreover, as shown by the record, Yangming’s attempts to solicit business were by advertising in national publications. There was much less effort to solicit business in Maryland than that involved in G.E.M., Inc. v. Plough, Inc., supra.
Thus, on the whole, Yangming’s activities resemble the conduct that was found not to constitute “doing business” in G.E.M., Inc. v. Plough, Inc. Admittedly, this case differs from G.E.M. in that the plaintiff in that case shipped *508 goods into Maryland by common carrier, while in this case, Yangming is the common carrier by which others ship their goods into Maryland. Nevertheless, we find this distinction insignificant given the insubstantiality of the local business engaged in by Yangming.
Moreover, Yangming’s activities in the Port of Baltimore are integral and necessary parts of its wholly foreign shipping business, a business obviously within the ambit of the Commerce Clause.
See, e.g., Japan Line Ltd. v. County of Los Angeles,
*509 In sum, Yangming’s activities in the Port of Baltimore were necessary and essential to its activities in foreign commerce; the shipowner’s activities in Baltimore were not sufficiently distinct from its foreign commerce or sufficiently localized in Maryland to constitute “doing business” within the meaning of § 7-301.
Because of our holding that Yangming was not doing business in Maryland within the meaning
of §§
7-202, 7-203 and 7-301 as contraed by the Court, and thus Yangming did not have to qualify or register in order to maintain this suit, we do not directly reach the Commerce Clause issue raised by Yangming. Nevertheless, it must be acknowledged that the Court’s construction and applications of the Maryland statutory scheme in this and prior cases obviously are influenced by constitutional considerations. Our construction and applications are in accord with the principle that a court will, whenever reasonably possible, construe and apply a statute to avoid casting serious doubt upon its constitutionality.
See, e.g., Heileman Brewing v. Stroh Brewery,
The Supreme Court has consistently taken the position that a “closed-door” statute such as § 7-301 cannot, under the Commerce Clause, apply to unregistered or unqualified foreign corporations engaged in wholly interstate or foreign commerce.
Allenberg Cotton Company, Inc. v. Pittman,
*511 As Yangming was not doing business within the meaning of § 7-301, and thus was not barred from bringing this suit, Revon’s motion to dismiss should not have been granted. 10
JUDGMENT OF THE CIRCUIT COURT FOR HOWARD COUNTY REVERSED. APPELLEE TO PAY COSTS.
Notes
. Section 7-202 provides that, to register, a foreign corporation must certify to the Department the corporation’s address and the name and address of its registered agent in Maryland. This section further provides that a foreign corporation need not register if it is qualified to do business under § 7-203.
. To qualify, a foreign corporation must certify to the Department the corporation’s address and the name and address of its registered agent in Maryland, § 7-203(b)(l). In addition, the foreign corporation must file with the Department a certificate stating that the corporation is in good standing under the laws of the place where it is organized, § 7-203(b)(2)(i). This certificate must have been executed by the official of the foreign jurisdiction with custody of the pertinent records. § 7—203(b) (2) (ii).
. Section 7-301 is as follows:
"Failure to register or qualify—Maintenance of suit.
If a foreign corporation is doing or has done any intrastate, interstate, or foreign business in this State without complying with the requirements of Subtitle 2 of this title, neither the corporation nor any person claiming under it may maintain a suit in any court of this State unless it shows to the satisfaction of the court that:
(1) The foreign corporation or the person claiming under it has paid the penalty specified in § 7-302 of this subtitle; and
(2) Either:
(i) The foreign corporation or a foreign corporation successor to it has complied with the requirements of Subtitle 2 of this title; or
(ii) The foreign corporation and any foreign corporation successor to it are no longer doing intrastate, interstate, or foreign business in this State.”
. Code (1974, 1984 Repl. Vol.), § 6-103 of the Courts and Judicial Proceedings Article.
. A number of states, interpreting their own statutes, have reached a similar conclusion.
See Johnson v. MPL Leasing Corp.,
. In
Gibraltar Constr. v. St. Nat’l Bank,
. The phrase in § 7-301, "doing ... any intrastate, interstate, or foreign business,” contains terms used in §§ 7-202 and 7-203. Under § 7-202, a foreign corporation must register before doing any “interstate or foreign business” in Maryland. Under § 7-203, a foreign corporation must qualify before doing any "intrastate business” in Maryland. Thus, it has been suggested that, by construing § 7-301 as embodying essentially a “doing business” test, the Court has negated
*506
the distinction drawn in §§ 7-202 and 7-203 between "doing any interstate or foreign business” and "doing any intrastate business.”
See Turner v. Smalis, Inc.,
. In the
Texas Transp. Co.
case, the Supreme Court, invalidating a license requirement imposed upon a corporation employed by the owners of vessels engaged exclusively in interstate or foreign commerce, described these activities as follows (
“Defendant was regularly employed as agent for four steamship lines, under a contract fixing its compensation on the basis of commissions, calculated upon the gross amount of freight charges collected by it for each company. In addition, defendant occasionally represented other ship owners. All were exclusively engaged in interstate or foreign commerce, and defendant’s business was confined solely to representing principals so engaged in such commerce. The service rendered consisted of soliciting and engaging cargo, nominating ships for carrying it, arranging for its delivery on the wharf, issuing bills of lading under the name of ship owner or charterer, arranging for stevedores for loading and discharging cargo, collecting freight charges, paying ships’ disbursements, attending to immigration service and assisting generally in matters of local customs and regulations. Freight moneys collected, after deducting commissions, were remitted to the owners or charterers. As such agent, defendant was authorized to solicit cargo and quote *509 freight rates and to issue receipts in the name of its principal for cargo delivered on the wharf.
“Upon these facts the trial court held that defendant’s business was local in character and subject to the tax. Upon appeal, this judgment was affirmed by the State Supreme Court.152 La. 497 [93 So. 751 ].
"The State Supreme Court thus stated the necessity and character of the agent’s duties:
“‘The business of steamship agents is an extensive business in New Orleans, as it is in every large seaport. As a separate or an independent business, it is a result of the development of the country’s commerce with foreign nations and among the several states. In the early days, when time was not so much the object or subject of economy as it is today, every ship’s captain, for his own ship, discharged the duties and rendered the services for which local steamship agents are employed nowadays. But it would be impracticable now for a ship’s captain to remain with his ship in port long enough to attend to the many matters which the local steamship agents can and do attend to for a ship at sea or in a foreign port. The business of steamship agents is therefore a necessary adjunct to commerce on the high seas.’ ”
. We note that our application of § 7-301 in this case is consistent with numerous decisions throughout the country. Many jurisdictions have held their “closed-door” statutes inapplicable to unregistered or unqualified foreign corporations engaged in wholly interstate or foreign commerce.
See, e.g., Johnson v. MPL teasing Corp.,
. In the motion to dismiss, and the order granting the motion, Revon and the circuit court chiefly relied on two federal cases.
Gkiafis v. S/S Yiosonas,
