Monday 29 July 2013

Re: [dcphp-dev] SOAP Experience?

I have ran into a similar issue where php has namespace issues when a wsdl file includes multiple files with the same inter-dependencies.  

If I recall this is the bug for the issue I ran into:

For my specific problem the solution I came up with was to load the wsdl file from the remote source and walk the dependencies using simplexml and xpath  '//xsd:import'. After having a list I would write the files back out with the import nodes removed from the children files as the parent file I was loading had already defined them. At this point I would load my cached wsdl files and everything worked fine. 

Of course I put logic in place to properly re-load/re-build the wsdl cache as needed.

The company in question from which I got the wsdl from wouldn't provide a solution as it was only php's soap client that wouldn't load the file properly.

I hope this helps.


On Thu, Jul 25, 2013 at 10:15 PM, Franklin Strube <fstrube@globalthinking.com> wrote:
Looking at the WSDL with human eyes, there are references to both https://test and https://testing. Are both of those hosts accessible from your PHP script?

Also, perhaps there is an issue with the https to the WSDL, such as a certificate name mismatch.

--
You received this message because you are subscribed to the Google
Group: "Washington, DC PHP Developers Group" - http://www.dcphp.net
To post, send email to washington-dcphp-group@googlegroups.com
To unsubscribe, send email to washington-dcphp-group+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/washington-dcphp-group?hl=en
---
You received this message because you are subscribed to the Google Groups "Washington, DC PHP Developers Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to washington-dcphp-group+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
You received this message because you are subscribed to the Google
Group: "Washington, DC PHP Developers Group" - http://www.dcphp.net
To post, send email to washington-dcphp-group@googlegroups.com
To unsubscribe, send email to washington-dcphp-group+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/washington-dcphp-group?hl=en
---
You received this message because you are subscribed to the Google Groups "Washington, DC PHP Developers Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to washington-dcphp-group+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 comments:

Post a Comment