Zend_Soap_AutoDiscover bug

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Zend_Soap_AutoDiscover bug

Ing. Omar Antonio Díaz Peña
Hi:

 

I’m traying to publish a WSDL-based WebService using Zend_Soap_AutoDiscover,
I’ve made my own class and managed the requests for making all works well
but when I’m trying to use this WS from another PHP application I receive
this error: “SOAP-ERROR: Parsing WSDL: Couldn't load from
'http://localhost/architecture/applications/security/public/ws/Security.php?
wsdl' : Extra content at the end of the document”. The most estrange part is
its only happens in Windows platform because I’ve tested the same code in
Ubuntu Server and works as I expect.

 

Excuse me for my English.

 

Regards

Omar

 

Reply | Threaded
Open this post in threaded view
|

Re: Zend_Soap_AutoDiscover bug

RQuadling
2011/3/5 Ing. Omar Antonio Díaz Peña <[hidden email]>:

> Hi:
>
>
>
> I’m traying to publish a WSDL-based WebService using Zend_Soap_AutoDiscover,
> I’ve made my own class and managed the requests for making all works well
> but when I’m trying to use this WS from another PHP application I receive
> this error: “SOAP-ERROR: Parsing WSDL: Couldn't load from
> 'http://localhost/architecture/applications/security/public/ws/Security.php?
> wsdl' : Extra content at the end of the document”. The most estrange part is
> its only happens in Windows platform because I’ve tested the same code in
> Ubuntu Server and works as I expect.
>
>
>
> Excuse me for my English.
>
>
>
> Regards
>
> Omar
>
>
>
>

Can you provide a link to the live WSDL please? If you don't want to
do this on list, then off list for me is fine.

You can see from my posts on http://news.php.net/php.soap that I'll
help. And if I mess up, please be shout about it. Conversely, if I
help ...

Richard.

--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
Reply | Threaded
Open this post in threaded view
|

AW: [fw-webservices] Zend_Soap_AutoDiscover bug

Thorsten Ruf
Hi Omar,

can you see the "extra content" by requesting the wsdl file directly?
http://localhost/architecture/applications/security/public/ws/Security.php?wsdl

How do you call the Webservice? Native SoapClient or with Zend_Soap?

Maybe this bugreport describes your problem: http://bugs.php.net/bug.php?id=48216 (Read the user comments).

Like Richard already wrote, we need more info to help.

Regards,
Thorsten Ruf

> -----Ursprüngliche Nachricht-----
> Von: Richard Quadling [mailto:[hidden email]]
> Gesendet: Mittwoch, 9. März 2011 14:07
> An: Ing. Omar Antonio Díaz Peña
> Cc: [hidden email]
> Betreff: Re: [fw-webservices] Zend_Soap_AutoDiscover bug
>
> 2011/3/5 Ing. Omar Antonio Díaz Peña <[hidden email]>:
> > Hi:
> >
> >
> >
> > I’m traying to publish a WSDL-based WebService using
> Zend_Soap_AutoDiscover,
> > I’ve made my own class and managed the requests for making all works
> well
> > but when I’m trying to use this WS from another PHP application I
> receive
> > this error: “SOAP-ERROR: Parsing WSDL: Couldn't load from
> >
> 'http://localhost/architecture/applications/security/public/ws/Security
> .php?
> > wsdl' : Extra content at the end of the document”. The most estrange
> part is
> > its only happens in Windows platform because I’ve tested the same
> code in
> > Ubuntu Server and works as I expect.
> >
> >
> >
> > Excuse me for my English.
> >
> >
> >
> > Regards
> >
> > Omar
> >
> >
> >
> >
>
> Can you provide a link to the live WSDL please? If you don't want to
> do this on list, then off list for me is fine.
>
> You can see from my posts on http://news.php.net/php.soap that I'll
> help. And if I mess up, please be shout about it. Conversely, if I
> help ...
>
> Richard.
>
> --
> Richard Quadling
> Twitter : EE : Zend
> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY