@omnigraph/soap 0.105.12-alpha-20250116174026-d861db883657670c4d0db836a9082ea200facdbd → 0.105.12-alpha-20250116175218-0f16a1071472b8f2a18b2d2532b62361d79faf28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/SOAPLoader.js +11 -1
- package/esm/SOAPLoader.js +11 -1
- package/package.json +2 -2
package/cjs/SOAPLoader.js
CHANGED
|
@@ -356,12 +356,22 @@ class SOAPLoader {
|
|
|
356
356
|
}
|
|
357
357
|
const { type, elementName } = this.getOutputTypeForMessage(this.getNamespaceMessageMap(messageNamespace).get(messageName));
|
|
358
358
|
const bindingOperationObject = bindingObj.operation.find(operation => operation.attributes.name === operationName);
|
|
359
|
+
let soapAction;
|
|
360
|
+
const bindingOperationObjectAttributes = bindingOperationObject?.operation?.[0].attributes;
|
|
361
|
+
if (bindingOperationObjectAttributes) {
|
|
362
|
+
for (const attributeName in bindingOperationObjectAttributes) {
|
|
363
|
+
if (attributeName.toLowerCase().endsWith('action')) {
|
|
364
|
+
soapAction = bindingOperationObjectAttributes[attributeName];
|
|
365
|
+
break;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
}
|
|
359
369
|
const soapAnnotations = {
|
|
360
370
|
elementName,
|
|
361
371
|
bindingNamespace,
|
|
362
372
|
endpoint: this.endpoint || portObj.address[0].attributes.location,
|
|
363
373
|
subgraph: this.subgraphName,
|
|
364
|
-
soapAction
|
|
374
|
+
soapAction,
|
|
365
375
|
};
|
|
366
376
|
if (this.bodyAlias) {
|
|
367
377
|
soapAnnotations.bodyAlias = this.bodyAlias;
|
package/esm/SOAPLoader.js
CHANGED
|
@@ -353,12 +353,22 @@ export class SOAPLoader {
|
|
|
353
353
|
}
|
|
354
354
|
const { type, elementName } = this.getOutputTypeForMessage(this.getNamespaceMessageMap(messageNamespace).get(messageName));
|
|
355
355
|
const bindingOperationObject = bindingObj.operation.find(operation => operation.attributes.name === operationName);
|
|
356
|
+
let soapAction;
|
|
357
|
+
const bindingOperationObjectAttributes = bindingOperationObject?.operation?.[0].attributes;
|
|
358
|
+
if (bindingOperationObjectAttributes) {
|
|
359
|
+
for (const attributeName in bindingOperationObjectAttributes) {
|
|
360
|
+
if (attributeName.toLowerCase().endsWith('action')) {
|
|
361
|
+
soapAction = bindingOperationObjectAttributes[attributeName];
|
|
362
|
+
break;
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
}
|
|
356
366
|
const soapAnnotations = {
|
|
357
367
|
elementName,
|
|
358
368
|
bindingNamespace,
|
|
359
369
|
endpoint: this.endpoint || portObj.address[0].attributes.location,
|
|
360
370
|
subgraph: this.subgraphName,
|
|
361
|
-
soapAction
|
|
371
|
+
soapAction,
|
|
362
372
|
};
|
|
363
373
|
if (this.bodyAlias) {
|
|
364
374
|
soapAnnotations.bodyAlias = this.bodyAlias;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnigraph/soap",
|
|
3
|
-
"version": "0.105.12-alpha-
|
|
3
|
+
"version": "0.105.12-alpha-20250116175218-0f16a1071472b8f2a18b2d2532b62361d79faf28",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"graphql": "*"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"@graphql-mesh/cross-helpers": "^0.4.9",
|
|
10
10
|
"@graphql-mesh/string-interpolation": "^0.5.7",
|
|
11
11
|
"@graphql-mesh/transport-common": "^0.7.25",
|
|
12
|
-
"@graphql-mesh/transport-soap": "0.8.12-alpha-
|
|
12
|
+
"@graphql-mesh/transport-soap": "0.8.12-alpha-20250116175218-0f16a1071472b8f2a18b2d2532b62361d79faf28",
|
|
13
13
|
"@graphql-mesh/types": "^0.103.11",
|
|
14
14
|
"@graphql-mesh/utils": "^0.103.11",
|
|
15
15
|
"@graphql-tools/utils": "^10.6.0",
|