If you call this method passing a name that does not exist as a child element, this method creates a child element for you.
如果调用此方法将不存在的名称作为子元素传递,则此方法会为您创建一个子元素。
The next line creates a file object, passing in the name "testit.txt" and a 'w' character (to let you write to the file).
接下来的一行创建file对象,传递进名称“ testit . txt ”和' w '字符(写入文件)。
Screen capture showing the invoked Web service passing a parameter for name
将参数传递给 name 调用的 Web 服务的抓屏
应用推荐