Hi,<div><br></div><div> I opened the wsdl doc in my browser and then 'save as' to put the Provisioning.wsdl local. Once the wsdl is local to the webserver and wsdl2phpgenerator1.4.1-php5.3 directory, I run:  sudo ./wsdl2php -i Provisioning.wsdl -o outputdirectory/</div>
<div><br></div><div> This way there is no auth required as WSDL auth is handled by apache2 mod_auth for oss-bss in spce.</div><div><br></div><div> I have since ran this generator against bing search api ( ./wsdl2php -i 
<a href="http://api.search.live.net/search.wsdl">http://api.search.live.net/search.wsdl</a> -o outputdirectory/) and it works, creating all classes in separate php files for include. Though the classes created are a bit over my head to understand how they would be used. </div>
<div><br></div><div> Google indicates that the <document> error is because the Provisioning.wsdl is built from wsdl-viewer possibly (<a href="http://tomi.vanek.sk/index.php?page=wsdl-viewer">http://tomi.vanek.sk/index.php?page=wsdl-viewer</a>). So, the <xsd:tag> is not present in Provisioning.wsdl for this generator to find.</div>
<div><br></div><div><br></div><div>Skyler</div><div><br><div class="gmail_quote">On Fri, Jun 29, 2012 at 8:12 AM, Vladimir Grujic <span dir="ltr"><<a href="mailto:hyperbabac@gmail.com" target="_blank">hyperbabac@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Hi,<br>
Where did you put authentication credentials?</p>
<p>Vladimir</p>
<div class="gmail_quote"><div><div class="h5">On Jun 28, 2012 5:46 PM, "Skyler" <<a href="mailto:skchopperguy@gmail.com" target="_blank">skchopperguy@gmail.com</a>> wrote:<br type="attribution"></div></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi,<div><br></div><div> I came across wsdl2phpgenerator1.4.1-php5.3 and thought to try it out and see what it can do. However, I can't seem to figure out how to get past this error below. Has anyone seen this kind of error before? Any ideas on what I could try out in order to overcome this? </div>


<div><br></div><div><div>skyler@www1:/var/www/public_html/wsdl2phpgenerator1.4.1-php5.3$ sudo ./wsdl2php -i Provisioning.wsdl -o outputdirectory/ -s</div><div>PHP Fatal error:  SOAP-ERROR: Parsing Schema: unexpected <documentation> in complexType in /var/www/public_html/wsdl2phpgenerator1.4.1-php5.3/src/Generator.php on line 132</div>


<div>PHP Fatal error:  Uncaught exception 'wsdl2php\Exception' with message 'Error connectiong to to the wsdl. Error: SOAP-ERROR: Parsing Schema: unexpected <documentation> in complexType' in /var/www/public_html/wsdl2phpgenerator1.4.1-php5.3/src/Generator.php:136</div>


<div>Stack trace:</div><div>#0 /var/www/public_html/wsdl2phpgenerator1.4.1-php5.3/src/Generator.php(115): wsdl2php\Generator->load()</div><div>#1 /var/www/public_html/wsdl2phpgenerator1.4.1-php5.3/generate.php(163): wsdl2php\Generator->generate(Object(wsdl2php\Config))</div>


<div>#2 /var/www/public_html/wsdl2phpgenerator1.4.1-php5.3/wsdl2php(4): require_once('/var/www/public...')</div><div>#3 {main}</div><div>  thrown in /var/www/public_html/wsdl2phpgenerator1.4.1-php5.3/src/Generator.php on line 136</div>


</div><div><br></div><div>Thanks,</div><div>Skyler</div>
<br></div></div>_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">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>
<br></blockquote></div>
</blockquote></div><br></div>