-
I need to creating a PHP system that consumes a SOAP web-service. There are several wsdl files, one for each endpoint. I was able to successfully generate PHP SDK for most of the wsdl files except for one that imports another wsdl file (a "Policies" wsdl file). I have tried to "copy-paste" the "Policies" wsdl file in the wsdl endpoint, replacing the "import" line with no luck because when validating the final wsdl file in wsdl-analyzer.com I got an "Error parsing your WSDL." Is there any option to add this imported file url or any other solution? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Hi,
Enjoy (normally 😄) |
Beta Was this translation helpful? Give feedback.
-
Just one last question: I need to process multiple WSDL files using the PackageGenerator in order to obtain the complete PHP SDK. However, the issue I encountered is that the tool generates separate SDKs for each WSDL file, or at least that's how I understood it. Is there a way or a command to combine multiple WSDL files into a single PHP SDK? Thanks once again. |
Beta Was this translation helpful? Give feedback.
Hi,
This should work by:
<wsp:PolicyReference URI="#SecureTransportBasicAuthPolicy" wsdl:required="true"/>
by<wsp:PolicyReference URI="#SecureTransportBasicAuthPolicy" wsdl:required="false"/>
(true
becomesfalse
)Enjoy (normally 😄)