Repository navigation
How can I select a specific service / port? #557
Unanswered
cetetesoft
asked this question in
Q&A
Replies: 3 comments 12 replies
|
Hello, This will become easier in v4, since it will be possible to specify it from the Factory options instead. See:
Currently, the only way to filter ports is by using a preferred soap version, but I suppose filtering by port name / address or something like that would be rather easy to implement as well: See: |
0 replies
|
Thank you. Do you mean it will be possible to do so in the stable release of v4? I don't see a simple way to pick a specific port under 4.0.0-alpha3. Filtering by SOAP version is not an option for me, since all ports are SOAP 1.1. Adding a |
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Hello.
I am currently using a WSDL with two services, each consisting of four ports. After generating all the required code with
vendor/bin/soap-client wizard, all the requests are using the first endpoint (1st service / 1st port).I guess I could achieve this by overriding code such as
CodeGeneratorEngineFactory, creating aWsdl1MetadataProviderinstance with a differentServiceSelectionCriteria. Is there an easier way to do this and prevent so much duplicate code?I'm quite new to both this library and SOAP, so I'm not sure if all of this make sense.
Thanks in advance.
All reactions