Hi Matt,

I've found the problem! It appears that the PHP5 WSDL parser is a little
more flexible than the FLEX one :) The port binding (inside the service tag)
was missing a namespace id (tns). The PHP5 client didn't have a problem with
that. After I added the namespace id, everything worked fine in PHP5 _and_
FLEX.

Regards,

Jan L. Nauta

> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Matt Chotin
> Sent: Friday, January 27, 2006 08:26
> To: [email protected]
> Subject: RE: [flexcoders] WebService: SOAP and PHP5 on Apache
> 
> I'll forward this testcase on internally.  Unfortunately I'm not sure if
> we have any PHP servers set up right now for testing, but I'll see if I
> can get it into the 2.0 testcases.  Not a short-term help I know but
> we're pretty headsdown on getting the beta out the door.
> 
> If someone else knows what's going on please feel free to jump in.
> 
> Matt
> 
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Jan L. Nauta
> Sent: Thursday, January 26, 2006 5:13 AM
> To: [email protected]
> Subject: RE: [flexcoders] WebService: SOAP and PHP5 on Apache
> 
> Hi Matt,
> 
> The WSDL and the server are part of a PHP SOAP example:
> 
> http://www.zend.com/php5/articles/php5-SOAP.php
> 
> I've used server1.php and tested with client3.php, that worked. Then
> tried
> to point a Flex 2 mx:WebService to the url, but no luck...
> 
> Regards,
> 
> Jan L. Nauta
> 
> > -----Original Message-----
> > From: [email protected] [mailto:[EMAIL PROTECTED]
> On
> > Behalf Of Matt Chotin
> > Sent: Thursday, January 26, 2006 05:10
> > To: [email protected]
> > Subject: RE: [flexcoders] WebService: SOAP and PHP5 on Apache
> >
> > Might be a bug in our parser.  I don't know much about PHP web
> services,
> > do you control whether it's RPC style or doc-lit?  If you can try RPC
> > style.  Otherwise we'll need to see the WSDL to see if we can
> reproduce.
> >
> > Matt
> >
> > -----Original Message-----
> > From: [email protected] [mailto:[EMAIL PROTECTED]
> On
> > Behalf Of Jan L. Nauta
> > Sent: Monday, January 23, 2006 5:52 AM
> > To: [email protected]
> > Subject: [flexcoders] WebService: SOAP and PHP5 on Apache
> >
> > Hi,
> >
> > I'm trying to get a simple <mx:WebService> to work in Flex 2.0. The
> > WebService is written in PHP5 and runs on Apache, nothing fancy, only
> a
> > single function is exported for test purposes. I can access the server
> > from
> > php (i.e. a client script can communicate with a server script using
> > SOAP),
> > but all I get from Flash is "Error: The WSDL parser has no registered
> > document for the namespace ''".
> >
> > 1) my Flex app _can_ communicate with other SOAP servers, tested with
> > the
> > restaurant example.
> > 2) my SOAP server _can_ communicate with a PHP soap client.
> >
> > What is going wrong here? Any clues are greatly appreciated.
> >
> > Regards,
> >
> > Jan L. Nauta
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to