async-soap-script

Creates ReactPHP-based asynchronous SOAP clients for Hyper-V service operations.

6|Updated Jun 8, 2017
One-click install
npx skills add https://github.com/myadmin-plugins/hyperv-vps --skill async-soap-script
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: async-soap-script
Source: https://github.com/myadmin-plugins/hyperv-vps/tree/main/.claude/skills/async-soap-script
Command: npx skills add https://github.com/myadmin-plugins/hyperv-vps --skill async-soap-script

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill creates ReactPHP based asynchronous SOAP scripts in bin/async/ for Hyper-V VPS operations, enabling non-blocking execution.

Core Features & Use Cases

  • Create a ReactPHP async SOAP script for a Hyper-V SOAP operation that runs without blocking.
  • TLS verification can be disabled for self-signed certificates when fetching WSDL via the React client.
  • The async script mirrors the synchronous pattern and integrates with the Clue\React\Soap client and proxy.

Quick Start

Generate a bin/async/ script for the desired Hyper-V SOAP method and test it in a ReactPHP loop.

Frequently Asked Questions about async-soap-script

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I call Hyper-V SOAP methods asynchronously in PHP?

To call Hyper-V SOAP methods asynchronously in PHP, generate a ReactPHP script using the Clue\React\Soap client inside an event loop. This non-blocking execution pattern handles callbacks so your application continues processing other tasks while waiting for VPS operations.

Can I connect to a Hyper-V SOAP endpoint using a self-signed TLS certificate?

Yes, you can connect to a Hyper-V SOAP endpoint with a self-signed TLS certificate by disabling TLS verification when fetching WSDL via the ReactPHP client. The generated script configures the React HTTP client to bypass certificate validation during the asynchronous handshake.

What PHP packages do I need to run a ReactPHP async SOAP script for VPS operations?

Running a ReactPHP async SOAP script for VPS operations requires a PHP runtime with react/event-loop, react/socket, react/http, and the Clue\React\Soap package. These dependencies manage the asynchronous event loop and non-blocking SOAP proxy integration.

How does an asynchronous SOAP client compare to a synchronous PHP script for Hyper-V?

An asynchronous SOAP client uses ReactPHP to execute Hyper-V calls without blocking, unlike synchronous PHP scripts that halt execution waiting for responses. This approach mirrors synchronous patterns but handles operations in the background via event loop callbacks for better concurrency.

Why does my ReactPHP SOAP script block execution when fetching WSDL from Hyper-V?

Execution blocks when fetching WSDL if the script runs synchronously instead of using ReactPHP's event loop. You must use the Clue\React\Soap proxy within an asynchronous React HTTP client to ensure the WSDL retrieval and subsequent SOAP calls remain non-blocking.