-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import schema #29
Comments
is the file mentioned by the error accessible? |
Can it be that the PHP client is not allowed to access the file for same reason? from what I know it is the only reason for that error |
you should use
|
Sorry for the response, I will not bother you anymore. We have this in metadata and SoapContainer. We need to execute the following request: Following your example we create the corresponding object:
$rq is an instanceof of the RequestRooms php class. And when call this process we have following error in ArgumentReader: It would be very helpful if you could give us some reason for the error. Many thanks |
I guess you have forgot to register the Header handler as in
if you are suing $serializer = SoapContainerBuilder::createSerializerBuilderFromContainer($container, function($registry) {
$registry->registerSubscribingHandler(new HeaderHandler());
})->build(); |
Hmm... may be a bug, but not sure about it. |
Can you copy/paste your soap operaton for this call? im confused by the "requestRoomsHeader" in the "parts" array. |
Is the header defined also at SOAP metadata level or not? does it look as something as soap-client/tests/Fixtures/test.wsdl Line 511 in 746570a
|
It looks a bug. I did not find anything that tests that case in my test suite. Can you try to without wrapping the header param in $client->getRooms($rq, $userValidation); |
but you are still using |
like |
Yes, if you pass like this: I've this error: |
:/ |
But I don't understand if I create request and set the body and header manually like: When I serialize to convert in XML it return followin error: |
@riccardonar did you face an issue as this? |
Because this class: Doesn't exist. It's posible to fix this? I do anything wrong? How it works? Many thanks for attention. |
Should be |
Mmm, i check that in my SOAPs i haven't any header part in the operations, so i don't test it |
Hi,
A question,
When a wsdl has importacions like:
<xsd:import namespace="http://ws.link.hotelresb2b.com/login" schemaLocation="Link?xsd=login.xsd"/>
When I execute the command:
vendor/bin/soap-client -vvv generate config/config_hotusa.yml src/Service/Container --dest-class=Igm/Synergy/Service/Container/SoapContainerHotusa
I've an error in the SchemaReader.php
In all the metadata that I have generated with WSDL without imports, I haven't had any problems.
Thanks for advance,
Victor
The text was updated successfully, but these errors were encountered: