SOAP Request with PHP does not work - no answer from PHP getLastRequest -


We are writing a web service in UNIFACE 9.3. Our service saves WSDL We use SOAPUi for the first test and we stick to using PHP for some more tests, but PHP does not give us anything! Why?

  & lt; Soapenv: envelope xmlns: soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns: kalash = "kalash: unity: application: wrapped: services: WEBSOAPWSV" & gt; & Lt; Soapenv: header / & gt; & Lt; Soapenv: body & gt; & Lt; Pulse: info & gt; & Lt; Vase: SP_IN & gt; Event = test & lt; / Cache: SP_IN & gt; & Lt; / Cache: info & gt; & Lt; / Soapenv: Body & gt; & Lt; / Soapenv: envelope & gt;   

This is our PHP-testet:

  $ client = new SopClient ("http: // patch-server: 8080 / uniface / services / websoappwsvdlw ? Wsdl "); Var_dump ($ Customer & gt; __getFunctions ()); $ Args = array ('OCCURRENCE', 'TEST'); $ Result = $ client- & gt; __Subject ('INFO', $ args); Echo "request: \ n". $ Client- & gt; __getLastRequest () "\ N";   

PHP-getFunctionsResolution:

  array (6) {[0] = & gt; String (41) "ACCEPTResponse Approval (Accept $ Parameter)" [1] = & gt; String (35) "Exclusions Exec (Exec $ Parameter)" [2] = & gt; String (35) "INFORESPense INFO (INFO $ parameter)" [3] = & gt; String (41) "INSERTRESponse INSERT (INSERT $ Parameter)" [4] = & gt; String (35) "QUITResponse QUIT ($ parameter parameter)" [5] = & gt; String (41) "UPDATEResponse UPDATE (Update $ Parameter)"}   

The answer is nothing! Why? Thanks a lot.

I really do not know SOAP and I just asked a question so SOAP calls me here, but What if you changed that code a bit:

  // Make changes here $ options = array ('trace' => 1, 'exceptions' => 1) ; $ Client = new SOAP client ("http: // patch-server: 8080 / info / services / webSpeedWidWWDL", $ option); Var_dump ($ Customer & gt; __getFunctions ()); $ Args = array ('OCCURRENCE', 'TEST'); // Make changes here .. $ result = $ client- & gt; INFO ($ args); Echo "request: \ n". $ Client- & gt; __getLastRequest () "\ N";    

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -