# US 2018/0295179 A1 · Scripting of soap commands

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2018/0295179 A1
- Document ID: US20180295179A1
- Status: Published application
- Kind: A1
- Application number: 15/943,749
- Filed: 2018-04-03
- Published: 2018-10-11
- Earliest claimed: 2002-04-17
- Assignees: PTC Inc.
- Applicants: PTC Inc.
- Inventors: James R. Hansen
- Web page: https://patentgrep.com/patent/US20180295179A1

## CPC

- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- G06F 9/45508: {Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation}
- G06F 9/54: Interprogram communication
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 16/81: Indexing, e.g. XML tags; Data structures therefor; Storage structures
- G06F 16/83: Querying
- H04L 41/0266: using meta-data, objects or commands for formatting management information, e.g. using eXtensible markup language [XML]
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- G06F 9/44: Arrangements for executing specific programs
- G06F 9/541: {via adapters, e.g. between incompatible applications}
- G06F 9/547: {Remote procedure calls [RPC]; Web services}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method processes a simple object access protocol (SOAP) command. The method includes interpreting an XML script to perform a function contained in the XML script, the XML script containing the SOAP command, parsing the SOAP command from the XML script, and passing the SOAP command to a SOAP interpreter for execution.

## Claims

### Claim 1

A method performed by one or more processing devices for generating script that comprises first and second simple object access protocol (SOAP) commands, comprising:
receiving code that defines a function; and
translating the code to the script that performs the function and that contains the first and second SOAP commands, the script declaring a variable that is used in the first SOAP command, the first SOAP command passing a value of the variable out of the first SOAP command to the function, and the function using the value of the variable to affect execution of the second SOAP command.

### Claim 2 (depends on 1)

The method of claim 1, wherein the function comprises a conditional statement comprising an If-Then statement or an If-Then-Else statement.

### Claim 3 (depends on 1)

The method of claim 1, wherein the script comprises extensible markup language (XML) scrip.

### Claim 4 (depends on 1)

The method of claim 1, further comprising sending the script to multiple devices having a same type for execution by the multiple devices.

### Claim 5 (depends on 4)

The method of claim 4, wherein at least one of the multiple devices comprises a controller that is embedded in an apparatus; and.
wherein the script affects control over the apparatus by the controller.

### Claim 6 (depends on 1)

The method of claim 1, wherein translating comprises:
compiling the code to generate compiled code;
interpreting the function in the complied code; and
generating the script based on the function.

### Claim 7 (depends on 8)

The method of claim 8, wherein compiling is performed by a compiler; and
wherein the method further comprises the compiler determining a format of the first SOAP command and the second SOAP command.

### Claim 8 (depends on 7)

The method of claim 7, wherein the compiler determines the format based on a Web Services Description Language (WSDL) document that defines SOAP command format.

### Claim 9 (depends on 8)

The method of claim 8, wherein the WSDL document is in a self-describing computing language; and
wherein the method further comprises the compiler interpreting the WSDL document automatically.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
receiving a command from a device, the command identifying an instance of the device, the command comprising a HyperText Transfer Protocol (HTTP) command;
retrieving the script based on the instance of the device; and
sending the script to the device.

### Claim 11 (depends on 10)

The method of claim 10, wherein the one or more processing devices are part of a server, the server being on a first network;
wherein the device is on a second network that is different from the first network, the device having an Internet Protocol (IP) address that is local to the second network and that is not recognized by the server on the first network.

### Claim 12 (depends on 11)

The method of claim 11, wherein at least one of the first SOAP command or the second SOAP command encodes a remote procedure call.

### Claim 13

A method performed by one or more processing devices for generating script that comprises a first remote procedure call (RPC) and a second RPC, comprising:
receiving code that defines a function; and
translating the code to the script that performs the function and that contains the first RPC and the second RPC, the function defining at least one of a sequence or a timing of execution of the first RPC and the second RPC, the function comprising at least one of a conditional statement or a control loop.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
receiving a command from a device, the command identifying an instance of the device, the command comprising a HyperText Transfer Protocol (HTTP) command;
retrieving the script based on the instance of the device; and
sending the script to the device.

### Claim 15 (depends on 13)

The method of claim 13, wherein the one or more processing devices are part of a server, the server being on a first network;
wherein the device is on a second network that is different from the first network, the device having an Internet Protocol (IP) address that is local to the second network and that is not recognized by the server on the first network.

### Claim 16

One or more non-transitory machine-readable storage media storing instructions that are executable on one or more processing devices to generate script that comprises first and second simple object access protocol (SOAP) commands, the instructions being executable to perform operations comprising:
receiving code that defines a function; and
translating the code to the script that performs the function and that contains the first and second SOAP commands, the script declaring a variable that is used in the first SOAP command, the first SOAP command passing a value of the variable out of the first SOAP command to the function, and the function using the value of the variable to affect execution of the second SOAP command.

### Claim 17 (depends on 16)

The one or more non-transitory machine-readable storage media of claim 16, wherein the function comprises a conditional statement comprising an If-Then statement or an If-Then-Else statement.

### Claim 18 (depends on 16)

The one or more non-transitory machine-readable storage media of claim 16, wherein the script comprises extensible markup language (XML) scrip.

### Claim 19 (depends on 16)

The one or more non-transitory machine-readable storage media of claim 16, wherein the operations comprise sending the script to multiple devices having a same type for execution by the multiple devices.

### Claim 20 (depends on 19)

The one or more non-transitory machine-readable storage media of claim 19, wherein at least one of the multiple devices comprises a controller that is embedded in an apparatus; and.
wherein the script affects control over the apparatus by the controller.

### Claim 21 (depends on 16)

The one or more non-transitory machine-readable storage media of claim 16, wherein translating comprises:
compiling the code to generate compiled code;
interpreting the function in the complied code; and
generating the script based on the function.

### Claim 22 (depends on 21)

The one or more non-transitory machine-readable storage media of claim 21, wherein compiling is performed by a compiler; and
wherein the one or more non-transitory machine-readable storage media further comprises the compiler determining a format of the first SOAP command and the second SOAP command.

### Claim 23 (depends on 22)

The one or more non-transitory machine-readable storage media of claim 22, wherein the compiler determines the format based on a Web Services Description Language (WSDL) document that defines SOAP command format.

### Claim 24 (depends on 23)

The one or more non-transitory machine-readable storage media of claim 23, wherein the WSDL document is in a self-describing computing language; and
wherein the one or more non-transitory machine-readable storage media further comprises the compiler interpreting the WSDL document automatically.

### Claim 25 (depends on 16)

The one or more non-transitory machine-readable storage media of claim 16, wherein the operations comprise:
receiving a command from a device, the command identifying an instance of the device, the command comprising a HyperText Transfer Protocol (HTTP) command;
retrieving the script based on the instance of the device; and
sending the script to the device.

### Claim 26 (depends on 25)

The one or more non-transitory machine-readable storage media of claim 25, wherein the one or more processing devices are part of a server, the server being on a first network;
wherein the device is on a second network that is different from the first network, the device having an Internet Protocol (IP) address that is local to the second network and that is not recognized by the server on the first network.

### Claim 27 (depends on 26)

The one or more non-transitory machine-readable storage media of claim 26, wherein at least one of the first SOAP command or the second SOAP command encodes a remote procedure call.

### Claim 28

One or more non-transitory machine-readable storage media storing instructions that are executable on one or more processing devices to generate script that comprises a first remote procedure call (RPC) and a second RPC, the instructions being executable to perform operations comprising:
receiving code that defines a function; and
translating the code to the script that performs the function and that contains the first RPC and the second RPC, the function defining at least one of a sequence or a timing of execution of the first RPC and the second RPC, the function comprising at least one of a conditional statement or a control loop.

### Claim 29 (depends on 28)

The one or more non-transitory machine-readable storage media of claim 28, wherein the operations comprise:
receiving a command from a device, the command identifying an instance of the device, the command comprising a HyperText Transfer Protocol (HTTP) command;
retrieving the script based on the instance of the device; and
sending the script to the device.

### Claim 30 (depends on 28)

The one or more non-transitory machine-readable storage media of claim 28, wherein the one or more processing devices are part of a server, the server being on a first network;
wherein the device is on a second network that is different from the first network, the device having an Internet Protocol (IP) address that is local to the second network and that is not recognized by the server on the first network.
