-
Notifications
You must be signed in to change notification settings - Fork 148
Description
Hi,
I'm experiencing something strange. I've to call a ws method that requires a token as authentication method. The token is retrieved by another call. The call that returns the token runs without any problem, the second method get stuck at the line SoapClient.post(soapAction, requestEnvelope).
No time out, no exception.
I tried to send the same envelope via php SoapClient, and it works fine.
Is there a way to debug some how what really get stuck?
This is the envelope that doesn't work:
<?xml
version="1.0"
encoding="UTF-8"
?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://www.orkis.com/ajarisnamespace"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:WS_Select>
<Jeton xsi:type="xsd:string">cloudstore197410355</Jeton>
<Pseudo xsi:type="xsd:string"></Pseudo>
<Password xsi:type="xsd:string">1</Password>
<NumLangue xsi:type="xsd:int">1</NumLangue>
<NumTable xsi:type="xsd:int">2</NumTable>
<Selection xsi:type="xsd:string"></Selection>
<Droits xsi:type="xsd:string">Tous</Droits>
<StoreSel xsi:type="xsd:string"></StoreSel>
<RubsTri xsi:type="xsd:string"></RubsTri>
<NumPage xsi:type="xsd:int">1</NumPage>
<MaxRecords xsi:type="xsd:int">1000</MaxRecords>
<ListeRubsAEnvoyer xsi:type="xsd:string">titre</ListeRubsAEnvoyer>
<RechercheSimple xsi:type="xsd:string"></RechercheSimple>
<Recherche SOAP-ENC:arrayType="xsd:string[1]" xsi:type="ns1:ArrayOfstring">
<item xsi:type="xsd:string">critere8;Contient;p;ET</item>
</Recherche>
</ns1:WS_Select>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
The soapAction for WS_Select is: Orkis_WebService#WS_Select
The end-point is http://photoserver.8tto.net:8081/4DWSDL/
username: cloudstore
password: cloudstore2017!
(it's a test environment)
This is the envelope that return the token without any problem:
<?xml
version="1.0"
encoding="UTF-8"
?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://www.orkis.com/ajarisnamespace"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:WS_Connect>
<Pseudo xsi:type="xsd:string"> ... username ... </Pseudo>
<Password xsi:type="xsd:string"> ... password ... </Password>
<NumLangue xsi:type="xsd:int">1</NumLangue>
</ns1:WS_Connect>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
The soapAction for WS_Connect is: Orkis_WebService#WS_Connect
Thanks in advance,
Samuel