<div>Hrmm, its always the simplest solutions that get overlooked. Thanks Daniel, removal of the <document> tags worked perfectly.</div><div><br></div><div>Skyler<br><br><div class="gmail_quote">On Sat, Jun 30, 2012 at 5:35 AM, Daniel Tiefnig <span dir="ltr"><<a href="mailto:dtiefnig@sipwise.com" target="_blank">dtiefnig@sipwise.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 06/30/2012 03:34 AM, Skyler wrote:<br>
> Hi,<br>
<br>
Hej!<br>
<div class="im"><br>
> Google indicates that the <document> error is because the<br>
> Provisioning.wsdl is built from wsdl-viewer possibly<br>
> (<a href="http://tomi.vanek.sk/index.php?page=wsdl-viewer" target="_blank">http://tomi.vanek.sk/index.php?page=wsdl-viewer</a>). So, the <xsd:tag><br>
> is not present in Provisioning.wsdl for this generator to find.<br>
<br>
</div>The error is IMHO caused by a bug in the PHP5 WSDL implementation. The<br>
<documentation> tags should be fine according to the WSDL specification:<br>
<a href="http://www.w3.org/TR/wsdl#_documentation" target="_blank">http://www.w3.org/TR/wsdl#_documentation</a><br>
<br>
A simple solution, as you're saving the WSDL to a local file anyway<br>
would be to strip the documentation elements from the file:<br>
<br>
perl -i -0777 -ple's/\s*<documentation>.+?<\/documentation>//sg'<br>
Provisioning.wsdl<br>
<br>
br,<br>
daniel<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
<a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
</div></div></blockquote></div><br></div>